Hi,

I am using JBoss Messaging 1.2.0.sp1. I have an application that listens for 
messages on a JBM queue, and processes those messages.

The problem is that if the messaging server gets restarted, the message 
receiver in my application fails to reconnect with the messaging server.

I even wrapped the Consumer.receive() call in a try/catch block to handle 
throwable, but it never throws any exceptions or errors, it just gets stuck in 
the Consumer.receive() call. If I send messages to that queue, the receiver 
does not pick up those messages. Only after I restart my application, it picks 
up those messages.

Is there a configuration property that would configure the client so that it 
keeps retrying to connect to the messaging server? Am I missing something or is 
it a bug in JBoss Messaging? I will appreciate any help.

Here is my test code for testing this scenario:

public void testMessagingReconnect() {
                while (true) {
                        try {
                                Hashtable env = new Hashtable();
                                env.put(Context.PROVIDER_URL, 
"jnp://localhost:1199");
                                env.put(Context.INITIAL_CONTEXT_FACTORY,
                                                
"org.jboss.naming.NamingContextFactory");

                                InitialContext ic = new InitialContext(env);
                                ConnectionFactory cf = (ConnectionFactory) ic
                                                
.lookup("java:/ConnectionFactory");

                                Connection connection = cf.createConnection();
                                Session session2 = 
connection.createSession(false,
                                                Session.CLIENT_ACKNOWLEDGE);
                                Queue queue = session2.createQueue("testQueue");

                                MessageConsumer consumer = 
session2.createConsumer(queue);
                                connection.start();
                                System.out.println("Listening");
                                TextMessage message = (TextMessage) 
consumer.receive();
                                System.out.println("Received message : " + 
message.getText());
                                message.acknowledge();
                        } catch (Throwable e) {
                                System.out.println("An error occured.");
                                e.printStackTrace();
                                // reconnect after 5 seconds
                                try {
                                        Thread.sleep(5000);
                                } catch (InterruptedException e1) {
                                        e1.printStackTrace();
                                }
                        }
                }
        }

Here are the output logs:

2007-05-08 15:43:27,693[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1d6f122, bisocket://159.125.194.87:4557] setting 
maxPoolSize to 50
2007-05-08 15:43:27,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1d6f122, bisocket://159.125.194.87:4557] setting client 
socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
2007-05-08 15:43:27,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1d6f122, bisocket://159.125.194.87:4557] setting 
shouldCheckConnection to false
2007-05-08 15:43:27,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1d6f122, bisocket://159.125.194.87:4557] constructed
2007-05-08 15:43:27,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1d6f122, bisocket://159.125.194.87:4557] setting 
maxPoolSize to 50
2007-05-08 15:43:27,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1d6f122, bisocket://159.125.194.87:4557] setting client 
socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
2007-05-08 15:43:27,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1d6f122, bisocket://159.125.194.87:4557] setting 
shouldCheckConnection to false
2007-05-08 15:43:27,708[main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker 
 - SocketClientInvoker[1d6f122, bisocket://159.125.194.87:4557] connecting
2007-05-08 15:43:27,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1d6f122, bisocket://159.125.194.87:4557] added new pool 
([]) as ServerAddress[159.125.194.87:4557, NO enableTcpNoDelay timeout 0 ms]
2007-05-08 15:43:27,708[main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker 
 - SocketClientInvoker[1d6f122, bisocket://159.125.194.87:4557] connected
2007-05-08 15:43:29,115[main] DEBUG 
org.jboss.jms.client.remoting.JMSRemotingConnection  - 
JMSRemotingConnection[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
 created
2007-05-08 15:43:29,130[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] setting maxPoolSize 
to 50
2007-05-08 15:43:29,130[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] setting client 
socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
2007-05-08 15:43:29,130[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] setting 
shouldCheckConnection to false
2007-05-08 15:43:29,146[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] constructed
2007-05-08 15:43:29,146[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] setting maxPoolSize 
to 50
2007-05-08 15:43:29,146[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] setting client 
socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
2007-05-08 15:43:29,146[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] setting 
shouldCheckConnection to false
2007-05-08 15:43:29,146[main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker 
 - SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] connecting
2007-05-08 15:43:29,146[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] using pool 
([ClientSocketWrapper[Socket[addr=/159.125.194.87,port=4557,localport=2997].ef83d3]])
 already defined for ServerAddress[159.125.194.87:4557, NO enableTcpNoDelay 
timeout 0 ms]
2007-05-08 15:43:29,146[main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker 
 - SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] connected
2007-05-08 15:43:29,271[main] DEBUG 
org.jboss.jms.client.remoting.JMSRemotingConnection  - 
JMSRemotingConnection[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
 is doing push callbacks
2007-05-08 15:43:29,271[main] DEBUG org.jboss.remoting.Client  - starting 
callback Connector: InvokerLocator 
[bisocket://159.125.194.87:742937582/callback?serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper&isCallbackServer=true&callbackServerProtocol=bisocket&datatype=jms&guid=4f3h5e2f-76or01-f1grt1rk-1-f1grt33r-6&callbackServerHost=159.125.194.87&callbackServerPort=742937582&onewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPool&serializationtype=jms&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper]
2007-05-08 15:43:29,396[main] DEBUG org.jboss.remoting.ServerInvoker  - 
SocketServerInvoker[UNINITIALIZED] did not find server socket factory 
configuration as mbean service or classname. Creating default server socket 
factory.
2007-05-08 15:43:29,396[main] DEBUG org.jboss.remoting.ServerInvoker  - 
SocketServerInvoker[UNINITIALIZED] created server socket factory [EMAIL 
PROTECTED]
2007-05-08 15:43:29,396[main] DEBUG org.jboss.remoting.transport.Connector  - 
[EMAIL PROTECTED] started
2007-05-08 15:43:29,427[main] DEBUG org.jboss.remoting.ServerInvoker  - 
ServerInvoker (SocketServerInvoker[UNINITIALIZED]) added client callback 
handler CallbackManager[16dc861] with session id of 
4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-4+4f3h5e2f-76or01-f1grt1rk-1-f1grt37n-7 and 
callback handle object of null.
2007-05-08 15:43:29,427[main] DEBUG org.jboss.remoting.InvokerRegistry  - 
removed [EMAIL PROTECTED] from registry
2007-05-08 15:43:29,427[main] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - getting 
secondary locator
2007-05-08 15:43:29,427[main] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - secondary 
locator: InvokerLocator [null://159.125.194.87:2837/null]
2007-05-08 15:43:29,427[main] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - creating control 
connection: InvokerLocator [null://159.125.194.87:2837/null]
2007-05-08 15:43:29,443[main] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - created control 
connection: Socket[addr=/159.125.194.87,port=2837,localport=2998]
2007-05-08 15:43:29,443[main] DEBUG 
org.jboss.jms.client.remoting.JMSRemotingConnection  - 
JMSRemotingConnection[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
 started
2007-05-08 15:43:29,677[main] DEBUG org.jboss.remoting.ConnectionValidator  - 
ConnectionValidator[null, pingPeriod=2000 ms] created
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] setting 
maxPoolSize to 50
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] setting client 
socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] setting 
shouldCheckConnection to false
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.remoting.transport.socket.SocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] setting timeout to 
1000
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] constructed
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] setting 
maxPoolSize to 50
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] setting client 
socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] setting 
shouldCheckConnection to false
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.remoting.transport.socket.SocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] setting timeout to 
1000
2007-05-08 15:43:29,708[main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker 
 - SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] connecting
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] added new pool 
([]) as ServerAddress[159.125.194.87:4557, NO enableTcpNoDelay timeout 1000 ms]
2007-05-08 15:43:29,708[main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker 
 - SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] connected
2007-05-08 15:43:29,708[main] DEBUG org.jboss.remoting.ConnectionValidator  - 
ConnectionValidator[SocketClientInvoker[1be4777, 
bisocket://159.125.194.87:4557], pingPeriod=2000 ms] started
2007-05-08 15:43:29,708[main] DEBUG 
org.jboss.jms.message.MessageIdGeneratorFactory  - checked out 
MessageIdGenerator for 0, reference count is 1
2007-05-08 15:43:30,286[main] DEBUG org.jboss.jms.client.JBossSession  - 
attempting to create consumer for destination:JBossQueue[testQueue]
Listening
2007-05-08 15:43:30,505[control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - created: 
WorkerThread#0[159.125.194.87:2837]
2007-05-08 15:43:30,552[WorkerThread#0[159.125.194.87:2837]] DEBUG 
org.jboss.remoting.ServerInvoker  - Thread pool class supplied is not an object 
name.
Received message : hello
2007-05-08 15:43:30,740[main] DEBUG 
org.jboss.jms.client.remoting.JMSRemotingConnection  - 
JMSRemotingConnection[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
 created
2007-05-08 15:43:30,755[main] DEBUG org.jboss.remoting.MicroRemoteClientInvoker 
 - SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] added client 
with session ID 4f3h5e2f-76or01-f1grt1rk-1-f1grt48k-b to the lease pinger
2007-05-08 15:43:30,755[main] DEBUG 
org.jboss.jms.client.remoting.JMSRemotingConnection  - 
JMSRemotingConnection[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
 is doing push callbacks
2007-05-08 15:43:30,755[main] DEBUG org.jboss.remoting.Client  - starting 
callback Connector: InvokerLocator 
[bisocket://159.125.194.87:741857373/callback?serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper&isCallbackServer=true&callbackServerProtocol=bisocket&datatype=jms&guid=4f3h5e2f-76or01-f1grt1rk-1-f1grt48z-c&callbackServerHost=159.125.194.87&callbackServerPort=741857373&onewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPool&serializationtype=jms&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper]
2007-05-08 15:43:30,771[main] DEBUG org.jboss.remoting.ServerInvoker  - 
SocketServerInvoker[UNINITIALIZED] did not find server socket factory 
configuration as mbean service or classname. Creating default server socket 
factory.
2007-05-08 15:43:30,771[main] DEBUG org.jboss.remoting.ServerInvoker  - 
SocketServerInvoker[UNINITIALIZED] created server socket factory [EMAIL 
PROTECTED]
2007-05-08 15:43:30,771[main] DEBUG org.jboss.remoting.transport.Connector  - 
[EMAIL PROTECTED] started
2007-05-08 15:43:30,771[main] DEBUG org.jboss.remoting.ServerInvoker  - 
ServerInvoker (SocketServerInvoker[UNINITIALIZED]) added client callback 
handler CallbackManager[8b058b] with session id of 
4f3h5e2f-76or01-f1grt1rk-1-f1grt48k-b+4f3h5e2f-76or01-f1grt1rk-1-f1grt49f-d and 
callback handle object of null.
2007-05-08 15:43:30,771[main] DEBUG org.jboss.remoting.InvokerRegistry  - 
removed [EMAIL PROTECTED] from registry
2007-05-08 15:43:30,771[main] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - getting 
secondary locator
2007-05-08 15:43:30,771[main] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - secondary 
locator: InvokerLocator [null://159.125.194.87:2837/null]
2007-05-08 15:43:30,771[main] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - creating control 
connection: InvokerLocator [null://159.125.194.87:2837/null]
2007-05-08 15:43:30,771[main] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - created control 
connection: Socket[addr=/159.125.194.87,port=2837,localport=3000]
2007-05-08 15:43:30,787[main] DEBUG 
org.jboss.jms.client.remoting.JMSRemotingConnection  - 
JMSRemotingConnection[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
 started
2007-05-08 15:43:30,787[main] DEBUG org.jboss.remoting.ConnectionValidator  - 
ConnectionValidator[null, pingPeriod=2000 ms] created
2007-05-08 15:43:30,787[main] DEBUG org.jboss.remoting.ConnectionValidator  - 
ConnectionValidator[SocketClientInvoker[1be4777, 
bisocket://159.125.194.87:4557], pingPeriod=2000 ms] started
2007-05-08 15:43:30,787[main] DEBUG 
org.jboss.jms.message.MessageIdGeneratorFactory  - checked out 
MessageIdGenerator for 0, reference count is 2
2007-05-08 15:43:30,787[main] DEBUG org.jboss.jms.client.JBossSession  - 
attempting to create consumer for destination:JBossQueue[testQueue]
Listening
2007-05-08 15:43:43,631[WorkerThread#0[159.125.194.87:2837]] DEBUG 
org.jboss.remoting.transport.socket.ServerThread  - 
WorkerThread#0[159.125.194.87:2837] closing socketWrapper: 
ServerSocketWrapper[Socket[addr=/159.125.194.87,port=2837,localport=2999].fb6c5f]
2007-05-08 15:43:43,646[WorkerThread#0[159.125.194.87:2837]] DEBUG 
org.jboss.jms.server.remoting.ServerSocketWrapper  - wrote CLOSING byte
2007-05-08 15:43:43,646[WorkerThread#0[159.125.194.87:2837]] DEBUG 
org.jboss.remoting.transport.socket.SocketWrapper  - 
ServerSocketWrapper[Socket[addr=/159.125.194.87,port=2837,localport=2999].fb6c5f]
 closing
2007-05-08 15:43:43,725[Timer-2] DEBUG org.jboss.remoting.ConnectionValidator  
- ConnectionValidator failed to ping via SocketClientInvoker[1be4777, 
bisocket://159.125.194.87:4557]
org.jboss.remoting.ServerInvoker$InvalidStateException: Can not process 
invocation request since is not in started state.
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:745)
        at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:553)
        at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:377)
        at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:159)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
        at 
org.jboss.remoting.ConnectionValidator.doCheckConnection(ConnectionValidator.java:126)
        at 
org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:195)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
2007-05-08 15:43:43,740[Timer-2] DEBUG org.jboss.remoting.ConnectionValidator  
- ConnectionValidator[SocketClientInvoker[1be4777, 
bisocket://159.125.194.87:4557], pingPeriod=2000 ms]'s connections is invalid
2007-05-08 15:43:43,740[Timer-2] DEBUG org.jboss.remoting.InvokerRegistry  - 
decremented SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557]'s 
count, current count 1
2007-05-08 15:43:43,740[Timer-2] DEBUG org.jboss.remoting.ConnectionValidator  
- ConnectionValidator[SocketClientInvoker[1be4777, 
bisocket://159.125.194.87:4557], pingPeriod=2000 ms] stopped, returning true
2007-05-08 15:43:44,287[Timer-0] DEBUG org.jboss.remoting.LeasePinger  - 
LeasePinger[SocketClientInvoker[5660d6, 
bisocket://159.125.194.87:4557](4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-5)] failed 
to ping to server
org.jboss.remoting.ServerInvoker$InvalidStateException: Can not process 
invocation request since is not in started state.
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:745)
        at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:553)
        at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:377)
        at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:159)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
        at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:283)
        at org.jboss.remoting.LeasePinger.access$000(LeasePinger.java:20)
        at 
org.jboss.remoting.LeasePinger$LeaseTimerTask.run(LeasePinger.java:315)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
2007-05-08 15:43:44,287[Timer-0] WARN  org.jboss.remoting.LeasePinger  - 
LeasePinger[SocketClientInvoker[5660d6, 
bisocket://159.125.194.87:4557](4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-5)] failed 
to ping to server: Can not process invocation request since is not in started 
state.
2007-05-08 15:43:44,787[Timer-2] DEBUG 
org.jboss.remoting.transport.socket.SocketWrapper  - 
ClientSocketWrapper[Socket[addr=/159.125.194.87,port=4557,localport=3001].127f79d]
 closing
2007-05-08 15:43:45,756[Timer-2] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
969 ms
2007-05-08 15:43:45,756[Timer-2] DEBUG org.jboss.remoting.ConnectionValidator  
- ConnectionValidator failed to ping via SocketClientInvoker[1be4777, 
bisocket://159.125.194.87:4557]
org.jboss.remoting.CannotConnectException: Can not get connection to server. 
Problem establishing socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:339)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
        at 
org.jboss.remoting.ConnectionValidator.doCheckConnection(ConnectionValidator.java:126)
        at 
org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:195)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.net.ConnectException: Connection refused: connect
        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 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:346)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:796)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:521)
        ... 6 more
2007-05-08 15:43:45,771[Timer-2] DEBUG org.jboss.remoting.ConnectionValidator  
- ConnectionValidator[SocketClientInvoker[1be4777, 
bisocket://159.125.194.87:4557], pingPeriod=2000 ms]'s connections is invalid
2007-05-08 15:43:45,771[Timer-2] DEBUG org.jboss.remoting.InvokerRegistry  - 
removed SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] from 
registry
2007-05-08 15:43:45,771[Timer-2] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[1be4777, bisocket://159.125.194.87:4557] disconnecting ...
2007-05-08 15:43:45,771[Timer-2] DEBUG 
org.jboss.remoting.transport.socket.SocketWrapper  - 
ClientSocketWrapper[Socket[addr=/159.125.194.87,port=4557,localport=2997].ef83d3]
 closing
2007-05-08 15:43:45,771[Timer-2] DEBUG org.jboss.remoting.ConnectionValidator  
- ConnectionValidator[SocketClientInvoker[1be4777, 
bisocket://159.125.194.87:4557], pingPeriod=2000 ms] stopped, returning true
2007-05-08 15:43:50,194[Timer-0] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
922 ms
2007-05-08 15:43:50,194[Timer-0] DEBUG org.jboss.remoting.LeasePinger  - 
LeasePinger[SocketClientInvoker[5660d6, 
bisocket://159.125.194.87:4557](4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-5)] failed 
to ping to server
org.jboss.remoting.CannotConnectException: Can not get connection to server. 
Problem establishing socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:339)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
        at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:283)
        at org.jboss.remoting.LeasePinger.access$000(LeasePinger.java:20)
        at 
org.jboss.remoting.LeasePinger$LeaseTimerTask.run(LeasePinger.java:315)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.net.ConnectException: Connection refused: connect
        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 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:346)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:796)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:521)
        ... 7 more
2007-05-08 15:43:50,194[Timer-0] WARN  org.jboss.remoting.LeasePinger  - 
LeasePinger[SocketClientInvoker[5660d6, 
bisocket://159.125.194.87:4557](4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-5)] failed 
to ping to server: Can not get connection to server. Problem establishing 
socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
2007-05-08 15:43:54,428[Timer-1] WARN  
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - [EMAIL 
PROTECTED]: detected failure on control connection Thread[control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998],5,]: requesting new 
control connection
2007-05-08 15:43:54,444[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - getting 
secondary locator
2007-05-08 15:43:55,225[Timer-0] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
953 ms
2007-05-08 15:43:55,225[Timer-0] DEBUG org.jboss.remoting.LeasePinger  - 
LeasePinger[SocketClientInvoker[5660d6, 
bisocket://159.125.194.87:4557](4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-5)] failed 
to ping to server
org.jboss.remoting.CannotConnectException: Can not get connection to server. 
Problem establishing socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:339)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
        at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:283)
        at org.jboss.remoting.LeasePinger.access$000(LeasePinger.java:20)
        at 
org.jboss.remoting.LeasePinger$LeaseTimerTask.run(LeasePinger.java:315)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.net.ConnectException: Connection refused: connect
        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 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:346)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:796)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:521)
        ... 7 more
2007-05-08 15:43:55,225[Timer-0] WARN  org.jboss.remoting.LeasePinger  - 
LeasePinger[SocketClientInvoker[5660d6, 
bisocket://159.125.194.87:4557](4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-5)] failed 
to ping to server: Can not get connection to server. Problem establishing 
socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
2007-05-08 15:43:55,428[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
984 ms
2007-05-08 15:43:55,428[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:43:55,803[Timer-3] WARN  
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - [EMAIL 
PROTECTED]: detected failure on control connection Thread[control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000],5,]: requesting new 
control connection
2007-05-08 15:43:55,803[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - getting 
secondary locator
2007-05-08 15:43:56,631[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1203 ms
2007-05-08 15:43:56,631[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:43:56,913[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1110 ms
2007-05-08 15:43:56,913[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:43:57,631[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2007-05-08 15:43:57,631[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:43:57,944[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1031 ms
2007-05-08 15:43:57,944[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:43:58,631[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2007-05-08 15:43:58,631[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:43:58,991[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1047 ms
2007-05-08 15:43:58,991[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:43:59,756[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1125 ms
2007-05-08 15:43:59,756[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:00,053[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1062 ms
2007-05-08 15:44:00,053[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:00,256[Timer-0] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
984 ms
2007-05-08 15:44:00,256[Timer-0] DEBUG org.jboss.remoting.LeasePinger  - 
LeasePinger[SocketClientInvoker[5660d6, 
bisocket://159.125.194.87:4557](4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-5)] failed 
to ping to server
org.jboss.remoting.CannotConnectException: Can not get connection to server. 
Problem establishing socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:339)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
        at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:283)
        at org.jboss.remoting.LeasePinger.access$000(LeasePinger.java:20)
        at 
org.jboss.remoting.LeasePinger$LeaseTimerTask.run(LeasePinger.java:315)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.net.ConnectException: Connection refused: connect
        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 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:346)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:796)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:521)
        ... 7 more
2007-05-08 15:44:00,319[Timer-0] WARN  org.jboss.remoting.LeasePinger  - 
LeasePinger[SocketClientInvoker[5660d6, 
bisocket://159.125.194.87:4557](4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-5)] failed 
to ping to server: Can not get connection to server. Problem establishing 
socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
2007-05-08 15:44:00,756[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2007-05-08 15:44:00,756[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:01,053[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2007-05-08 15:44:01,053[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:01,975[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1219 ms
2007-05-08 15:44:01,975[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:02,053[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2007-05-08 15:44:02,053[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:02,960[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
985 ms
2007-05-08 15:44:02,960[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:03,069[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1016 ms
2007-05-08 15:44:03,069[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:03,975[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1015 ms
2007-05-08 15:44:03,975[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:04,069[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2007-05-08 15:44:04,069[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:04,991[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1016 ms
2007-05-08 15:44:04,991[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:04,991[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] ERROR 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - unable to get 
secondary locator
org.jboss.remoting.CannotConnectException: Can not get connection to server. 
Problem establishing socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:339)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.getSecondaryLocator(BisocketClientInvoker.java:426)
        at 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker.createControlConnection(BisocketServerInvoker.java:204)
        at 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker$1.run(BisocketServerInvoker.java:948)
Caused by: java.net.ConnectException: Connection refused: connect
        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 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:346)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:796)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:521)
        ... 5 more
2007-05-08 15:44:05,194[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1125 ms
2007-05-08 15:44:05,272[Timer-0] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1000 ms
2007-05-08 15:44:05,335[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=2998]] ERROR 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - Unable to 
recreate control connection: InvokerLocator [null://159.125.194.87:2837/null]
java.io.IOException: unable to get secondary locator: Can not get connection to 
server. Problem establishing socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
        at 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker.createControlConnection(BisocketServerInvoker.java:209)
        at 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker$1.run(BisocketServerInvoker.java:948)
2007-05-08 15:44:05,335[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:05,335[Timer-0] DEBUG org.jboss.remoting.LeasePinger  - 
LeasePinger[SocketClientInvoker[5660d6, 
bisocket://159.125.194.87:4557](4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-5)] failed 
to ping to server
org.jboss.remoting.CannotConnectException: Can not get connection to server. 
Problem establishing socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:339)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
        at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:283)
        at org.jboss.remoting.LeasePinger.access$000(LeasePinger.java:20)
        at 
org.jboss.remoting.LeasePinger$LeaseTimerTask.run(LeasePinger.java:315)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.net.ConnectException: Connection refused: connect
        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 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:346)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:796)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:521)
        ... 7 more
2007-05-08 15:44:05,350[Timer-0] WARN  org.jboss.remoting.LeasePinger  - 
LeasePinger[SocketClientInvoker[5660d6, 
bisocket://159.125.194.87:4557](4f3h5e2f-76or01-f1grt1rk-1-f1grt2zf-5)] failed 
to ping to server: Can not get connection to server. Problem establishing 
socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
2007-05-08 15:44:06,460[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker  - 
SocketClientInvoker[5660d6, bisocket://159.125.194.87:4557] got Exception 
java.net.ConnectException: Connection refused: connect, creation attempt took 
1125 ms
2007-05-08 15:44:06,460[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] DEBUG 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker  - unable to get 
secondary locator: trying again
2007-05-08 15:44:06,460[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] ERROR 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - unable to get 
secondary locator
org.jboss.remoting.CannotConnectException: Can not get connection to server. 
Problem establishing socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:339)
        at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.getSecondaryLocator(BisocketClientInvoker.java:426)
        at 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker.createControlConnection(BisocketServerInvoker.java:204)
        at 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker$1.run(BisocketServerInvoker.java:948)
Caused by: java.net.ConnectException: Connection refused: connect
        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 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)
        at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:346)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:796)
        at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:521)
        ... 5 more
2007-05-08 15:44:06,647[controlConnectionRecreate:control: 
Socket[addr=/159.125.194.87,port=2837,localport=3000]] ERROR 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker  - Unable to 
recreate control connection: InvokerLocator [null://159.125.194.87:2837/null]
java.io.IOException: unable to get secondary locator: Can not get connection to 
server. Problem establishing socket connection for InvokerLocator 
[bisocket://159.125.194.87:4557/?NumberOfCallRetries=2&clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&numberOfRetries=1&serializationtype=jms&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
        at 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker.createControlConnection(BisocketServerInvoker.java:209)
        at 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker$1.run(BisocketServerInvoker.java:948)


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044061
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to