Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello All,
i'm trying to install thingworx 7.4.1.0 on my local machine.
but i'm facing an issue to start thingworx over tomcat.
i checked the logs and found the below issue.
"
11-Jul-2017 13:12:30.049 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] 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.
11-Jul-2017 13:12:46.032 INFO [Thread-4] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-80"]
11-Jul-2017 13:12:46.815 INFO [Thread-4] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-80"]
11-Jul-2017 13:12:46.816 INFO [Thread-4] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
"
so any one can help regarding this issue ?
thanks in advance.
Mohamed.
Message was edited by: Sushant Pandey moving to Developer Community
Hi Mohamed, is this complete log, because its only showing INFO there are no errors. What happens when you attempt to access <serverName>:<port>/Thingworx ? could you share that
Hi Sushant,
please find the complete logs as below when trying to start thingworx from my browser:-
11-Jul-2017 13:10:31.096 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M22
11-Jul-2017 13:10:31.100 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 21 2017 09:44:18 UTC
11-Jul-2017 13:10:31.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.0.0
11-Jul-2017 13:10:31.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
11-Jul-2017 13:10:31.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
11-Jul-2017 13:10:31.101 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
11-Jul-2017 13:10:31.102 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jre1.8.0_111
11-Jul-2017 13:10:31.102 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_111-b14
11-Jul-2017 13:10:31.102 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
11-Jul-2017 13:10:31.102 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 9.0
11-Jul-2017 13:10:31.102 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 9.0
11-Jul-2017 13:10:31.102 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 9.0
11-Jul-2017 13:10:31.103 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 9.0
11-Jul-2017 13:10:31.103 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 9.0\temp
11-Jul-2017 13:10:31.103 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
11-Jul-2017 13:10:31.103 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf\logging.properties
11-Jul-2017 13:10:31.103 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dserver -Dd64
11-Jul-2017 13:10:31.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseG1GC
11-Jul-2017 13:10:31.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF-8
11-Jul-2017 13:10:31.104 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
11-Jul-2017 13:10:31.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\Apache Software Foundation\Tomcat 9.0\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 (x86)\Enterprise Vault\EVClient\;c:\Program Files (x86)\Enterprise Vault\EVClient\x64\;C:\Program Files (x86)\Symantec\VIP Access Client\;C:\Program Files\nodejs\;;.]
11-Jul-2017 13:10:31.405 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-80"]
11-Jul-2017 13:10:31.643 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Jul-2017 13:10:31.645 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-80"]
11-Jul-2017 13:10:31.647 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[AJP/1.3-80]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:935)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:530)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:852)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.startup.Catalina.load(Catalina.java:608)
at org.apache.catalina.startup.Catalina.load(Catalina.java:631)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.apache.tomcat.util.net.NioEndpoint.initServerSocket(NioEndpoint.java:227)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:202)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:950)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:573)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:932)
... 13 more
11-Jul-2017 13:10:31.649 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1136 ms
11-Jul-2017 13:10:31.692 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
11-Jul-2017 13:10:31.692 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M22
11-Jul-2017 13:10:31.702 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs]
11-Jul-2017 13:10:32.148 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs] has finished in [446] ms
11-Jul-2017 13:10:32.149 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager]
11-Jul-2017 13:10:32.227 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager] has finished in [79] ms
11-Jul-2017 13:10:32.227 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT]
11-Jul-2017 13:10:32.259 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT] has finished in [32] ms
11-Jul-2017 13:10:32.263 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-80"]
11-Jul-2017 13:10:32.288 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 639 ms
11-Jul-2017 13:12:02.303 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\Thingworx.war]
11-Jul-2017 13:12:30.049 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] 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.
11-Jul-2017 13:12:46.032 INFO [Thread-4] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-80"]
11-Jul-2017 13:12:46.815 INFO [Thread-4] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-80"]
11-Jul-2017 13:12:46.816 INFO [Thread-4] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
I see you are using Tomcat 9.0. As ThingWorx recommends using Tomcat 8.x, can you please try deploying ThingWorx in Tomcat 8?
Hi Mohamed,
i wonder what kind of problem are you facing? tomcat wont start? or auto stopped? or thingworx cannot deploy? or what? please specify the symptoms.
maybe i can help a bit.
Please use
I am also getting the similar error while deploying ThingWorx 8.0 war on Tomcat 8.5.20
Is that root cause ?