2 Replies Latest reply on Jan 26, 2004 12:05 AM by prasanna_b2001

    Jboss.xml and Jbossmq.xml

    prasanna_b2001

      Hi All


      I am new to JBOSS 3.2.3. I have created Message Driven Bean. Now i am getting some problwm with deployment. It is saying that it is not able to find the jndi name, so that it is creating its own temporary destination.

      Plz help me to create those files.

      Thanx
      Prasanna

        • 1. Re: Jboss.xml and Jbossmq.xml
          raja05

           

          "raja05" wrote:
          what jndi name? Have u deployed ur queue/topic. Look up
          http://localhost:8080/jmx-console to see if ur queue/topics are installed in the instance.
          Post ur jboss.xml if this dint work out


          • 2. Re: Jboss.xml and Jbossmq.xml
            prasanna_b2001

            Hi Raj

            I am pasting all the XML contents. Actually i have to deploy 1 SLB and 3 MDB, for that i need to create one connection factory and 3 topics. Plz go thru the XML content and let me know where i have done mistake and tell me whether i have to edit/need any other XML files.

            Thanx in Advance
            Prasanna


            JBOSS.XML

            <?xml version="1.0"?>

            <enterprise-beans>

            <ejb-name>LogControllerSLB</ejb-name>
            <configuration-name>Standard Stateless SessionBean</configuration-name>
            <jndi-name>LogControllerSLB</jndi-name>


            <message-driven>
            <ejb-name>RequestProcessorMB</ejb-name>
            <configuration-name>Standard Message Driven Bean</configuration-name>
            <destination-jndi-name>topic/processrequest</destination-jndi-name>
            </message-driven>

            <message-driven>
            <ejb-name>LogControllerMB</ejb-name>
            <configuration-name>Standard Message Driven Bean</configuration-name>
            <destination-jndi-name>topic/logging</destination-jndi-name>
            </message-driven>

            <message-driven>
            <ejb-name>InstanceRequestProcessorMB</ejb-name>
            <configuration-name>Standard Message Driven Bean</configuration-name>
            <destination-jndi-name>topic/internalprocessrequest</destination-jndi-name>
            </message-driven>
            </enterprise-beans>



            JBOSSMQ-DESTINATION-SERVICE.XML


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


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


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



            JMS-DS.XML

            <tx-connection-factory>
            <jndi-name>esolvconfactory</jndi-name>
            <xa-transaction/>
            <adapter-display-name>JMS Adapter</adapter-display-name>
            <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
            <security-domain-and-application>JmsXARealm</security-domain-and-application>
            </tx-connection-factory>