0 Replies Latest reply on Sep 2, 2002 7:41 AM by sanjay

    Not able to deploy MDB in JBOSS3.0

    sanjay Newbie

      Hi,
      I get the following error when deployed MDB..

      INFO [JMSContainerInvoker] Trying to reconnect to JMS provider
      ERROR [JMSContainerInvoker] Reconnect failed: JMS provider failure detected:
      org.jboss.mq.SpyJMSException: Cannot subscribe to this Destination: null
      at org.jboss.mq.Connection.addConsumer(Connection.java:974)

      This keeps running continously..

      My ejb-jar.xml is...

      <?xml version="1.0"?>
      <!DOCTYPE ejb-jar>

      <ejb-jar>
      <enterprise-beans>

      <message-driven>
      <ejb-name>MDBInvokerBean</ejb-name>
      <ejb-class>com.vergil.bizlet.MDBInvokerBean</ejb-class>
      <message-selector></message-selector>
      <transaction-type>Bean</transaction-type>
      <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
      <message-driven-destination>
      <destination-type>javax.jms.Topic</destination-type>
      <subscription-durability>Durable</subscription-durability>
      </message-driven-destination>

      </message-driven>

      <assembly-descriptor>
      <container-transaction>

      <ejb-name>MDBInvokerBean</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      </assembly-descriptor>

      </enterprise-beans>
      </ejb-jar>

      My jboss.xml is ..

      <?xml version="1.0"?>

      <enterprise-beans>
      <message-driven>
      <ejb-name>MDBInvokerBean</ejb-name>
      <configuration-name>Standard Message Driven Bean</configuration-name>
      <destination-jndi-name>topic/vergil.bizlet.jms.connectionTopic</destination-jndi-name>
      <mdb-user>guest</mdb-user>
      <mdb-passwd>guest</mdb-passwd>
      <mdb-client-id>SampleUser</mdb-client-id>
      </message-driven>
      </enterprise-beans>


      My jbossmq-state.xml is..


      SampleUser
      vergil.bizlet.jms.connectionTopic


      could anyone let me know what needs to be done to test my MDB.

      Regards
      P.SAnjay