Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi,
I am trying to install Thingworx in my local system. I'm getting the following error while running the Tomcat and its dying after few seconds. Please help on this.
Below is the catalina error log:
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.26
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Aug 18 2015 11:38:37 UTC
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.26.0
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files (x86)\Java\jre1.8.0_131
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_131-b11
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: D:\Tomcat 8.0
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\Tomcat 8.0
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=D:\Tomcat 8.0\conf\logging.properties
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=D:\Tomcat 8.0\endorsed
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=D:\Tomcat 8.0
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\Tomcat 8.0
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\Tomcat 8.0\temp
09-Oct-2018 08:57:33.550 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jre1.8.0_131\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_144\bin;D:\PostgreSQL\9.4\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\Git\cmd;D:\HPE CoE Softwares\apache-maven-3.3.9\bin;C:\Program Files\nodejs\;D:\Tomcat 8.0\bin;D:\Tomcat 8.0\webapps\Thingworx\WEB-INF\extensions;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Program Files\Java\jdk1.8.0_144\bin;D:\PostgreSQL\9.4\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\Git\cmd;D:\HPE CoE Softwares\apache-maven-3.3.9\bin;C:\Users\mp00506647\AppData\Local\Programs\Python\Python35\Scripts\;C:\Users\mp00506647\AppData\Local\Programs\Python\Python35\;C:\Users\mp00506647\AppData\Local\Microsoft\WindowsApps;C:\Users\mp00506647\AppData\Local\Continuum\anaconda3\Scripts;C:\Users\mp00506647\AppData\Local\Continuum\anaconda3\Scripts\anaconda;C:\Users\mp00506647\AppData\Roaming\npm;C:\Users\mp00506647\AppData\Local\Microsoft\WindowsApps;D:\Tomcat 8.0\bin;D:\Tomcat 8.0\webapps\Thingworx\WEB-INF\extensions;;.
09-Oct-2018 08:57:35.373 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-9090"]
09-Oct-2018 08:57:35.794 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
09-Oct-2018 08:57:35.794 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-9009"]
09-Oct-2018 08:57:35.794 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
09-Oct-2018 08:57:35.794 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 3899 ms
09-Oct-2018 08:57:36.012 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
09-Oct-2018 08:57:36.012 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.26
09-Oct-2018 08:57:36.199 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive D:\Tomcat 8.0\webapps\Thingworx.war
09-Oct-2018 08:58:01.218 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
09-Oct-2018 14:34:15.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.26
09-Oct-2018 14:34:15.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Aug 18 2015 11:38:37 UTC
09-Oct-2018 14:34:15.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.26.0
09-Oct-2018 14:34:15.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
09-Oct-2018 14:34:15.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
09-Oct-2018 14:34:15.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86
09-Oct-2018 14:34:15.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files (x86)\Java\jre1.8.0_131
09-Oct-2018 14:34:15.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_131-b11
09-Oct-2018 14:34:15.088 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
09-Oct-2018 14:34:15.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: D:\Tomcat 8.0
09-Oct-2018 14:34:15.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\Tomcat 8.0
09-Oct-2018 14:34:15.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=D:\Tomcat 8.0\conf\logging.properties
09-Oct-2018 14:34:15.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
09-Oct-2018 14:34:15.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=D:\Tomcat 8.0\endorsed
09-Oct-2018 14:34:15.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=D:\Tomcat 8.0
09-Oct-2018 14:34:15.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\Tomcat 8.0
09-Oct-2018 14:34:15.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\Tomcat 8.0\temp
09-Oct-2018 14:34:15.104 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jre1.8.0_131\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_144\bin;D:\PostgreSQL\9.4\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\Git\cmd;D:\HPE CoE Softwares\apache-maven-3.3.9\bin;C:\Program Files\nodejs\;D:\Tomcat 8.0\bin;D:\Tomcat 8.0\webapps\Thingworx\WEB-INF\extensions;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\;C:\Program Files\Java\jdk1.8.0_144\bin;D:\PostgreSQL\9.4\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\Git\cmd;D:\HPE CoE Softwares\apache-maven-3.3.9\bin;C:\Users\mp00506647\AppData\Local\Programs\Python\Python35\Scripts\;C:\Users\mp00506647\AppData\Local\Programs\Python\Python35\;C:\Users\mp00506647\AppData\Local\Microsoft\WindowsApps;C:\Users\mp00506647\AppData\Local\Continuum\anaconda3\Scripts;C:\Users\mp00506647\AppData\Local\Continuum\anaconda3\Scripts\anaconda;C:\Users\mp00506647\AppData\Roaming\npm;C:\Users\mp00506647\AppData\Local\Microsoft\WindowsApps;D:\Tomcat 8.0\bin;D:\Tomcat 8.0\webapps\Thingworx\WEB-INF\extensions;;.
09-Oct-2018 14:34:15.260 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-9090"]
09-Oct-2018 14:34:15.416 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
09-Oct-2018 14:34:15.432 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-9009"]
09-Oct-2018 14:34:15.432 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
09-Oct-2018 14:34:15.432 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 702 ms
09-Oct-2018 14:34:15.463 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
09-Oct-2018 14:34:15.463 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.26
09-Oct-2018 14:34:15.494 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive D:\Tomcat 8.0\webapps\Thingworx.war
09-Oct-2018 14:34:29.589 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Solved! Go to Solution.
Hi @slangley
The issue is resolve.
I just uninstalled and installed it again. now its working fine.
Thank you so much for your help and support.
Thank you!!!
Hi @Meghana.
It looks like you may be running a 32-bit operating system. ThingWorx only runs on 64-bit. You will also need to install a 64-bit version of java once you get the o/s sorted.
Regards.
--Sharon
Hi @slangley
Thanks for your reply.
I'm using 64-bit OS and 64-bit Java.
I have attached the Application log file of ThingworxStorage.
Hi @Meghana.
Your application log indicates you are running 32-bit:
2018-10-09 08:58:02.916+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] OS: Windows 10
2018-10-09 08:58:02.916+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] OS arch: x86
2018-10-09 08:58:02.916+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] OS version: 10.0
2018-10-09 08:58:02.916+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Total Processors: 4
2018-10-09 08:58:02.916+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Default encoding: windows-1252
2018-10-09 08:58:02.916+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JAVA vendor: Oracle Corporation
2018-10-09 08:58:02.916+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JAVA version: 1.8.0_131
2018-10-09 08:58:02.916+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JAVA install location: C:\Program Files (x86)\Java\jre1.8.0_131
There are a few ways to check your o/s. One way is to run systeminfo from the command prompt. Here are the results of mine:
C:\>systeminfo
Host Name: <hostname>
OS Name: Microsoft Windows 7 Enterprise
OS Version: 6.1.7601 Service Pack 1 Build 7601
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
Registered Owner: Authorized User
Registered Organization: PTC
Product ID: <product_id>
Original Install Date: 8/22/2017, 9:15:00 AM
System Boot Time: 10/8/2018, 12:23:22 PM
System Manufacturer: Dell Inc.
System Model: Precision M4800
System Type: x64-based PC
To validate the java version, you can run: java -version as in this example from my machine:
C:\Java\jre1.8.0_92\bin>java -version
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)
Unfortunately, there is no 32-bit version of ThingWorx so it will be necessary for you to upgrade.
Regards.
--Sharon
Hi @slangley
Below are the results for your suggestion:
C:\Users\mp00506647>systeminfo
Host Name: INBAHRLP01222
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.16299 N/A Build 16299
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
Registered Owner: TechM_User
Registered Organization: Tech Mahindra Limited
Product ID: 00331-10000-00001-AA758
Original Install Date: 08/27/2018, 3:07:27 PM
System Boot Time: 10/10/2018, 4:37:17 PM
System Manufacturer: Dell Inc.
System Model: Latitude E5430 non-vPro
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 58 Stepping 9 GenuineIntel ~1200 Mhz
BIOS Version: Dell Inc. A12, 08/07/2013
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-us;English (United States)
Below is the result for java:
C:\Program Files\Java\jre1.8.0_144\bin>java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Hi @slangley
The issue is resolve.
I just uninstalled and installed it again. now its working fine.
Thank you so much for your help and support.
Thank you!!!
Hi @Meghana.
Glad you got it working. Since the log was showing that you were running 32-bit java, the next thing I was going to have you check was the Tomcat java settings:
The hi-lite above indicates the path for java. Since we often have multiple versions of java installed on our machines, it's possible that Tomcat was pointing to the wrong one.
Regards.
--Sharon
Hi @slangley
The suggestions from you were very helpful.
Thank you so much for your help.
Thanks & Regards
Meghana Patil
Hi @Meghana.
For the benefit of others in the Community and to close out this thread, it would be appreciated if you marked your post as the Accepted Solution.
Have a great day!
--Sharon