Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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 Shashi Preetham,
Could you please provide the solution to how you solved this issue? We are facing the same issue on our end.
Hi @psp316r.
It would be helpful if you could provide both the ThingWorx and Tomcat logs.
Thanks.
--Sharon