In addiction to below information I'd like to add:

1. I'm using PooledConnectionFactory to get connection and at the tomcat
shutdown end I call stop() which should stops all the opened connecitons.
2. I've just tested the same code with the 5.9.0 with no success.

Someone can help me?

Cheers,
Carlo


---------- Forwarded message ----------
From: carlo cancellieri <geo.ccancelli...@gmail.com>
Date: 2014-03-14 19:55 GMT+01:00
Subject: 5.8.0 Unable to shutdown embedded broker
To: users@activemq.apache.org


Hi all,
 I'm having some problem during the Tomcat shutdown.
I'm using ActiveMQ-5.8 and my brokerURL are:

brokerURL=peer\://geoserver/tomcat1?soTimeout\=3000&transport.soTimeout\=3000&daemon\=true&transport.daemon\=true&broker.persist\=false&useShutdownHook\=false&maxReconnectDelay\=200

brokerURL=peer\://geoserver/tomcat2?soTimeout\=3000&transport.soTimeout\=3000&daemon\=true&transport.daemon\=true&broker.persist\=false&useShutdownHook\=false&maxReconnectDelay\=200

Note that the the destination for the producers is a VirtualTopic.

I can successfully consume the messages but on shutdown tomcats hangs.

What's wrong?

This is the stack of a Tomcat instance.

Java HotSpot(TM) Client VM[168.202.25.104:1044]
 Thread [DestroyJavaVM] (Running)
Thread [pool-3-thread-1] (Running)
 Daemon Thread [http-8080-5] (Running)
Daemon Thread [http-8080-4] (Running)
 Daemon Thread [http-8080-3] (Running)
Daemon Thread [http-8080-2] (Running)
 Daemon Thread [http-8080-1] (Running)
Daemon Thread [TP-Processor4] (Running)
 Daemon Thread [http-8080-Acceptor-0] (Running)
Daemon Thread [ActiveMQ Transport: tcp:///168.202.25.104:64338@64324]
(Running)
 Thread [ActiveMQ Transport: tcp://CIO174/168.202.25.104:64331@64337]
(Running)
Daemon Thread
[Notifier-MulticastDiscoveryAgent-listener:DiscoveryNetworkConnector:NC:BrokerService[tomcat1]]
(Running)
 Daemon Thread
[MulticastDiscoveryAgent-listener:DiscoveryNetworkConnector:NC:BrokerService[tomcat1]:Thread-6]
(Running)
 Daemon Thread
[MulticastDiscoveryAgent-advertise:tcp://CIO174:64324:Thread-5] (Running)
Daemon Thread [ActiveMQ Transport Server: tcp://0.0.0.0:0] (Running)
 Daemon Thread [ActiveMQ Transport Server Thread Handler: tcp://0.0.0.0:0]
(Running)



-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it 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
mobile: +39 3371094494
fax:   +39 0584 1660272

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

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



-- 
==
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