[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working

2007-04-19 Thread timfox
Do the clustering examples run?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038742#4038742

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038742
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working

2007-04-19 Thread timfox
sabdulkareem wrote : 
  | 4. The Sender and Receiver applications tries to get Connections using 
Recovery Algorithms.
  | 

JBM uses transparent failover so there is no need to recover the connections 
yourself, i.e. you don't need to implement an Exception Listener.

When failover occurs the connections should automatically be failed over onto a 
different server.

Have a look at the clustering examples that come with the distro.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038745#4038745

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038745
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working

2007-04-19 Thread sabdulkareem

I tried the examples distributed-queue, queue-failover.
Both are working fine.

In queue-failover example the application kills the Messaging-node0 
programatically. But I am using Ctrl+C to kill the Messaging-node0.

Will it make any difference?

Thanks  Regards,
Abdul Kareem






View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038747#4038747

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038747
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working

2007-04-19 Thread timfox
sabdulkareem wrote : 
  | 
  | Will it make any difference?
  | 
  | 

Yes, CTRL-C does not kill the server - it performs a clean shut down. Clean 
shut down and crash are different things.

There is also a bug in jboss remoting that prevents reconnections in some 
situations - this has been fixed in remoting 2.2.0.SP1.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038748#4038748

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038748
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working

2007-04-19 Thread sabdulkareem
Thanks a lot!

I have replaced the jboss-remoting related jars to the version2.2.0 in my 
application. Now the Sender application able to get Connection on Node1, if the 
Node0 fails. But the Receiver application throws the exception like:


anonymous wrote : 2007-04-19 15:20:44,861 [main] WARN  - Application 
re-initialization attempted
  | Got Message: [File1 - Message1File1 - Message2File1 - Message3File1 - 
Message4]
  | 2007-04-19 15:21:12,059 [Timer-1] WARN  -
  | [EMAIL PROTECTED]: detected 
  | failure on control connection Thread[control: 
Socket[addr=ddp4344.cptdomain.com/192.168.51.48,port=3197,
  | localport=2112],5,]: requesting new control connection
  | 2007-04-19 15:22:03,914 [Thread-8] WARN  - Client attempted failover, 
  | but no failover attempt has been detected on the server side. 
  | We will now try again on the original server in case there was a 
  | temporary glitch on the client--server network
  | 2007-04-19 15:22:15,900 [Thread-8] ERROR - Unable to retrieve address/port 
of secondary server socket
  | org.jboss.remoting.CannotConnectException: Can not get connection to 
server. 
  | Problem establishing socket connection for InvokerLocator
  | 
[bisocket://192.168.51.48:4457/?NumberOfCallRetries=2clientMaxPoolSize=50clientSocketClass=
  | 
org.jboss.jms.client.remoting.ClientSocketWrapperdataType=jmsmarshaller=
  | 
org.jboss.jms.server.remoting.JMSWireFormatnumberOfRetries=1serializationtype=
  | 
jmssocket.check_connection=falseunmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
  | 

What could be the reason?

Please Suggest me.

Thanks  Regards,
Abdul Kareem

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038810#4038810

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038810
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working

2007-04-19 Thread timfox
Please can you explain again clearly exactly what your set up is and what you 
are doing (killing process control-c or whatever)?

Also can you post your code example?

Thx

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038817#4038817

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working

2007-04-19 Thread timfox
Also - you said version 2.2.0 - you meant 2.2.0.SP1?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038819#4038819

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038819
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working

2007-04-19 Thread timfox
https://svn.jboss.org/repos/repository.jboss.org/remoting/2.2.0.SP1/lib


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038852#4038852

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038852
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working

2007-04-19 Thread timfox
For anonymous access use:

http://anonsvn.jboss.org/repos/repository.jboss.org/remoting/2.2.0.SP1/lib/

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4038857#4038857

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038857
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user