Hello. I noticed this error while reviewing the logs and I further isolated it to when I shut the Tomcat Windows service off (working on previous issue)...
16-Oct-2020 12:37:49.350 SEVERE [Thread-5]
org.apache.catalina.core.StandardWrapper.unload InstanceManager.destroy() for servlet [QueryEngineServlet] threw exception
java.lang.NullPointerException at org.apache.catalina.core.DefaultInstanceManager.destroyInstance (DefaultInstanceManager.java:197) at...etc...etc...
I don't think it has anything to do with the destroy() methods in the running servlets as it doesn't specify those classes..rather it's destroy() in DefaultInstanceMenager.destroyInstance...and it seems to be on a higher thread level. Would anybody have an idea how to address this?
I do have two web apps running with the same servlet name (QueryEngneConfig)...could that be it? I wouldn't think so. I checked web.xml for both web apps and it seems ok.
The requests and responses seem all right as I noticed this error only in the log and it occurs only at service shutdown.
So let's see how that resolves before getting too involved here.
Some people, when well-known sources tell them that fire will burn them, don't put their hands in the fire.
Some people, being skeptical, will put their hands in the fire, get burned, and learn not to put their hands in the fire.
And some people, believing that they know better than well-known sources, will claim it's a lie, put their hands in the fire, and continue to scream it's a lie even as their hands burn down to charred stumps.
posted 1 month ago
Hi. I thought I should put it in consolidated form in Tomcat forum, should I remove this thread (although I don't think I have that access)?