問題
|
可能的解決方案
|
---|---|
部署 thingworx.war 時出現問題
|
核對 ThingworxStorage/extensions/web-inf 資料夾是否包含授權物件庫 (DLL 檔案)。
|
部署 ThingWorx 時出現下列錯誤訊息:
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 |
必須增加 Tomcat web.xml 檔案中的最大檔案大小 (預設值為 50MB)。此檔案位在:
<path to Tomcat>\Apache Software Foundation\Tomcat 8.5\webapps\manager\WEB-INF
1. 開啟web.xml
2. 將最大檔案大小與最大請求大小變更為 104857600。
3. 儲存並關閉檔案。
4. 重新啟動 Tomcat。
|
當您匯入 PTC 授權的延伸功能時出現下列錯誤訊息:
is licensed but cannot find feature in license.bin
file |
|
嘗試部署 ThingWorx 時出現下列錯誤訊息:
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) |
在解除 ThingWorx 部署之前,從 Tomcat 的 Java 組態移除 -Djava.library.path。
|
ConfigurationLog.log 中顯示類似如下所示的錯誤訊息:
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 |
記錄檔訊息會核對授權檔案是否存在問題。
|
平台啟動時,會顯示類似如下所示的錯誤訊息:
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. |
授權檔案可能已在瀏覽器中開啟、編輯或儲存。再次下載授權檔案,將其重新命名為 license_capability_response.bin,並置於 ThingworxPlatform 資料夾中,而不進行編輯或儲存。
|