1 Reply Latest reply on Mar 3, 2002 8:21 PM by moatas

    JMS/MDB configuration in 3.0.0beta

    rinehart

      I'm having some problems getting an MDB deployed. My error message is:

      2002-03-03 10:33:48,238 ERROR [org.jboss.ejb.EntityContainer] Exception in service lifecyle operation: create
      javax.naming.NameNotFoundException: TopicConnectionFactory not bound

      Since jbossmq.xml no longer exists, I've just been shooting from the hip on configuration. Here's what I've got:

      in ejb-jar.xml
      <message-driven>
      <ejb-name>GenerateStatementEJB</ejb-name>
      <ejb-class>
      com.sextanttech.messages.GenerateStatementBean
      </ejb-class>
      <transaction-type>Container</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>

      in jboss.xml
      <message-driven>
      <ejb-name>GenerateStatementEJB</ejb-name>
      <configuration-name>
      Standard Message Driven Bean
      </configuration-name>
      <destination-jndi-name>topic/testTopic</destination-jndi-name>
      <mdb-user>john</mdb-user>
      <mdb-passwd>needle</mdb-passwd>
      <mdb-subscriber-id>DurrableSubscriberExample</mdb-subscriber-id>
      </message-driven>

      any ideas on the root cause of this issue? Thanks in advance for assistance.

      - Mac