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뚶Ʝ騫.soTimeout\=3000疧ꚢ\=true뚶Ʝ騫.daemon\=true溺⑺.persist\=false뫇銆ꌉ잢\=false馬兹쨧鷧ⴍ\=200
brokerURL=peer\://geoserver/tomcat2?soTimeout\=3000뚶Ʝ騫.soTimeout\=3000疧ꚢ\=true뚶Ʝ騫.daemon\=true溺⑺.persist\=false뫇銆ꌉ잢\=false馬兹쨧鷧ⴍ\=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 [ at ] 64324]
(Running)
Thread [ActiveMQ Transport: tcp://CIO174/168.202.25.104:64331 [ at ] 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)
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
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뚶Ʝ騫.soTimeout\=3000疧ꚢ\=true뚶Ʝ騫.daemon\=true溺⑺.persist\=false뫇銆ꌉ잢\=false馬兹쨧鷧ⴍ\=200
brokerURL=peer\://geoserver/tomcat2?soTimeout\=3000뚶Ʝ騫.soTimeout\=3000疧ꚢ\=true뚶Ʝ騫.daemon\=true溺⑺.persist\=false뫇銆ꌉ잢\=false馬兹쨧鷧ⴍ\=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 [ at ] 64324]
(Running)
Thread [ActiveMQ Transport: tcp://CIO174/168.202.25.104:64331 [ at ] 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)
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