[jboss-user] [JBoss Messaging] - Failover failed

grafzal do-not-reply at jboss.com
Mon Oct 13 12:49:53 EDT 2008


Hello,

I am using JBoss 4.3.0.GA_CP01. I purchased the JBoss Developer Studio and so I got no support contract. I have set up a cluster with 2 Servers and a client which is connected to one of these (Topic with clustered=true and ClusteredConnectionFactory). When I shut down the server to which the client is conected failover is not working and I get the following exception on the client:

 [java] ERROR 13-10 18:01:46,553 (FailoverCommandCenter.java:failureDetected:186)  -Failover failed
     [java] javax.jms.JMSException: Cannot find a cached connection factory delegate for node -1
     [java]     at org.jboss.jms.client.container.ClusteringAspect.handleCreateConnectionDelegate(ClusteringAspect.java:217)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
     [java]     at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
     [java]     at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.createConnectionDelegate(ClientClusteredConnectionFactoryDelegate.java)
     [java]     at org.jboss.jms.client.FailoverCommandCenter.failureDetected(FailoverCommandCenter.java:129)
     [java]     at org.jboss.jms.client.container.ConnectionFailureListener.handleConnectionException(ConnectionFailureListener.java:62)
     [java]     at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:81)
     [java]     at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:561)
     [java] ERROR 13-10 18:01:46,563 (ConnectionFailureListener.java:handleConnectionException:66)  -Caught exception in handling failure
     [java] javax.jms.JMSException: Cannot find a cached connection factory delegate for node -1
     [java]     at org.jboss.jms.client.container.ClusteringAspect.handleCreateConnectionDelegate(ClusteringAspect.java:217)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
     [java]     at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
     [java]     at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.createConnectionDelegate(ClientClusteredConnectionFactoryDelegate.java)
     [java]     at org.jboss.jms.client.FailoverCommandCenter.failureDetected(FailoverCommandCenter.java:129)
     [java]     at org.jboss.jms.client.container.ConnectionFailureListener.handleConnectionException(ConnectionFailureListener.java:62)
     [java]     at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:81)
     [java]     at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:561)
     [java] ERROR 13-10 18:01:47,853 (FailoverCommandCenter.java:failureDetected:186)  -Failover failed
     [java] javax.jms.JMSException: Cannot find a cached connection factory delegate for node -1
     [java]     at org.jboss.jms.client.container.ClusteringAspect.handleCreateConnectionDelegate(ClusteringAspect.java:217)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
     [java]     at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
     [java]     at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.createConnectionDelegate(ClientClusteredConnectionFactoryDelegate.java)
     [java]     at org.jboss.jms.client.FailoverCommandCenter.failureDetected(FailoverCommandCenter.java:129)
     [java]     at org.jboss.jms.client.container.ConnectionFailureListener.handleConnectionException(ConnectionFailureListener.java:62)
     [java]     at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:81)
     [java]     at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:561)
     [java] ERROR 13-10 18:01:47,858 (ConnectionFailureListener.java:handleConnectionException:66)  -Caught exception in handling failure
     [java] javax.jms.JMSException: Cannot find a cached connection factory delegate for node -1
     [java]     at org.jboss.jms.client.container.ClusteringAspect.handleCreateConnectionDelegate(ClusteringAspect.java:217)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
     [java]     at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
     [java]     at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.createConnectionDelegate(ClientClusteredConnectionFactoryDelegate.java)
     [java]     at org.jboss.jms.client.FailoverCommandCenter.failureDetected(FailoverCommandCenter.java:129)
     [java]     at org.jboss.jms.client.container.ConnectionFailureListener.handleConnectionException(ConnectionFailureListener.java:62)
     [java]     at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:81)
     [java]     at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:561)

Thanks for your help...

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

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



More information about the jboss-user mailing list