Fehler „Nicht erkannte Option“ beim Versuch, Tomcat während des manuellen Installationsprozesses von ThingWorx zu starten
Betrifft
- ThingWorx Platform 8.4 to 9.1
- Apache Tomcat
- Oracle Java
Beschreibung
- Tomcat startet nach der ersten manuellen Installation, stürzt jedoch ab, sobald die ThingWorx-Anwendung bereitgestellt wird, aufgrund eines Fehlers im Zusammenhang mit definierten Java-Optionen
- Tomcat-Protokolle zeigen den Fehler „Nicht erkannte VM-Option“
[YYYY-MM-DD hh:mm:ss] [error] [ 8920] The system could not find the environment option that was entered. Unrecognized option: Djava.library.path=<path_to_Tomcat>\webapps\Thingworx\WEB-INF\extensions YYYY-MM-DD hh:mm:ss Commons Daemon procrun stderr initialized Unrecognized VM option 'UseG1GC ' Did you mean '(+/-)UseG1GC'? NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED Unrecognized VM option 'PrintGCTimeStamps' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
- Unter Windows schlägt der Start von Tomcat als Dienst fehl. Tomcat/logs/common-daemon.log hat
CreateJavaVM Failed with error [-1] The system could not find the environment option that was entered Failed to start Java ServiceStart returned 4. Run service finished