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

Error Installing ThingWorx


Error Installing ThingWorx

For some reason I cannot install TW in my local machine anymore. I uninstalled Tomcat, cleared all caches, and deployed TW and still get an error message:

HTTP Status 401 - Could not handle request

type Status report

message Could not handle request

description This request requires HTTP authentication.

Looking at Tomcat´s log I've found this:


at<init>(Unknown Source)

at com.thingworx.extensibility.utils.ExtensionPackageUtilities.cleanJarDeploymentLocation(

at com.thingworx.system.managers.ExtensionPackageManager.initializeCollection(

at com.thingworx.system.entities.ThingWorxEntityManager.initializeCollections(

at com.thingworx.system.ThingWorxServer.Initialize(

at com.thingworx.system.ThingWorxBootstrapper.contextInitialized(

at org.apache.catalina.core.StandardContext.listenerStart(

at org.apache.catalina.core.StandardContext.startInternal(

at org.apache.catalina.util.LifecycleBase.start(

at org.apache.catalina.core.ContainerBase.addChildInternal(

at org.apache.catalina.core.ContainerBase.addChild(

at org.apache.catalina.core.StandardHost.addChild(

at org.apache.catalina.startup.HostConfig.deployWAR(

at org.apache.catalina.startup.HostConfig$

at java.util.concurrent.Executors$ Source)

at Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$ Source)

at Source)

*** CRITICAL ERROR ON STARTUP: Unable to initialize and start system: null

PS: I tried many TW versions: 5.1, 5.2, 5.4 - all with the same results.

Any idea of what could be happening?



Error Installing ThingWorx

One thought that comes to my mind is the fact that I've seen auto updates rolling out to Java 8, make sure your Tomcat is pointed to use the Java 7 jvm.

Beyond that, not sure what OS you are using, but since you are starting clean, I would try the following:

1. Stop tomcat

2. Remove tomcat/webapps/thingworx and the thingworx.war

3. Remove \ThingworxStorage and ThingworxBackupStorage

4. If you are on a Linux type environment, recreate the two Storage folders and make sure full permissions are granted on them.

Now start tomcat up and deploy Thingworx.

Error Installing ThingWorx

I just had the same issue yesterday. Was going in circles trying to figure out what it was until a friend asked me about the ThingWorx Storage and ThingWorx Backup Storage folders. I had installed and removed TWX a few months ago, and they were still on my machine. To correct the problem, I removed the WAR file and TWX app from Tomcat, rebooted and then removed all occurrences of ThingworxStorage and ThingworxBackupStorage. After redeploying the WAR, the application ran as expected.

Error Installing ThingWorx

Thanks guys.

I did the same think but without being so conscious: unisntalled everything that was related (including Java) and installed again.

Re: Error Installing ThingWorx

I had the same issue with Thingworx 5.4
In my case, I needed to move to Tomcat7 and Java7.

For Thingworx 6.x, Tomcat8 and Java8 are ok.

Thanks guys.

Re: Error Installing ThingWorx

Hi @Ewerton Moreira,

I also faced same issue in Thingworx, How i get out of it, Please find below steps to troubleshoot.

     1) Check Thingworx folder have permitted Windows/Linux directory access.

     2) Validate Thingworx and Java both compatible version.

     3) Hope u have created folder "Thingworx Platform" placed platform-settings.json as per installation document.

     4) open platform-settings.json confirm that username and password

                "password": "twadmin",

                "username": "twadmin"