7 Replies Latest reply on Oct 4, 2017 5:25 AM by kjung RSS
    kjung Newbie

    Thingworx Installation Troubleshoot(Logfiles attached)

    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:

    Apache Tomcat/8.5.23

    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.

      • Re: Thingworx Installation Troubleshoot(Logfiles attached)
        supandey Collaborator

        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.

          • Re: Thingworx Installation Troubleshoot(Logfiles attached)
            kjung Newbie

            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]

            • Re: Thingworx Installation Troubleshoot(Logfiles attached)
              kjung Newbie

              Also, I did try using Tomcat 9 but I am currently using Tomcat 8.5

              • Re: Thingworx Installation Troubleshoot(Logfiles attached)
                kjung Newbie

                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