Tomcat hangs at specific time daily/ Issue - java.util.concurrent.locks.Lock

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Tomcat hangs at specific time daily/ Issue - java.util.concurrent.locks.Lock

Prem Kumar
We take cold backup of our DB for this we stop the tomcat, and once cold backup is done we start the tomcat. For around 2 hour it runs perfectly fine then it hangs giving the below error. It happens daily on same time. Current work around is restart the tomcat until next hangs.



below is part of /var/opt/OV/log/tomcat/ovtomcatb.out log from server d2omu1, where ovtomcatb is actually hanged
Feb 24, 2017 1:00:00 AM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load java.util.concurrent.locks.Lock. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the

An output of the tomcat log file:
hlavj99/root@d2omu1:/var/opt/OV#
# tail -20 /var/opt/OV/log/tomcat/ovtomcatb.out
        at org.apache.catalina.startup.Catalina.start(Catalina.java:724)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
 
Feb 24, 2017 1:00:00 AM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load java.util.concurrent.locks.Lock.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1612)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
        at com.hp.autopassj.core.events.AutopassEventManager.isListeningTo(AutopassEventManager.java:429)
        at com.hp.autopassj.core.vud.VUDManager.refreshVUDConsumptionStore(VUDManager.java:1066)
        at com.hp.autopassj.core.vud.VUDManager.refreshVUDConsumptionMap(VUDManager.java:1043)
        at com.hp.autopassj.core.vud.VUDCycleTracker$VUDTimerTask.run(VUDCycleTracker.java:54)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
Loading...