I am trying to do a  look up of JBOSS JMS queue and it is blocking for close to 
30 minutes before timing out. I have specified the jnp timeout to 100.
This is the stack trace I am getting,

2006-02-21 17:37:39 the look is called

2006-02-21 18:15:05,467 the time out exception is thrown

It is close to 30 minutes for the timeout to be thrown, this is on a production 
system and I am not sure why it takes close to 30 minutes for the timeout

2006-02-21 17:37:39,144 DEBUG [PoolThread-1] SrbJmsClient 
16672992_114045974606717 - MSG_INFO_SRBPAS_JMS_ADDING_QUEUE_SENDER, Adding 
Queue Sender 
=10.18.58.155:1097:org.jnp.interfaces.NamingContextFactory:java:/ConnectionFactory:queue/NPADQCEFQueue
2006-02-21 18:15:05,467 ERROR [PoolThread-1] SrbQueueSender 
16672992_114045974606717 - MSG_ERR_SRBPAS_JMS_EXCEPTION_INITIALIZE, Exception 
while initializing Queue Sender
javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 10.18.59.59; nested 
exception is: 
        java.net.ConnectException: Connection timed out]
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:649)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
        at javax.naming.InitialContext.lookup(InitialContext.java:347)
        at 
com.alcatel.srb.pm.jms.SrbQueueSender.establishConnection(SrbQueueSender.java:73)
        at com.alcatel.srb.pm.jms.SrbQueueSender.(SrbQueueSender.java:50)
        at 
com.alcatel.srb.pm.jms.SrbJmsClient.loadRegistryInfo(SrbJmsClient.java:143)
        at com.alcatel.srb.pm.jms.SrbJmsClient.(SrbJmsClient.java:71)
        at 
com.alcatel.srb.pm.jms.SrbJmsClient.createInstance(SrbJmsClient.java:55)
        at com.alcatel.srb.pm.jms.SrbJmsClient.getInstance(SrbJmsClient.java:47)
        at com.alcatel.srb.pm.RemovePolicyTask.run(RemovePolicyTask.java:185)
        at org.mortbay.util.ThreadPool.handle(ThreadPool.java:345)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454)
Caused by: java.rmi.ConnectException: Connection refused to host: 10.18.59.59; 
nested exception is: 
        java.net.ConnectException: Connection timed out
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
        at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
        ... 11 more
Caused by: java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at java.net.Socket.(Socket.java:309)
        at java.net.Socket.(Socket.java:124)
        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:562)
        ... 16 more

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925915#3925915

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925915


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to