[jboss-user] [JBoss Messaging] - Re: Receiving IllegalStateExceptions in client

Craig2007 do-not-reply at jboss.com
Fri Sep 28 07:22:46 EDT 2007


"timfox" wrote : I've just been informed by the remoting team that the attributes need "isParam=true" to ensure they're passed to the client side.

Hi Everybody ...

We also got the same exception .We are using JBoss 1.0.1.GA (Prod Environment -not possible to upgrade to latest JBM).


There are around 30 machines which are communicating with Central machine thru JBoss Messaging. Every machine is working correctly ,but after sometime all machines hangs up and the exception i got is given below.....


  | Exception Cause  --> org.jboss.jms.client.container.ExceptionInterceptor(javax.jms.IllegalStateException: Can not get connection to server.  Problem establishing socket connection for locator - InvokerLocator [socket://10.0.34.12:4457/?dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat])
  | Exception Cause  --> org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404(javax.jms.IllegalStateException: Can not get connection to server.  Problem establishing socket connection for locator - InvokerLocator [socket://10.0.34.12:4457/?dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat])
  | Exception Cause  --> org.jboss.jms.client.container.ClientLogInterceptor(javax.jms.IllegalStateException: Can not get connection to server.  Problem establishing socket connection for locator - InvokerLocator [socket://10.0.34.12:4457/?dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat])
  | Exception Cause  --> org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404(javax.jms.IllegalStateException: Can not get connection to server.  Problem establishing socket connection for locator - InvokerLocator [socket://10.0.34.12:4457/?dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat])
  | Exception Cause  --> org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate(javax.jms.IllegalStateException: Can not get connection to server.  Problem establishing socket connection for locator - InvokerLocator [socket://10.0.34.12:4457/?dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat])
  | Exception Cause  --> org.jboss.jms.client.JBossConnectionFactory(javax.jms.IllegalStateException: Can not get connection to server.  Problem establishing socket connection for locator - InvokerLocator [socket://10.0.34.12:4457/?dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat])
  | Exception Cause  --> org.jboss.jms.client.JBossConnectionFactory(javax.jms.IllegalStateException: Can not get connection to server.  Problem establishing socket connection for locator - InvokerLocator [socket://10.0.34.12:4457/?dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat])
  | #####################################################################################################
  | Messaging Code Related Exceptions 
  | Exception Occured 
  | Exception Cause   --> javax.jms.IllegalStateException: Can not get connection to server.  Problem establishing socket connection for locator - InvokerLocator [socket://10.0.34.12:4457/?dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
  | File   Name			 :	ConnectionForSender.java
  | Class  Name			 :	com.tcs.retail.framework.messaging.lookup.ConnectionForSender
  | Method Name			 :	getConnection
  | Line   No  			 :	32
  | 
  | #####################################################################################################
  | 
  | 
  | 


To overcome this exception , i will change the setting for numberofretries and clientmaxpoolsize. In addtion to that there are some config details available in the specified quote attached with this message.

Tim , can you kindly tell me where this configuration changes needs to be done (file name and correct place)




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

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



More information about the jboss-user mailing list