0 Replies Latest reply on Oct 19, 2010 7:06 AM by Younes Yahyaoui

    Problem Occured when try to use ClusteredConnectionFactory

    Younes Yahyaoui Novice

      Hello,

       

      When trying to build a Cluster ESB, i have changed the used  ConnectionFactory in jboss-messaging.sar/connection-factories-service.xml from name="jboss.messaging.connectionfactory:service=ConnectionFactory" to name="jboss.messaging.connectionfactory:service=ClusteredConnectionFactory". But when startup the Server i get the following Error:

       

       

      12:02:58,437 ERROR [JmsActivation] Unable to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@165d9bd(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@1a0b39b destination=queue/CallbackQueue destinationType=javax.jms.Queue tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=1 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
      javax.naming.NameNotFoundException: XAConnectionFactory
      at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242)
      at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
      at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312)
      at $Proxy73.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:694)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at org.jboss.util.naming.Util.lookup(Util.java:215)
      at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQConnection(AbstractDLQHandler.java:131)
      at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:83)
      at org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)
      at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:381)
      at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:327)
      at org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:271)
      at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:675)
      at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:213)
      at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756)
      at java.lang.Thread.run(Unknown Source)
      
      

       

       

      can someone help me please?