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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Looking for help running Thingworx under Fedora 20

ptc-6243350
1-Visitor

Looking for help running Thingworx under Fedora 20

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?

5 REPLIES 5
paic
12-Amethyst
(To:ptc-6243350)

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,

Please also note that while the platform technically should deploy on any 64bit Windows or Linux OS that is running the latest 64bit Oracle/Sun JVM, we do not test specifically on Fedora.

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.

smanley
14-Alexandrite
(To:ptc-6243350)

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



Announcements


Top Tags