Skip to main content
1-Visitor
May 4, 2018
Question

Thingworx.war deploying on tomcat throws error and Tomcat automatically stops after starting it.

  • May 4, 2018
  • 7 replies
  • 3260 views

Hi,

I am using thingworx 8.0.1 for past 6 months. It works perfectly for me without any issue but today suddenly it Tomcat stops in sometime after starting and the thingworx application does not open.

The thingworx.war do not deploy properly. All the extension files inside C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\Thingworx\WEB-INF\extensions did not load and is missing. I deleted and deployed the war file again but still it did not show up. What is the possible reason for suddenly throwing an issue like this? Herewith I have attached applicationlog.log file and catalina err.

Please help me in resolving this issue.

Also I have two questions:

1) I am worried that after fixing this issue and when my Thingworx composer starts up will all the entities i created in thingworx will be retrieved or would have been deleted because I do not have any backup of the entities. It consists of two real time projects.

 

2) If I take an backup from postgre now will all the entities show up on restoring it in another machine?

Please provide some help as it affects the project completion.

 

Thanks,

V Shalini.

 

 

 

7 replies

5-Regular Member
May 7, 2018

When you mentioned "I deleted and redeployed the war " .You meant that you deleted deployed Thingworx folder from webapps ? Ideally you should not directly delete and redeploy .Instead you should take backup from (import/export) menu in composer .By chance did you took backup of entities/data from Composer into ThingworxStorage or SourceControlEntites ?Because deleting and redeployment will make ThingworxStorage and BackupStorage empty .And these folder contains the backup when you do an export from composer .Ideally you should have taken an export of all entities and data and import it later .

 

For your other problem of Thingworx suddenly stopped ,i can not see attached logs .Can you please attach it again .And did you manually deleted/entered any entry from back end (Postgres side ) in extensions table or something ? Or by chance if you tried to import any extension and it got stuck in between ? or tried to manually delete extension from Extensions folder ?

 

Thanks ,

Mukul Narang  

1-Visitor
May 7, 2018

Hi  @mnarang,

I did not take an export of entities and I did not delete any extensions manually.

I took a backup of thingworx war file. But when I deployed the same war I was not able to see any extensions inside it.

Will I get everything if I restore postgre backup in another machine?

 

 

 

Thanks,

V Shalini.

 

 

5-Regular Member
May 7, 2018

I tested this scenario and the point is when you delete Thingworx deployed folder and redeploy the war it will automatically pick up entities from persistence provider (Postgres) .That means when this issue will be resolved and thingworx application will come then you will be able to see all your developed entities on it .Rest i am checking logs for this issue .

 

 

Thanks ,

Mukul Narang