hzbarcea wrote:
> 
> I think there was an issue about daemon threads that sounded quite  
> similar.
> 
> Hadrian
> 

Thanks, I think you are referring to this discussion:
http://www.nabble.com/-jira--Created%3A-%28CAMEL-1751%29-Camel-causes-Tomcat-shutdown-to-hang-td24172381s22882.html

Adding "?daemon=true" to the broker URL solved the issue, Tomcat still shows
the error message below, but shuts down afterwards.


INFO: Pausing Coyote HTTP/1.1 on http-8080
28.08.2009 10:42:55 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Exception in thread "InactivityMonitor ReadCheck"
java.lang.NullPointerException
Exception in thread "InactivityMonitor WriteCheck"         at
org.apache.commons.logging.impl.Log4JLogger.isDebugEnabled(Log4JLogger.java:224)
        at
org.apache.activemq.transport.InactivityMonitor$1.run(InactivityMonitor.java:71)
        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)
java.lang.NullPointerException
        at
org.apache.commons.logging.impl.Log4JLogger.isDebugEnabled(Log4JLogger.java:224)
        at
org.apache.activemq.transport.InactivityMonitor$2.run(InactivityMonitor.java:98)
        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)


-- 
View this message in context: 
http://www.nabble.com/Garceful-shutdown-bug-in-2.0M3--tp25113519p25186437.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to