cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Tomcat shutdowns immediately

fsiviero
1-Newbie

Tomcat shutdowns immediately

Hi. I've an issue with initializing Thingworx with Tomcat

I had the Thingworx platform working for 7.0 with Tomcat but for no apparent reason to me it stopped working. Basically every time i click start on Tomcat after a few seconds it automatically stops. I've looked at the logs for tomcat and it never actually finishes deploying Thingworx.war. I've tried reinstalling everything again, Even deleted everything (including a Windows 10 refresh install) and started with 7.1 but I still have the same issue. I've tried deploying a standard java web app and it works flawlessly but everytime I add Thingworx.war to the webapps in Tomcat it just stops working. I've also set the permissions for full control over all the thingworx folders as well as tomcat to no avail.

Here is the log entry for my last try:

2016-05-23 15:25:26 Commons Daemon procrun stderr initialized

23-May-2016 15:25:27.079 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.35

23-May-2016 15:25:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          May 11 2016 21:57:08 UTC

23-May-2016 15:25:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.35.0

23-May-2016 15:25:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10

23-May-2016 15:25:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0

23-May-2016 15:25:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64

23-May-2016 15:25:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jre1.8.0_91

23-May-2016 15:25:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_91-b14

23-May-2016 15:25:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation

23-May-2016 15:25:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Program Files\Apache Software Foundation\Tomcat 8.0

23-May-2016 15:25:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\Program Files\Apache Software Foundation\Tomcat 8.0

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.0

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 8.0

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 8.0\endorsed

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.0\temp

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\logging.properties

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dserver -Dd64

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseNUMA

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseConcMarkSweepGC

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF-8

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms5g

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx5g

23-May-2016 15:25:27.081 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit

23-May-2016 15:25:27.081 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 8.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)\Skype\Phone\;C:\Program Files\Git\cmd;C:\Program Files\PostgreSQL\9.5\bin;.

23-May-2016 15:25:27.177 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]

23-May-2016 15:25:27.225 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

23-May-2016 15:25:27.227 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]

23-May-2016 15:25:27.228 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

23-May-2016 15:25:27.229 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 396 ms

23-May-2016 15:25:27.246 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

23-May-2016 15:25:27.246 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.35

23-May-2016 15:25:27.262 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\Thingworx.war

23-May-2016 15:25:29.217 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.

Can anyone please tell me if I'm missing something?

Thank you in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Aanjan
9-Granite
(To:fsiviero)

Francisco, this would likely point to changes in the Postgres configuration. Can you re-verify your Postgres install? Mainly from a configuration perspective, to check if the platform-settings.json file in \ThingworxPlatform has the right url and if the username/ password matches.

View solution in original post

11 REPLIES 11
Aanjan
9-Granite
(To:fsiviero)

Francisco, can you post your Application log from ThingworxStorage/ logs as well? On a side note, you might want to reduce your xms value from 5g to 256m or 512m, because you don't want the JVM to always start with and run at 5 gigs.

I had the 5g as seen in the installation of 7.1. I know it is too much to start but I was trying everything by the book

Looking at the Application Log I now realize there is some place where the ownership is not being properly set. I've tried the ThingworxPlatform folder as well as tomcat. I'll keep looking into it see if I missed something I'll get back to you. Thank you for your quick reply.

I'll leave here the log anyway in case you spot something else:

2016-05-23 17:00:25.627+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2016-05-23 17:00:25.628+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ThingWorx Version Information

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] majorVersion = 7

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] minorVersion = 1

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] revision = 1

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] build = b24

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] schemaVersion = 910

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ThingWorx System Environment Settings

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] OS: Windows 10

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] OS arch: amd64

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] OS version: 10.0

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Total Processors: 8

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Default encoding: UTF-8

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JAVA vendor: Oracle Corporation

2016-05-23 17:00:25.629+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JAVA version: 1.8.0_91

2016-05-23 17:00:25.630+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JAVA install location: C:\Program Files\Java\jre1.8.0_91

2016-05-23 17:00:25.630+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JVM Max Memory: 247 (MB)

2016-05-23 17:00:25.630+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2016-05-23 17:00:25.630+0100 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] WebApp starting...

2016-05-23 17:00:25.889+0100 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] HA mode not enabled. Initializing and starting in standalone mode.

2016-05-23 17:00:25.889+0100 [L: INFO] [O: c.t.s.ThingWorxPersistenceHandler] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Default Persistence Provider Name = ThingworxPersistenceProvider

2016-05-23 17:00:25.889+0100 [L: INFO] [O: c.t.s.ThingWorxPersistenceHandler] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Default Persistence Provider Package Name = PostgresPersistenceProviderPackage

2016-05-23 17:00:25.899+0100 [L: INFO] [O: c.t.p.p.PostgresDatasource] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Reading configuration from configTableCol

2016-05-23 17:00:26.098+0100 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Managers...INITIALIZED

2016-05-23 17:00:26.102+0100 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Database initialization started...

2016-05-23 17:00:26.356+0100 [L: INFO] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] System ownership locking started...

2016-05-23 17:00:26.368+0100 [L: ERROR] [O: c.t.p.p.PostgresDocumentModelDriver$SystemDocumentModelInformation] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Platform being shut down because System Ownership can not be acquired.

2016-05-23 17:00:26.369+0100 [L: WARN] [O: c.t.s.ThingWorxServer] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Shutting down the Platform.

Aanjan
9-Granite
(To:fsiviero)

Francisco, this would likely point to changes in the Postgres configuration. Can you re-verify your Postgres install? Mainly from a configuration perspective, to check if the platform-settings.json file in \ThingworxPlatform has the right url and if the username/ password matches.

View solution in original post

That was exactly what it was, thank you very much for your help and patience.

Aanjan
9-Granite
(To:fsiviero)

No problem, glad to see it resolved quickly!

Spandana here

Even i am unable to deploy thingworx.war file in tomcat8.0

Below are My log files

catalina.2017-03-01

=================

01-Mar-2017 12:03:19.399 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.41

01-Mar-2017 12:03:19.500 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jan 18 2017 22:19:39 UTC

01-Mar-2017 12:03:19.500 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.41.0

01-Mar-2017 12:03:19.500 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 7

01-Mar-2017 12:03:19.500 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.1

01-Mar-2017 12:03:19.500 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64

01-Mar-2017 12:03:19.500 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jre1.8.0_121

01-Mar-2017 12:03:19.500 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_121-b13

01-Mar-2017 12:03:19.500 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation

01-Mar-2017 12:03:19.501 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Program Files\Apache Software Foundation\Tomcat 8.0

01-Mar-2017 12:03:19.501 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\Program Files\Apache Software Foundation\Tomcat 8.0

01-Mar-2017 12:03:19.501 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.0

01-Mar-2017 12:03:19.501 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 8.0

01-Mar-2017 12:03:19.501 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 8.0\endorsed

01-Mar-2017 12:03:19.501 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.0\temp

01-Mar-2017 12:03:19.501 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

01-Mar-2017 12:03:19.501 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\logging.properties

01-Mar-2017 12:03:19.501 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit

01-Mar-2017 12:03:19.501 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m

01-Mar-2017 12:03:19.502 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m

01-Mar-2017 12:03:19.502 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 8.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)\Microsoft Application Virtualization Client;C:\Users\bavithraa.m\AppData\Local\Programs\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program Files\Citrix\System32\;C:\Program Files\Citrix\ICAService\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;;.

01-Mar-2017 12:03:20.369 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]

01-Mar-2017 12:03:20.705 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

01-Mar-2017 12:03:20.753 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]

01-Mar-2017 12:03:20.753 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

01-Mar-2017 12:03:20.753 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 3050 ms

01-Mar-2017 12:03:20.848 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

01-Mar-2017 12:03:20.848 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.41

01-Mar-2017 12:03:20.872 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\docs

01-Mar-2017 12:03:22.110 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\docs has finished in 1,239 ms

01-Mar-2017 12:03:22.110 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager

01-Mar-2017 12:03:22.223 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager has finished in 113 ms

01-Mar-2017 12:03:22.223 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT

01-Mar-2017 12:03:22.285 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT has finished in 62 ms

01-Mar-2017 12:03:22.332 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]

01-Mar-2017 12:03:22.348 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]

01-Mar-2017 12:03:22.379 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 1614 ms

01-Mar-2017 15:22:01.259 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.

01-Mar-2017 15:22:01.275 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]

01-Mar-2017 15:22:01.449 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]

01-Mar-2017 15:22:01.511 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina

01-Mar-2017 15:22:01.745 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]

01-Mar-2017 15:22:01.870 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]

01-Mar-2017 15:22:01.963 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]

01-Mar-2017 15:22:01.963 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]

========================================================================

ApplicationLog.log  file:-

2017-03-01 15:35:11.067+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] ========================================

2017-03-01 15:35:11.069+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] ThingWorx Version Information

2017-03-01 15:35:11.069+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] ========================================

2017-03-01 15:35:11.069+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] majorVersion = 7

2017-03-01 15:35:11.069+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] minorVersion = 3

2017-03-01 15:35:11.069+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] revision = 0

2017-03-01 15:35:11.070+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] build = b51

2017-03-01 15:35:11.070+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] schemaVersion = 931

2017-03-01 15:35:11.070+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] ========================================

2017-03-01 15:35:11.088+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] ========================================

2017-03-01 15:35:11.089+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] ThingWorx System Environment Settings

2017-03-01 15:35:11.089+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] ========================================

2017-03-01 15:35:11.089+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] OS: Windows 7

2017-03-01 15:35:11.095+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] OS arch: amd64

2017-03-01 15:35:11.095+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] OS version: 6.1

2017-03-01 15:35:11.106+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] Total Processors: 2

2017-03-01 15:35:11.106+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] Default encoding: windows-1252

2017-03-01 15:35:11.106+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] JAVA vendor: Oracle Corporation

2017-03-01 15:35:11.106+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] JAVA version: 1.8.0_121

2017-03-01 15:35:11.106+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] JAVA install location: C:\Program Files\Java\jdk1.8.0_121\jre

2017-03-01 15:35:11.106+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] JVM Max Memory: 885 (MB)

2017-03-01 15:35:11.106+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] ========================================

2017-03-01 15:35:11.106+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] WebApp starting...

2017-03-01 15:35:11.106+0530 [L: WARN] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] Please note.  Default character is set to Cp1252.  It should be [UTF-8]. Please use the VM argument [-Dfile.encoding=UTF-8] in your application server startup script

2017-03-01 15:35:45.709+0530 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2]

2017-03-01 15:35:45.709+0530 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-2] *** Web Application STATE is being set to ERROR! ***

2017-03-01 15:39:46.344+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: http-nio-8080-exec-9] WebApp stopping:

2017-03-01 15:39:46.345+0530 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: http-nio-8080-exec-9] ThingWorx Web Application STATE is in ERROR, so normal shutdown logic may fail!

2017-03-01 15:39:47.029+0530 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: http-nio-8080-exec-9] Error getting ApplicationContext: {}null

2017-03-01 15:46:15.826+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2017-03-01 15:46:15.826+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ThingWorx Version Information

2017-03-01 15:46:15.826+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2017-03-01 15:46:15.826+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] majorVersion = 7

2017-03-01 15:46:15.841+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] minorVersion = 3

2017-03-01 15:46:15.841+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] revision = 0

2017-03-01 15:46:15.841+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] build = b51

2017-03-01 15:46:15.841+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] schemaVersion = 931

2017-03-01 15:46:15.841+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2017-03-01 15:46:15.841+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2017-03-01 15:46:15.841+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ThingWorx System Environment Settings

2017-03-01 15:46:15.841+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2017-03-01 15:46:15.841+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] OS: Windows 7

2017-03-01 15:46:15.857+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] OS arch: amd64

2017-03-01 15:46:15.857+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] OS version: 6.1

2017-03-01 15:46:15.857+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Total Processors: 2

2017-03-01 15:46:15.857+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Default encoding: windows-1252

2017-03-01 15:46:15.857+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JAVA vendor: Oracle Corporation

2017-03-01 15:46:15.857+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JAVA version: 1.8.0_121

2017-03-01 15:46:15.857+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JAVA install location: C:\Program Files\Java\jdk1.8.0_121\jre

2017-03-01 15:46:15.857+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] JVM Max Memory: 885 (MB)

2017-03-01 15:46:15.857+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ========================================

2017-03-01 15:46:15.857+0530 [L: INFO] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] WebApp starting...

2017-03-01 15:46:15.857+0530 [L: WARN] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Please note.  Default character is set to Cp1252.  It should be [UTF-8]. Please use the VM argument [-Dfile.encoding=UTF-8] in your application server startup script

2017-03-01 15:46:45.471+0530 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1]

2017-03-01 15:46:45.471+0530 [L: ERROR] [O: c.t.s.ThingWorxBootstrapper] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] *** Web Application STATE is being set to ERROR! ***

=================================

Please help to resolver this issue

cmorfin
19-Tanzanite
(To:sdaram)

Hi Spandana

From teh error it seems there is an issue with the character set.

Could you double check that the UTF-8 character set is in place as per the installation guide ?

See http://support.ptc.com/WCMS/files/172180/en/Installing_ThingWorx_7.3_1.pdf, you can search for UTF-8 in this file, you can find the relevant setting depending on your platform.

Hope this helps

Kind regards

Christophe

Hi Christophe Morfin,

Thanks for your quick reply,

I have tried modifying UTF-8 character set settings as you mentioned but problem still persist. Unable to deploy thinworx.war file in tomcat. here i am providing my log file.

catalina.2017-03-02

====================

02-Mar-2017 12:10:18.194 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.41

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jan 18 2017 22:19:39 UTC

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.41.0

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 7

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.1

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jre1.8.0_121

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_121-b13

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Program Files\Apache Software Foundation\Tomcat 8.0

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\Program Files\Apache Software Foundation\Tomcat 8.0

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.0

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 8.0

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 8.0\endorsed

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.0\temp

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\logging.properties

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m

02-Mar-2017 12:10:18.287 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m

02-Mar-2017 12:10:18.287 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 8.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)\Microsoft Application Virtualization Client;C:\Users\bavithraa.m\AppData\Local\Programs\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program Files\Citrix\System32\;C:\Program Files\Citrix\ICAService\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;;.

02-Mar-2017 12:10:19.130 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]

02-Mar-2017 12:10:19.769 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

02-Mar-2017 12:10:19.769 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]

02-Mar-2017 12:10:19.769 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

02-Mar-2017 12:10:19.769 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 3267 ms

02-Mar-2017 12:10:19.832 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

02-Mar-2017 12:10:19.832 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.41

02-Mar-2017 12:10:19.847 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\docs

02-Mar-2017 12:10:20.502 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\docs has finished in 655 ms

02-Mar-2017 12:10:20.502 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager

02-Mar-2017 12:10:20.565 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager has finished in 63 ms

02-Mar-2017 12:10:20.565 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT

02-Mar-2017 12:10:20.596 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT has finished in 31 ms

02-Mar-2017 12:10:20.612 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]

02-Mar-2017 12:10:20.643 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]

02-Mar-2017 12:10:20.643 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 873 ms

02-Mar-2017 12:15:55.699 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]

02-Mar-2017 12:15:55.793 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]

02-Mar-2017 12:15:55.855 INFO [Thread-6] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina

02-Mar-2017 12:15:56.058 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]

02-Mar-2017 12:15:56.136 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]

02-Mar-2017 12:16:15.813 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.41

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jan 18 2017 22:19:39 UTC

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.41.0

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 7

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.1

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jre1.8.0_121

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_121-b13

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Program Files\Apache Software Foundation\Tomcat 8.0

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\Program Files\Apache Software Foundation\Tomcat 8.0

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.0

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 8.0

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 8.0\endorsed

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.0\temp

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\logging.properties

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dserver -Dd64

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseG1GC

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF-8

02-Mar-2017 12:16:15.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit

02-Mar-2017 12:16:15.828 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 8.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)\Microsoft Application Virtualization Client;C:\Users\bavithraa.m\AppData\Local\Programs\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program Files\Citrix\System32\;C:\Program Files\Citrix\ICAService\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;;.

02-Mar-2017 12:16:16.156 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]

02-Mar-2017 12:16:16.345 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

02-Mar-2017 12:16:16.345 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]

02-Mar-2017 12:16:16.361 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

02-Mar-2017 12:16:16.361 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1100 ms

02-Mar-2017 12:16:16.408 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

02-Mar-2017 12:16:16.408 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.41

02-Mar-2017 12:16:16.423 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\docs

02-Mar-2017 12:16:16.829 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\docs has finished in 406 ms

02-Mar-2017 12:16:16.829 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager

02-Mar-2017 12:16:16.930 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager has finished in 101 ms

02-Mar-2017 12:16:16.931 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT

02-Mar-2017 12:16:16.987 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT has finished in 57 ms

02-Mar-2017 12:16:16.987 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]

02-Mar-2017 12:16:17.018 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]

02-Mar-2017 12:16:17.018 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 662 ms

=================================

Could you please provide your valid inputs to resolve this error.

Thanks& Regards

Spandhana

I am getting following Error while uploading thingworx.war file

This site can’t be reached

The webpage at http://localhost:8080/manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=0886FC9C4F01EF4F77F...might be temporarily down or it may have moved permanently to a new web address.

ERR_CONNECTION_ABORTED

Regards

Spandhana

cmorfin
19-Tanzanite
(To:sdaram)

Hi Spandhana

Your latest catalina.log shows a successful start of Tomcat, however there is no Thingworx application deployed, so most likely you do not have a thingworx.war under <Tomcat>/webapps.

I see above that you are having an error while attempting to upload the war file from the Tomcat manager UI, could you try to simply copy the file under <Tomcat>/webapps and restart Tomcat ?

If you still have issues, please provide catalina log and ThingWorx application.log file.

Thanks

Christophe

Kirti here,

I have thingworx installed since 9 days.Today suddenly tomcat got stopped and when I tried to restart It is stopping over and over again.Below are my log files.

catalina.2017-04-18

=================

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.33

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 18 2016 20:31:49 UTC

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.33.0

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows Server 2008 R2

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.1

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jdk1.8.0_112\jre

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_112-b15

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Program Files\Apache Software Foundation\Tomcat 8.0

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         C:\Program Files\Apache Software Foundation\Tomcat 8.0

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.0

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 8.0

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 8.0\endorsed

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.0\temp

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\logging.properties

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m

18-Apr-2017 11:21:47.048 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m

18-Apr-2017 11:21:47.048 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 8.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Ruby22\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\M1 Licensing;E:\Program Files (x86)\Proficy\Proficy Portal\webapps\infoAgentSrv\WEB-INF\bin;E:\Program Files (x86)\Proficy\Proficy Portal\webapps\infoAgentSrv\WEB-INF;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Proficy\Proficy CIMPLICITY\exe;E:\Program Files (x86)\Proficy\Proficy CIMPLICITY\exe;E:\Program Files (x86)\Proficy\Proficy CIMPLICITY\exe;C:\Windows\System32;C:\Windows;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\cURL\bin;C:\Program Files\Cloud Foundry;C:\Program Files (x86)\Cloud Foundry;C:\Program Files\Java\jdk1.8.0_112\bin;C:\Windows\system32;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\PostgreSQL\9.4\bin;.

18-Apr-2017 11:21:48.187 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]

18-Apr-2017 11:21:48.467 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

18-Apr-2017 11:21:48.467 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]

18-Apr-2017 11:21:48.467 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

18-Apr-2017 11:21:48.467 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2592 ms

18-Apr-2017 11:21:48.561 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

18-Apr-2017 11:21:48.561 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.33

18-Apr-2017 11:21:48.639 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\docs

18-Apr-2017 11:21:48.998 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\docs has finished in 359 ms

18-Apr-2017 11:21:48.998 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager

18-Apr-2017 11:21:49.076 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager has finished in 78 ms

18-Apr-2017 11:21:49.076 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT

18-Apr-2017 11:21:49.107 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT has finished in 31 ms

18-Apr-2017 11:21:49.107 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]

18-Apr-2017 11:21:49.123 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]

18-Apr-2017 11:21:49.123 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 644 ms

18-Apr-2017 11:31:29.712 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\Thingworx.war

18-Apr-2017 11:32:09.928 INFO [localhost-startStop-2] 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.

18-Apr-2017 11:32:22.009 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\Thingworx.war has finished in 52,297 ms

========================================================================

tomcat8-stderr.2017-04-27 file:-

org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
at java.net.ServerSocket.bind(ServerSocket.java:375)
at java.net.ServerSocket.<init>(ServerSocket.java:237)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:438)
at org.apache.catalina.startup.Catalina.await(Catalina.java:717)
at org.apache.catalina.startup.Catalina.start(Catalina.java:663)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
 

Please help to resolve this issue.

Thanks ,

Announcements