Skip to main content
1-Visitor
June 6, 2020
Question

ThingWorx platform 8.4.2 503 Service not found error

  • June 6, 2020
  • 3 replies
  • 3490 views

I am installing ThingWorx platform 8.4.2. After deploying Thingworx.war file, I am getting an error after launching the Composer. The error is "503 Service Unavailable".

Apache tomcat version : 8.5.28

PostgreSQL version : 9.4.26

Thingworx version : 8.4.2

OS : Windows 10

3 replies

19-Tanzanite
June 8, 2020

Hi @AnirudhaPansare 

 

Could you check the logs at the following location for more descriptive error :

<Tomcat>/logs

<ThingWorxStorage>/logs folder

 

Thank you

Christophe

1-Visitor
June 15, 2020

@cmorfin 

Hi,

 

Please find attached logs and platform.json file.

19-Tanzanite
June 16, 2020

Hi @AnirudhaPansare 

 

You do have issue connecting to Postgres, especially the error  ERROR: column "configurationTableDefinitions" does not exist suggests that the database has not been created properly.

 

I would recommend you drop and recreate the database and schema (since that is a fresh install with no data in it).

Follow the steps from http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FInstallation%2FInstallation%2Finstall_and_configure_postgresql_windows.html%23

Also ensure that the database connection are correct in your platform-settings.json.

 

https://www.ptc.com/en/support/article/CS235937 has got some useful points to check too.

 

Hope this helps

Christophe

 

15-Moonstone
June 8, 2020

Hi,

 

Make sure Tomcat is running if that's working try adding one more Environment Variable like below:

 

C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\Thingworx\WEB-INF\extensions

if it resolve the issue then its fine else execute thingworx.rar again. It will definitely resolve the issue.

 

Regards

Shyam

1-Visitor
June 15, 2020

@BABA-SHYAM 

Hi Shyam,

 

I tried to redeploy Thingworx.war file but still my issue was not resolved.

Please confirm the variable name which should be set with a given path.

15-Moonstone
June 16, 2020

No variable required. Follow below path:

Go to "This PC" right click and got to properties.
In advance System setting click environment variables.

Below Under System variables, find Path variable name and double click it and enter a new row and paste the above path which I mentioned in another reply.

Community Manager
June 15, 2020

Hi @AnirudhaPansare.

 

Did either of the previous replies help you to resolve your issue?  If so, please mark the appropriate one as the Accepted Solution for the benefit of others with the same problem.

 

If you still need assistance, please provide the following:

 

  • Logs located at \ThingworxStorage\logs
  • Tomcat logs located at <tomcat_home>\logs
  • The platform-settings.json file located at ThingworxPlatform

 

Regards.

 

--Sharon

1-Visitor
June 15, 2020

@slangley 

Hi Slangley,

 

My issue is not resolved.

Please refer attached files as requested.