I have a web-app deployed on tomcat on Ubuntu linux 8.04. There is a piece of
code in the web-app which starts up activemq by executing the
wrapper-service activemq start command(activemq/bin/linux-x86-32/activemq
start). This code also starts a TransportListener on a jms connection object
on this activemq url.

When the application is restarted,
[1]the code in the webapp which starts up activemq also shuts it down using
the wrapper-service activemq start command
(activemq/bin/linux-x86-32/activemq stop). Before executing the stop
command, all TransportListeners on the jms connection object are removed. If
the stop command doesnt succeed for some reason, I do a kill -9 on all the
activemq processes.
[2]after this tomcat itself is restarted.

Off and on, I see the following exception on the tomcat logs : catalina.out.
This causes the web-app from loading.

Any ideas on what might be causing this. I am urgently in need of help here
!!! Will appreciate any help.


Exception in thread "InactivityMonitor WriteCheck"
java.lang.NoClassDefFoundError:
org/apache/activemq/transport/InactivityMonitor$3
        at
org.apache.activemq.transport.InactivityMonitor.writeCheck(InactivityMonitor.java:128)
        at
org.apache.activemq.transport.InactivityMonitor$2.run(InactivityMonitor.java:103)
        at
org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.ClassNotFoundException:
org.apache.activemq.transport.InactivityMonitor$3
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
-- 
View this message in context: 
http://www.nabble.com/%22InactivityMonitor-WriteCheck%22-java.lang.NoClassDefFoundError%3A-org-apache-activemq-transport-InactivityMonitor%243-tp25578021p25578021.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to