3 Replies Latest reply on Mar 14, 2009 3:10 AM by beve

    Problems with ESB Deploy with JBoss Tools 3.0

      I 've learned JBOSS ESB for a few days, copy the "helloworld" Sample in the ESB package,
      in JBossTools create an "NewESB" ESB project,

      this is jboss-esb.xml:
      ...

      <jms-provider connection-factory="ConnectionFactory" name="JBossMQ">
      <jms-bus busid="GwChannel">
      <jms-message-filter dest-name="queue/helloworld_gateway" dest-type="QUEUE"/>
      </jms-bus>
      <jms-bus busid="EsbChannel">
      <jms-message-filter dest-name="queue/helloworld_esb" dest-type="QUEUE"/>
      </jms-bus>
      </jms-provider>

      ....

      and this is deployment.xml:
      <jbossesb-deployment>
      jboss.esb.quickstart.destination:service=Queue,name=helloworld_esb
      jboss.esb.quickstart.destination:service=Queue,name=helloworld_gateway
      </jbossesb-deployment>

      and this is the jbmq-queue-service.xml:


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



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





      When deploy it to JBoss 4.2 Server, problem list:

      05:33:40,937 INFO [JBoss4ESBDeployer] create esb service, NewESB.esb
      05:33:40,978 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.esb:deployment=NewESB.esb
      State: NOTYETINSTALLED
      I Depend On:
      jboss.esb:deployment=jbossesb.esb
      jboss.esb.quickstart.destination:service=Queue,name=helloworld_esb
      jboss.esb.quickstart.destination:service=Queue,name=helloworld_gateway

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.esb.quickstart.destination:service=Queue,name=helloworld_esb
      State: NOTYETINSTALLED
      Depends On Me:
      jboss.esb:deployment=NewESB.esb

      what's the problem, is there some pre-configurations in server? any reply will be helpfull
      (I've make sure the JBoss ESB has been installed successfully, and the sample can be runned with ANT)

        • 1. Re: Problems with ESB Deploy with JBoss Tools 3.0
          beve

          Hi,

          --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
          ObjectName: jboss.esb.quickstart.destination:service=Queue,name=helloworld_esb
          State: NOTYETINSTALLED

          Looks like there might be something wrong in your JBossMQ destination definition file (jbmq-queue-service.xml). Could you post its content and use the 'Code' tags so that it gets displayed properly.

          Thanks,

          /Daniel

          • 2. Re: Problems with ESB Deploy with JBoss Tools 3.0

            here is the jbmq-queue-service.xml, just copy the helloworld and with the jndi name modified

            <?xml version="1.0" encoding="UTF-8"?>
            <server>
             <mbean code="org.jboss.mq.server.jmx.Queue"
             name="jboss.esb.quickstart.destination:service=Queue,name=helloworld_esb">
             <depends optional-attribute-name="DestinationManager">
             jboss.mq:service=DestinationManager
             </depends>
             </mbean>
             <mbean code="org.jboss.mq.server.jmx.Queue"
             name="jboss.esb.quickstart.destination:service=Queue,name=helloworld_gateway">
             <depends optional-attribute-name="DestinationManager">
             jboss.mq:service=DestinationManager
             </depends>
             </mbean>
            </server>
            


            • 3. Re: Problems with ESB Deploy with JBoss Tools 3.0
              beve

              That looks OK to me.

              Can you diff/compare the actual .esb archive produced by JBoss Tools with the one from the helloworld quickstart and see if there is something different?

              with the jndi name modified

              Which jndi name are you referring to?

              Regards,

              /Daniel