1 Reply Latest reply on Apr 9, 2008 11:42 AM by Adrian Brock

    Problem Integrating MDB on Jboss appserver listening to IBM

    Ritesh Shetty Newbie

      Hi All,
      I am having problem configuring my MDB's(on Jboss appserver 4.0.2) to listen to IBM MQ on remote host. I followed the JCA method of resource adaptors and all the configurations seems to be correct. I am getting following exception when i start the server.

      Note that when i produce or consume message using JMS api's through JCA i am able to sucessfully do so.


      2008-04-03 15:06:21,896 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:service=EJB,plugin=invoker,binding=wsmq-message-driven-bean,jndiName=local/HistorySubscriberAdaptor@30107797
      org.jboss.deployment.DeploymentException: Endpoint activation failed ra=jboss.jca:service=RARDeployment,name='wmq.jmsra.rar' activationSpec=javax.jms.Queue:myqueueXXXX@@localhost; - nested throwable: (javax.resource.spi.ResourceAdapterInternalException: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:')
      at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
      at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.activate(JBossMessageEndpointFactory.java:477)
      at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.startService(JBossMessageEndpointFactory.java:210)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)