[Clustering/JBoss] - Re: HA-JMS
by ratrask
Just to clarify here are some snipits of a log that show the problem.
Install 2 virgin copies of Jboss on separate nodes. Then bring up the first node with the all configuration (run.bat ?c all). Note that is elected the Master
2007-09-24 06:48:09,718 DEBUG [org.jboss.ha.singleton.HASingletonController] partitionTopologyChanged, isElectedNewMaster=true, isMasterNode=false, viewID=-35945124
2007-09-24 06:48:09,718 DEBUG [org.jboss.ha.singleton.HASingletonController] startNewMaster, isMasterNode=false
2007-09-24 06:48:09,718 DEBUG [org.jboss.ha.singleton.HASingletonController] startSingleton() : elected for master singleton node
2007-09-24 06:48:09,718 DEBUG [org.jboss.ha.singleton.HASingletonController] Calling operation: deploy(file:/C:/JBoss/jboss-4.2.1.GA/server/all//deploy-hasingleton), on target: 'jboss.system:service=MainDeployer'
? it then created the queues for example
2007-09-24 06:48:10,484 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.mq.destination:service=Queue,name=A with code: org.jboss.mq.server.jmx.Queue
2007-09-24 06:48:10,499 DEBUG [org.jboss.system.ServiceCreator] Created bean: jboss.mq.destination:service=Queue,name=A
2007-09-24 06:48:10,499 DEBUG [org.jboss.system.ServiceController] recording that jboss.mq.destination:service=Queue,name=A depends on jboss.mq:service=DestinationManager
2007-09-24 06:48:10,499 DEBUG [org.jboss.system.ServiceConfigurator] considering DestinationManager with object name jboss.mq:service=DestinationManager
? now bring up the second node. The log on the original node records the following:
2007-09-24 07:37:55,512 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] New cluster view for partition DefaultPartition (id: 1, delta: 1) : [127.0.0.1:1099, 127.0.0.1:1099]
2007-09-24 07:37:55,527 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] membership changed from 1 to 2
? followed by
2007-09-24 07:37:56,840 DEBUG [org.jboss.system.BarrierController] Saw 'stop' handback, stopping barrier
2007-09-24 07:37:56,840 DEBUG [org.jboss.system.ServiceController] stopping service: jboss.ha:service=HASingletonDeployer,type=Barrier
2007-09-24 07:37:56,840 DEBUG [org.jboss.system.ServiceController] stopping dependent services for: jboss.ha:service=HASingletonDeployer,type=Barrier dependent services are: []
? and by
2007-09-24 07:37:56,855 DEBUG [org.jboss.system.ServiceController] stopping service: jboss.mq.destination:service=Queue,name=A
2007-09-24 07:37:56,855 DEBUG [org.jboss.system.ServiceController] stopping dependent services for: jboss.mq.destination:service=Queue,name=A dependent services are: []
2007-09-24 07:37:56,855 DEBUG [org.jboss.mq.server.jmx.Queue.A] Stopping jboss.mq.destination:service=Queue,name=A
2007-09-24 07:37:56,855 INFO [org.jboss.mq.server.jmx.Queue.A] Unbinding JNDI name: queue/A
2007-09-24 07:37:56,871 DEBUG [org.jboss.mq.server.JMSDestinationManager] Closing destination QUEUE.A
2007-09-24 07:37:56,871 DEBUG [org.jboss.mq.server.jmx.Queue.A] Stopped jboss.mq.destination:service=Queue,name=A
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089651#4089651
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089651
18 years, 6 months
[JBoss Messaging] - Re: Receiving IllegalStateExceptions in client
by Craig2007
"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
18 years, 6 months