문제
|
가능한 해결 방법
|
||
---|---|---|---|
ThingWorx에서 CORS(Cross Origin Resource Sharing)를 활성화하려면 어떻게 해야 합니까?
|
CORS를 활성화하면 도메인/웹 사이트에서 다른 서버에 배포된 ThingWorx 인스턴스로 요청할 수 있습니다. Apache Tomcat web.xml 파일을 업데이트하여 이를 수행할 수 있습니다. 자세한 프로세스 단계는 https://www.ptc.com/en/support/article?n=CS229450에서 확인할 수 있습니다.
|
||
Tomcat을 설치하고 Thingworx.war 파일을 배포한 후에는 Composer가 시작되지 않고 "404 오류: 응용 프로그램을 찾을 수 없음" 오류가 발생합니다.
|
• Composer에 액세스할 때 Tomcat의 적절한 포트가 사용되고 있는지 확인합니다.
• 프록시 서버 리디렉션을 확인합니다.
• Thingworx.war 파일과 <Tomcat 디렉터리>/webapps의 해당 폴더가 올바른 대/소문자로 되어 있는지 확인합니다(thingworx 또는 ThingWorx가 아닌 Thingworx여야 함).
• 액세스한 URL이 올바른 http://<서버>:<포트>/Thingworx인지 확인합니다(http://<서버>:<포트>/ThingWorx 아님).
• ThingWorx 설치 후 RHEL 환경에서 "404 페이지를 찾을 수 없음" 오류가 발생하는 경우 다음 단계도 확인합니다.
◦ /usr/lib/jvm/ 폴더에 JDK가 있는지 확인합니다. JDK가 없으면 Java, Apache Tomcat 및 ThingWorx 설치에 있는 Java 설치 단계를 따르십시오.
◦ JAVA_HOME 환경 변수에 JDK 경로가 있는지 확인합니다. 예를 들면 다음과 같습니다.
JAVA_HOME = /usr/lib/jvm/jdk1.8.144
|
||
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
|
PTC 지원 사이트의 라이선스 관리 섹션을 방문하여 권한과 일치하는 올바른 라이선스 파일을 확인합니다. 라이선스에 대해 추가 지원을 받으려면 라이선스 관리 팀에 문의하십시오.
|
||
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) |
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 폴더에 배치합니다.
|
||
라이선스가 생성되지 않고 다음 오류 메시지가 생성될 경우:
Caused by: java.lang.RuntimeException: Failed to create SecurityManager, Failed to load SecretProvider
at at com.thingworx.security.SecurityManagerBootstrapper.init(SecurityManagerBootstrapper.java:108) at at com.thingworx.security.SecurityManagerBootstrapper.init(SecurityManagerBootstrapper.java:74) at at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:1704) at at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:2597) at ... 62 common frames omitted |
Tomcat 사용자에게 ThingworxStorage 및 ThingworxPlatform 폴더에 대한 읽기 및 쓰기 권한이 있는지 확인합니다.
|