Infinite loop in JMS Server

View: New views
1 Messages — Rating Filter:   Alert me  

Infinite loop in JMS Server

by Ellery, David :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Version: openjms-0.7.7-beta-1
 
Ok so I have afew clients subscribing to a topic, and sometimes they get killed off for various reasons, but quite often after they've received afew messages and they die openjms goes into an infinite loop and brings its system to its knee's, which isnt very helpful, from the debug output it seems its just continuosly tries to reconnect to the now dead subscriber..
 
output:
 
10:45:44.363 DEBUG [Scheduler-Worker-6] - schedule() [stop=false, active=true, reschedule=true, scheduled=false]
10:45:44.363 DEBUG [Scheduler-Worker-6] - doReceive() - next available=ID:f2d349b0-c43f-1004-88db-5dc0d57efe3c
10:45:44.363 DEBUG [Scheduler-Worker-6] - doReceive() - result=ID:f2d349b0-c43f-1004-88db-5dc0d57efe3c
10:45:44.363 INFO  [Scheduler-Worker-6] - Failed to notify client
java.rmi.ConnectException: Connection refused to host: 152.153.40.17; nested exception is:
        java.net.ConnectException: Connection refused
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
        at org.exolab.jms.net.rmi.RMIInvokerImpl_Stub.invoke(Unknown Source)
        at org.exolab.jms.net.rmi.RMIManagedConnection.invoke(RMIManagedConnection.java:379)
        at org.exolab.jms.net.rmi.RMIConnection.invoke(RMIConnection.java:88)
        at org.exolab.jms.net.orb.UnicastDelegate.invoke(UnicastDelegate.java:153)
        at org.exolab.jms.net.proxy.Proxy.invoke(Proxy.java:102)
        at org.exolab.jms.client.net.JmsSessionStubImpl__Proxy.onMessage(JmsSessionStubImpl__Proxy.java:245)
        at org.exolab.jms.server.SessionConsumer.send(SessionConsumer.java:614)
        at org.exolab.jms.server.SessionConsumer.send(SessionConsumer.java:572)
        at org.exolab.jms.server.SessionConsumer.dispatch(SessionConsumer.java:498)
        at org.exolab.jms.server.SessionConsumer.access$000(SessionConsumer.java:78)
        at org.exolab.jms.server.SessionConsumer$1.run(SessionConsumer.java:155)
        at org.exolab.jms.scheduler.SerialTask.run(SerialTask.java:164)
        at org.exolab.jms.common.threads.ThreadPool$NotifyingRunnable.run(ThreadPool.java:211)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:179)
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
        ... 18 more
 
it loops this message forever
 
If someone knows how i can stop it from doing this it would be great,
 
or even a fix would be better.




NOTICE - This message and any attached files may contain information that is confidential and intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
openjms-user mailing list
openjms-user@...
https://lists.sourceforge.net/lists/listinfo/openjms-user