Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
When ever tomcat restart the TWX, it gives following error in Application Log:
Error draining persistence providers queues: java.lang.NullPointerException
After that TWX Shutdowns..
Followed this Article . But issue still exist.
@slangley @PaiChung
Thanks,
Shashi.
Solved! Go to Solution.
Hi @slangley ,
This Error shows up in the Application Log, and TWX doesn't start.
Error draining persistence providers queues: java.lang.NullPointerException
When checking the Tomcat logs (catlina.log) for the same issue, found the same errors in the tomcat log as per the below article:
https://www.ptc.com/en/support/article/CS315741
As per the Article, tomcat is not about to launch the TWX because of the Recursive User Groups, which should be removed through DB manually since TWX is not starting.
Hope this clears the confusion.
Thanks,
Shashi.
Here is another article - "ThingWorx fails to start with "java.lang.NoClassDefFoundError" error in Tomcat logs": https://www.ptc.com/en/support/article/cs368418
Hi @VladimirN ,
Thanks for the reply, but the issue and the article you pointed out are two different things.
Thanks,
Shashi.
I would recommend you submit a support ticket.
Hi,
@PaiChung @VladimirN @slangley ..
This is the exact issue I am facing https://www.ptc.com/en/support/article/CS315741
But how can I remove the User Groups from the Postgres DB, any query ?
Thanks,
Shashi.
Hi @psp316r.
We're a little confused. The initial error you reported doesn't appear to have anything to do with the last issue. Are these the same issue, or are you reporting 2 different issues?
In regard to the user groups, you would use ThingWorx Composer for making changes.
Regards.
--Sharon
Hi @slangley ,
This Error shows up in the Application Log, and TWX doesn't start.
Error draining persistence providers queues: java.lang.NullPointerException
When checking the Tomcat logs (catlina.log) for the same issue, found the same errors in the tomcat log as per the below article:
https://www.ptc.com/en/support/article/CS315741
As per the Article, tomcat is not about to launch the TWX because of the Recursive User Groups, which should be removed through DB manually since TWX is not starting.
Hope this clears the confusion.
Thanks,
Shashi.
Hi @psp316r.
It would be helpful if you could provide both the ThingWorx and Tomcat logs.
Thanks.
--Sharon