3 Replies Latest reply on Oct 21, 2010 8:25 AM by Wolf-Dieter Fink

    Problem in connecting Remote Queue(JBoss 5.1 - JBoss Messaging) from an MDB(JBoss 4.2.2 - JBoss MQ)

    KVMKrishna Reddy Newbie

      Hi,

       

      I am faincg problem in connecting to  remote queue by using MDB. Remote Queue is hosted on JBoss 5.1 (which has JBoss Messaging)  and MDB deployed in JBoss 4.2.2 (which has JBoss MQ).

       

      Find the below exception

       

       

      2010-10-21 05:05:04,774 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected for LifecycleMDB
      java.lang.IllegalArgumentException: Wrong target. class org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate for public org.jboss.jms.delegate.CreateConnectionResult org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(java.lang.String,java.lang.String,int) throws javax.jms.JMSException
      at org.jboss.aop.joinpoint.MethodInvocation.handleErrors(MethodInvocation.java:141)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:116)
      at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
      at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
      at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
      at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
      at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
      at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:187)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:510)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:839)

       

      Thanks and Regards

      Murali Reddy