Art,

Looking at ActiveMQConnection, In the close method, I see
>
>             ServiceSupport.dispose(this.transport);
>

Yes, now I can see it into the finally block, so the connection handle the
passed transaction close() call.


> This in turn calls
>
>             service.stop();
>
> Which ultimately closes the transport.
>

I've also deeply checked my solutions without success, It seems to be a
random error. :(

One more question:
During the tomcat shutdown phase I'm getting many of the following errors:
-----------------------------------------------------------------
INFO: Stopping Coyote HTTP/1.1 on http-8081
Exception in thread "ActiveMQ InactivityMonitor ReadCheckTimer"
java.lang.NullPointerException
        at
org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:187)
        at
org.apache.activemq.transport.AbstractInactivityMonitor$1.run(AbstractInactivityMonitor.java:84)
        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)
Exception in thread "ActiveMQ InactivityMonitor WriteCheckTimer"
java.lang.NullPointerException
        at
org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:205)
        at
org.apache.activemq.transport.AbstractInactivityMonitor$2.run(AbstractInactivityMonitor.java:119)
        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)
Exception in thread "ActiveMQ Broker[tomcat1] Scheduler"
java.lang.NullPointerException
        at
org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:187)
        at
org.apache.activemq.broker.region.Queue.expireMessages(Queue.java:901)
        at org.apache.activemq.broker.region.Queue.access$100(Queue.java:79)

--------------------------------------------------------------------------------------------

Could this be a cause? I've seen that sometime this exception is thrown and
the counter is not decreased (this happens quite often).

Cheers,
Carlo



>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/5-8-0-Unable-to-shutdown-embedded-broker-tp4679137p4679144.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for
more information.
==

Dott. Carlo Cancellieri
@cancellieric
Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Reply via email to