2 Replies Latest reply on Nov 18, 2004 8:52 AM by arvind_pv

    Regd : JMS Configuration

    arvind_pv

      Hi all,

      I'm deploying two applications in JBoss 4.0.
      Each application has got 3 MDB and their type is Queue.

      this is code present in ejb-jar.xml

      <message-driven>
      <ejb-name>MailSenderEJB</ejb-name>
      <ejb-class>com.applabs.ghx.globalbrowser.beans.MailSenderBean</ejb-class>
      <transaction-type>Container</transaction-type>
      <message-driven-destination>
      <destination-type>javax.jms.Queue</destination-type>
      </message-driven-destination>
      </message-driven>



      and this is the code present in jboss.xml file

      <message-driven>
      <ejb-name>MailSenderEJB</ejb-name>
      <destination-jndi-name>queue/ghxgb/mailSender</destination-jndi-name>
      <jndi-name>MailSenderEJB</jndi-name>
      </message-driven>


      and the code presented in jbossmq-destination.xml file is


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


      when I start the server I'm getting below code in the console as

      18:28:13,828 WARN [JMSContainerInvoker] destination not found: queue/MailSender EJB reason: javax.naming.NameNotFoundException: MailSenderEJB not bound
      18:28:13,828 WARN [JMSContainerInvoker] creating a new temporary destination: queue/MailSenderEJB
      18:28:13,844 INFO [MailSenderEJB] Bound to JNDI name: queue/MailSenderEJB

      after that it's deploying one ear file, but it's not deploying another ear file

      please help me in solving this problem

      thanks
      arvind

        • 1. Re: Regd : JMS Configuration

          What's the exception it gives while deploying the second one?

          • 2. Re: Regd : JMS Configuration
            arvind_pv

            this is the first application status message after that i should display the second application status message but it's not displaying it.

            JBoss is extracting the second application files to the folder,but when I'm accessing it, it showing it as 404 status message

            19:11:42,700 INFO [EJBDeployer] Deployed: file:/D:/jboss-4.0.0/server/default/t
            mp/deploy/tmp10053ghxgb.ear-contents/ghxgb.jar
            19:11:42,872 INFO [TomcatDeployer] deploy, ctxPath=/ghxgb, warUrl=file:/D:/jbos
            s-4.0.0/server/default/tmp/deploy/tmp10053ghxgb.ear-contents/ghxgb-exp.war/

            after this it should display second ear file but it's not.

            arvind