1 Reply Latest reply on Dec 16, 2004 5:36 AM by greydeath

    MDB 2.1 Deployment error messages

    greydeath

      During deployment I get the following Warnings:

      11:14:34,971 WARN [JMSContainerInvoker] No message-driven-destination given; using; guessing type
      11:14:35,142 WARN [JMSContainerInvoker] No message-driven-destination given; using; guessing type
      11:14:35,365 WARN [JMSContainerInvoker] Could not determine destination type, defaults to: javax.jms.Topic
      11:14:35,691 WARN [JMSContainerInvoker] No message-driven-destination given; using; guessing type
      11:14:35,717 WARN [JMSContainerInvoker] No message-driven-destination given; using; guessing type

      That is new since I changed my deployment descriptors to be a correct 2.1 ejb-jar.xml:

      <message-driven >
       <description>[CDATA[]]</description>
       <ejb-name>TPSProxy</ejb-name>
       <ejb-class>com.ftisoft.gateway.ejb.queue.JMSProxy</ejb-class>
       <transaction-type>Container</transaction-type>
       <message-destination-type>javax.jms.Queue</message-destination-type>
       <ejb-local-ref >
       <ejb-ref-name>ejb/BusinessBean</ejb-ref-name>
       <ejb-ref-type>Session</ejb-ref-type>
       <local-home>com.ftisoft.tp.interfaces.TransactionProcessorBeanLocalHome</local-home>
       <local>com.ftisoft.tp.interfaces.TransactionProcessorBeanLocal</local>
       <ejb-link>TransactionProcessorBean</ejb-link>
       </ejb-local-ref>
      </message-driven>

      the jboss.xml entry for this is:
      <message-driven>
       <ejb-name>TPSProxy</ejb-name>
       <destination-jndi-name>queue/A</destination-jndi-name>
       <configuration-name>TPS MDB</configuration-name>
      </message-driven>

      All my 4 MDB's look similar.

      Can somebody pls verivy that this is a bug or tell me what I did wrong.

      Thanks

        • 1. Re: MDB 2.1 Deployment error messages
          greydeath

          I think this is definitly a bug as jboss ignores the message selector in the following MDB

          <message-driven >
           <description>[CDATA[]]</description>
          
           <ejb-name>TransactionWriterBean</ejb-name>
          
           <ejb-class>com.ftisoft.streetlamp.ejb.TransactionWriter</ejb-class>
          
           <messaging-type>javax.jms.MessageListener</messaging-type>
           <transaction-type>Container</transaction-type>
           <message-destination-type>javax.jms.Topic</message-destination-type>
           <activation-config>
           <activation-config-property>
           <activation-config-property-name>destinationType</activation-config-property-name>
           <activation-config-property-value>javax.jms.Topic</activation-config-property-value>
           </activation-config-property>
           <activation-config-property>
           <activation-config-property-name>messageSelector</activation-config-property-name>
           <activation-config-property-value>streetlampWritten <> true</activation-config-property-value>
           </activation-config-property>
           </activation-config>
          
           <resource-ref >
           <res-ref-name>jdbc/HibernateFactory</res-ref-name>
           <res-type>net.sf.hibernate.SessionFactory</res-type>
           <res-auth>Container</res-auth>
           </resource-ref>
          
          </message-driven>