Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I've been trying to install Thingworx 7.2.4
Java - 1.8.0_112
Apache tomact - 8.033
postgres 9.4.10.1
After deploying Thingworx.war in webapps, when I start the server, Thinworx is not starting.
I get error message FAIL - Application at context path /Thingworx could not be started
I've attached apache logs along with post.
Message was edited by: Siddharth Patel Attached tomcat and thingworx logs
Solved! Go to Solution.
I see
2016-12-20 19:24:28.303+0530 [L: ERROR] [O: c.t.p.p.PostgresDocumentModelDriver$SystemDocumentModelInformation] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Platform being shut down because System Ownership can not be acquired.
Please refer to the following document Frequently Seen Errors upon launching the Thingworx application:, "this type of error points at the security/permission issue. As all of the installation operations should be performed by a root/Administrator role, the following points should be verified.."
Try to:
|
Instead of deploying through the Tomcat manager browser page, turn the tomcat off, go to the folder where your tomcat is installed and drop (copy and paste) the Thingworx.war file in the "webapps" directory. Make sure there is no Thingworx already installed/deployed in that folder. IF there is - delete it beforehand. Once you copy the .war file into that directory, start the Tomcat and it will unpack the .war accordingly.
Hi Polina,
Thanks for your reply.
I've already tried that. Infact I tried uninstalling the complete thing and reinstalling it, just to see if I get some different result.
- Siddharth
Have you run both of the set up scripts for postgresql? If you open Pgadmin and right click on the database, first ensure it's connected. Then expand until you can see tables created by the scripts - there should be 53.
Please attach the screenshot of the expanded pgadmin view for the database and the logs from your ThingworxStorage/logs/Applicationlog.log and Tomcat/logs/catalina out
Hi,
No I'm getting only 48 tables.
I'm attaching latest logs in the question
I see
2016-12-20 19:24:28.303+0530 [L: ERROR] [O: c.t.p.p.PostgresDocumentModelDriver$SystemDocumentModelInformation] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Platform being shut down because System Ownership can not be acquired.
Please refer to the following document Frequently Seen Errors upon launching the Thingworx application:, "this type of error points at the security/permission issue. As all of the installation operations should be performed by a root/Administrator role, the following points should be verified.."
Try to:
|
Hi Polina,
Yes the folders are shared with "Everyone" and they are having "Read/Write" access.
I've been pointed out by sushant, that there might be some permission issue. I'll try to reinstall with other user. But I doubt if that is real reason, for Thingworx 6.6 worked just fine, when I had installed it using the same user.
On separate note, when I try to install using other user, should I install all the softwares?
Tomcat, Postgres etc ?
Thanks
Siddharth
Hi Polina Osipova i had a webex with him on this there was issue earlier because he had no table at all because the scripts failed after fixing this he got those 48 tables created in the storage. Although the startup failed but i just got his confirmation just now that server works after changing the platform-settings.json.
But you are right about the access rights stuff i saw the same and pointed it out to him about the same.
Great! I saw the logs were attached 20 minutes ago, didn't realize it's already been resolved in between.
Yeah actually he have a case opened with me and while sorting some settings we noticed that his Apache Tomcat won't come up let alone ThingWorx - but he now confirmed over email that at least that is starting up - checking up with him on the ThingWorx now. But indeed he do have issues with the access being denied while editing or copying files around on the drive where ThingWorx is being installed.
Hi Sushant,
With the updated platform-settings file, I'm able to start Tomcat server. However the Thingworx application is still not getting started.
- Siddharth