Problem
|
Mögliche Lösung
|
---|---|
Problem beim Bereitstellen von thingworx.war
|
Überprüfen Sie, ob der Ordner ThingworxStorage/extensions/web-inf die Lizenzierungsbibliotheken (DLL-Dateien) enthält.
|
Die folgende Fehlermeldung wird angezeigt, wenn Sie ThingWorx bereitstellen:
org.apache.catalina.core.ApplicationContext.log
HTMLManager: FAIL - Deploy Upload Failed, Exception: org.apache.tomcat.util.http.fileupload. FileUploadBase$SizeLimitExceededException: the request was rejected because its size (90883556) exceeds the configured maximum (52437800) java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase $SizeLimitExceededException: the request was rejected because its size (90883556) exceeds the configured maximum (52437800) at org.apache.catalina.connector.Request. parseParts(Request.java:2871 |
Die maximale Dateigröße in der Tomcat-Datei web.xml muss erhöht werden (Standardeinstellung ist 50 MB). Diese Datei befindet sich unter:
<path to Tomcat>\Apache Software Foundation\Tomcat 8.5\webapps\manager\WEB-INF
1. Öffnen Sie web.xml.
2. Ändern Sie die maximale Dateigröße und die maximale Anforderungsgröße in 104857600.
3. Speichern und schließen Sie die Datei.
4. Starten Sie Tomcat neu.
|
Die folgende Fehlermeldung wird angezeigt, wenn Sie eine Erweiterung mit PTC Lizenz importieren:
is licensed but cannot find feature in license.bin
file |
Gehen Sie zum Bereich "Lizenzen verwalten" auf der PTC Support Website, um die korrekte Lizenzdatei zu bestätigen, die Ihrer Berechtigung entspricht. Wenn Sie weitere Hilfe mit Ihren Lizenzen benötigen, wenden Sie sich an das Lizenzverwaltungsteam.
|
Die folgende Fehlermeldung wird angezeigt, wenn Sie versuchen, die Bereitstellung von ThingWorx aufzuheben:
FAIL - Unable to delete [<path to Tomcat>\webapps\
Thingworx]. The continued presence of this file may cause problems. Due to FlxCore64.dll (<path to Tomcat>\webapps\Thingworx\WEB-INF\extensions\ FlxCore64.dll) |
Entfernen Sie -Djava.library.path aus der Tomcat-Java-Konfiguration, bevor Sie die Bereitstellung von ThingWorx aufheben.
|
Eine Fehlermeldung ähnlich der folgenden wird in der Datei ConfigurationLog.log angezeigt:
2017-03-10 05:56:07.097-0500 [L: ERROR] [O: ] [I: ]
[U: SuperUser] [S: ] [T: localhost-startStop-1] **********LICENSING ERROR ANALYSIS 2017-03-10 05:56:07.097-0500 [L: ERROR] [O: ] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] /Library/flexs is listed as a java.library.path but it does not exist. /Library/blah is listed as a java.library.path but it does not exist. /Library/zzz is listed as a java.library.path but it does not exist. No flx dll files found. Is the java.library.path set? 2017-03-10 05:56:07.097-0500 [L: ERROR] [O: ] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] **********END LICENSING ERROR ANALYIS |
Die Protokollmeldung überprüft, ob es ein Problem mit der Lizenzdatei gibt.
|
Während dem Starten der Plattform wird eine Fehlermeldung ähnlich der folgenden ausgegeben:
2017-06-12 11:33:59.204+0530 [L: ERROR]
[O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] [message: The size of provided data is incorrect.] 2017-06-12 11:33:59.205+0530 [L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ====================================== 2017-06-12 11:33:59.205+0530 [L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Invalid License file: /ThingworxPlatform\license.bin 2017-06-12 11:33:59.205+0530 [L: ERROR] [O: c.t.s.s.l.LicensingSubsystem] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ====================================== 2017-06-12 11:33:59.205+0530 [L: WARN] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Shutting down the Platform. |
Die Lizenzdatei wurde möglicherweise in einem Browser geöffnet, bearbeitet oder gespeichert. Laden Sie die Lizenzdatei erneut herunter, benennen Sie sie in license_capability_response.bin um, und platzieren Sie sie im Ordner ThingworxPlatform, ohne sie zu bearbeiten oder zu speichern.
|