Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hello everyone,
I am having issue with Thingworx Installation.
I have literally been trying to install Thingworx for 3 days and still cannot figure a thing out.
I have tried almost everything that is posted on the developer community and have tried to reinstall everything over 30 times.
Here are details:
OS: Windows 10 Home 64bit
CPU: i5-6500
Mem: 16gb
Versions:
Thingworx-Platform-H2-8.0.0-b11
Java SE 8u144
JAVA option:
-Dserver -Dd64
-XX:+UseG1GC
-Dfile.encoding=UTF-8
-Djava.library.path=D:\Apache Software Foundation\Tomcat 8.0\webapps\Thingworx\WEB-INF\extensions
/* I am using (D:) for installation instead of (C:) because (C:) is a SSD(128gb) and I only use it for Windows. */
Below is the problem I am currently facing:
04-Oct-2017 14:46:33.433 SEVERE [localhost-startStop-2] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
04-Oct-2017 14:46:33.433 SEVERE [localhost-startStop-2] org.apache.catalina.core.StandardContext.startInternal Context [/Thingworx] startup failed due to previous errors
04-Oct-2017 14:46:33.748 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [D:\Apache Software Foundation\Tomcat 8.5\webapps\Thingworx.war] has finished in [44,593] ms
ntext.listenerStart(StandardContext.java:4745)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Here are things I have tried:
Tomcat 9
Tomcat 8.0.46
JAVA 7
Trying different versions simply led me to different problems.
I would appreciate any kind of help/advice.
Thank you everyone in advance.
P.S.
19. Go to the location of the Tomcat installation and open the server.xml file in the conf folder. For example, C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\server.xml
Replace HTTP/1.1 with protocol="org.apache.coyote.http11.Http11NioProtocol"
I believe this mean go to server.xml and remove <!-- and --> from
<!--
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true">
<SSLHostConfig>
<Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
type="RSA" />
</SSLHostConfig>
</Connector>
-->
This part. Please correct me if I am wrong.
Solved! Go to Solution.
Hi Kyujin, does ThingworxPlatform contain the logs? if yes could you check those and may be share the errors from those logs here? I think you are meeting the requirements, except on using Tomcat 9 which is not yet supported.
Hi Kyujin, does ThingworxPlatform contain the logs? if yes could you check those and may be share the errors from those logs here? I think you are meeting the requirements, except on using Tomcat 9 which is not yet supported.
Hello Sushant,
Thank you for a quick response.
The log folder in /ThingworxStorage is empty.
I have attached updated Tomcat8.5/logs. There are some changes.
stderr:
04-Oct-2017 14:46:33.748 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [D:\Apache Software Foundation\Tomcat 8.5\webapps\Thingworx.war] has finished in [44,593] ms
ntext.listenerStart(StandardContext.java:4745)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
stdout:
17:43:14.677 [localhost-startStop-1] ERROR c.t.system.ThingWorxBootstrapper - [message: The system cannot find the path specified]
java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method) ~[na:1.8.0_144]
at java.io.File.createNewFile(Unknown Source) ~[na:1.8.0_144]
at com.thingworx.platform.security.keystore.ThingworxKeyStore.createKeyStorePasswordFile(ThingworxKeyStore.java:87) ~[thingworx-platform-common-8.0.0-b11.jar:na]
at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:508) ~[thingworx-platform-common-8.0.0-b11.jar:na]
at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:803) ~[thingworx-platform-common-8.0.0-b11.jar:na]
at com.thingworx.system.ThingWorxBootstrapper.contextInitialized(ThingWorxBootstrapper.java:76) ~[thingworx-platform-common-8.0.0-b11.jar:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745) [catalina.jar:8.5.23]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207) [catalina.jar:8.5.23]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.23]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) [catalina.jar:8.5.23]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) [catalina.jar:8.5.23]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) [catalina.jar:8.5.23]
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988) [catalina.jar:8.5.23]
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860) [catalina.jar:8.5.23]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_144]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_144]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_144]
17:43:14.793 [localhost-startStop-1] ERROR E.c.t.s.a.HAAuthenticationFilter - Failed to initialize HA Authentication
java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method) ~[na:1.8.0_144]
at java.io.File.createNewFile(Unknown Source) ~[na:1.8.0_144]
at com.thingworx.platform.security.keystore.ThingworxKeyStore.createKeyStorePasswordFile(ThingworxKeyStore.java:87) ~[thingworx-platform-common-8.0.0-b11.jar:na]
at com.thingworx.system.configuration.PlatformSettings.<init>(PlatformSettings.java:508) ~[thingworx-platform-common-8.0.0-b11.jar:na]
at com.thingworx.system.configuration.PlatformSettings.getInstance(PlatformSettings.java:803) ~[thingworx-platform-common-8.0.0-b11.jar:na]
at com.thingworx.security.authentication.HAAuthenticationFilter.init(HAAuthenticationFilter.java:36) ~[thingworx-platform-common-8.0.0-b11.jar:na]
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285) [catalina.jar:8.5.23]
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266) [catalina.jar:8.5.23]
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) [catalina.jar:8.5.23]
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4591) [catalina.jar:8.5.23]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233) [catalina.jar:8.5.23]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.23]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) [catalina.jar:8.5.23]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) [catalina.jar:8.5.23]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) [catalina.jar:8.5.23]
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988) [catalina.jar:8.5.23]
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860) [catalina.jar:8.5.23]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_144]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_144]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_144]
Also, I did try using Tomcat 9 but I am currently using Tomcat 8.5
Hello Sushant,
I don't know why, but something magical happened.
All of a sudden, I managed to open ThingWorx Composer.
Thank you very much for your response.
kyujin
Wonderful! Though curious to know what was changed?
I am not sure.
I checked my logs to update the post and just gave it a try for the last time, then it just happened.
I am sorry I cannot explain it further.
Maybe I had to give some time for the computer to figure things out between installation and lauch.