4 Replies Latest reply on Jul 21, 2003 12:39 PM by Andrew Boyd

    javax.naming.NameNotFoundException: DefaultJMSProvider not b

    vshah Newbie

      Hello All,
      I am new to MDB on JBoss and I get the following error.

      435 ERROR [JMSContainerInvoker] Starting failed
      javax.naming.NameNotFoundException: DefaultJMSProvider not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)


      my jbossmq-destinations-service.xml is :




      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager





      my jboss.xml is :

      <enterprise-beans>
      <message-driven>
      <ejb-name>EmailMDB</ejb-name>
      <configuration-name>Standard Message Driven Bean</configuration-name>
      <destination-jndi-name>queue/EmailQueue</destination-jndi-name>
      </message-driven>
      </enterprise-beans>


      my ejb-jar.xml is :
      <ejb-jar>
      <enterprise-beans>
      <message-driven>
      <ejb-name>EmailMDB</ejb-name>
      <ejb-class>com.customware.ejb.EmailMDB</ejb-class>
      <transaction-type>Container</transaction-type>
      <message-driven-destination>
      <destination-type>javax.jms.Queue</destination-type>
      </message-driven-destination>
      </message-driven>
      </enterprise-beans>
      </ejb-jar>

      Can someone tell me what could possibly be wrong?

      Thanks!!!