I have no idea how to think about this without knowing how you have
installed activemq 5.2 client stuff, how you are getting the activemq
connections, and how you are attaching the transport listener.
thanks
david jencks
On Mar 11, 2009, at 9:40 AM, Rogue angel wrote:
Hello everyone!
The problem:I have a G2.1.1 and I have JMS producer (Extended
JMSAppender)
application over ActiveMQ 5.2.0 failover transport and external
ActiveMQ
5.2.0 server. I want to know when connection breaks and when
restores. That
is why i used TransportListener, which one i put into
ActiveMQConnection.
Everything works fine, but when i tried to redeploy my application
logic for
TransportListener still the same as older one. And this is not the
end!
JMSAppender logic was also the same as old one.
I`m not using multi-threading explicitly.
ActiveMQ connection URL:
failover:(tcp://10.12.34.62:41414?
wireFormat.maxInactivityDuration=0)?
jms
.redeliveryPolicy
.maximumRedeliveries
=-1&jms.redeliveryPolicy.useExponentialBackOff=false&
jms
.redeliveryPolicy
.useCollisionAvoidance=false&initialReconnectDelay=100&
maxReconnectDelay
=30000&useExponentialBackOff=true&backup=false&maxReconnectAttempts=10
I`d tried all combination stop-uninstal-redeploy-start. result is
the same.
It seems that geronimo registers somewhere those listeners. In
activeMQ
javaDoc i found that failover transport uses different thread to
reconnection purposes. May be geronimo does not stops them?
Please help.
--
View this message in context:
http://www.nabble.com/Geronimo-2.1.1-does-not-undeploy-apache-ActiveMQ-5.2.0-TransportListener%28It-seems-cannot-stop-thread%29-with-failover-transport-tp22459183s134p22459183.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.