2 Replies Latest reply on Aug 8, 2007 2:26 PM by timfox

    DefaultJMSProvider not bound

    raickman

      Hi,

      I am using JBoss v 4.0.4 GA, and don't understand this:

      I get the following error when starting JBoss:

      -------------------------------------------------------------------------------------
      13:26:43,391 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:ear=app-3.5.3.ear,jar=workflow-1.0.0.jar,name=BusinessProcessMessageBean,service=EJB3
      State: FAILED
      Reason: javax.naming.NameNotFoundException: DefaultJMSProvider not bound
      I Depend On:
      persistence.units:ear=app-3.5.3.ear,jar=workflow-1.0.0.jar,unitName=manager1

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.j2ee:ear=app-3.5.3.ear,jar=workflow-1.0.0.jar,name=BusinessProcessMessageBean,service=EJB3
      State: FAILED
      Reason: javax.naming.NameNotFoundException: DefaultJMSProvider not bound
      I Depend On:
      persistence.units:ear=app-3.5.3.ear,jar=workflow-1.0.0.jar,unitName=manager1
      -------------------------------------------------------------------------------------

      In the deploy directory, I put in infoqueue-destinations-service.xml:

      <mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=myNotificationQueue">
       <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
       <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
       <attribute name="SecurityConf">
       <security>
       <role name="administrator" read="true" write="true" create="true"/>
       <role name="user" read="true" write="true" create="true"/>
       </security>
       </attribute>
       </mbean>
      


      In jboss-service.xml:
      <attribute name="RecursiveSearch">True</attribute>
      


      If I drop my ear file when JBoss is already started, everthing works!
      Could you please tell me what I m doing wrong ?

      Thanks