0 Replies Latest reply on Feb 3, 2006 1:58 PM by rtselvan

    DefaultJMSProvider not bound for ActiveMQ rar with EJB3-RC5

    rtselvan

      Getting the following exception when I deployed a message drive bean to use the active-mq. adapter for jca-inflow. I followed the swiftmq rca instruction and getting the following error.


      Caused by: javax.naming.NameNotFoundException: DefaultJMSProvider not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:528)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:281)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at org.jboss.ejb3.mdb.MDB.getJMSProviderAdapter(MDB.java:827)
      at org.jboss.ejb3.mdb.MDB.innerCreate(MDB.java:397)
      at org.jboss.ejb3.mdb.MDB.innerStart(MDB.java:267)
      at org.jboss.ejb3.mdb.MDB.start(MDB.java:256)
      ... 126 more
      2006-02-03 10:40:40,166 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,ear=sample.ear,jar=sample.jar,name=MessageSenderBean with dependencies:
      2006-02-03 10:40:40,213 INFO [org.jboss.ejb3.EJB3Deployer] Deployed: file:/C:/software/servers/jboss-4.0.3SP1/server/default/tmp/deploy/tmp63985sample.ear-contents/sample.jar
      2006-02-03 10:40:40,229 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/sample, warUrl=.../tmp/deploy/tmp63985sample.ear-contents/sample-exp.war/
      2006-02-03 10:40:40,322 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/C:/software/servers/jboss-4.0.3SP1/server/default/deploy/sample.ear
      2006-02-03 10:40:40,322 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:service=EJB3,ear=sample.ear,jar=sample.jar,name=receiverMDB
      State: FAILED
      Reason: java.lang.reflect.InvocationTargetException

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.j2ee:service=EJB3,ear=sample.ear,jar=sample.jar,name=receiverMDB
      State: FAILED
      Reason: java.lang.reflect.InvocationTargetException

      A point to note that I don't have the jboss JMS deployed.

      Thanks