Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
I used the components supplied in the 5.0 training kit and the WAR file in Thingworx_Platform_5.0.0.290.zip and have tomcat running, the Thingworx instance fails to start, the log shows the following errors:
Apr 29, 2014 4:58:40 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.thingworx.system.ThingWorxBootstrapper
java.lang.NullPointerException
at com.thingworx.system.ThingWorxBootstrapper.contextInitialized(ThingWorxBootstrapper.java:194)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
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)
Apr 29, 2014 4:58:40 PM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class com.thingworx.system.ThingWorxBootstrapper
java.lang.NullPointerException
at com.thingworx.logging.LogUtilities.stopAppendersForLogger(LogUtilities.java:319)
at com.thingworx.logging.LogUtilities.stopAppenders(LogUtilities.java:335)
at com.thingworx.system.ThingWorxBootstrapper.contextDestroyed(ThingWorxBootstrapper.java:335)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
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)
Anyone have any ideas?
Hi Charles,
Did you take a look at section 2 in the wiki, there is a very detailed set of instructions on how to deploy on a Linux type system.
Generally though, the part where the deployment fails is when it tries to create ThingworxStorage and ThingworxBackupStorage in the root. Not sure if you created those folders or not.
Charles,
What linux platforms is it currently tested on? What linux distribution should I use for this as I am trying to run on a laptop?
You can grab a copy of the system requirements documentation from section 2.03 of the Wiki.
Hi Charles,
I'm just checking in to find out if you were able to find the operating system requirements and get the platform running. The Linux system we currently test and support is Ubuntu, but it may be possible to run the platform on other Linux systems provided you are running the proper versions of Tomcat and Oracle JVM.
Thank you,
Saeed