关于JBOSS ESB的部署问题

来源:百度文库 编辑:神马文学网 时间:2024/04/28 20:36:36
刚刚接触JBOSS ESB 4.5, 按照自带的helloworld Sample,  
新建NewESB工程, 并在在jboss-esb.xml文件配置ESB消息:
  ...

  
  
  
  

  
  
  

  


  ....

在deployment.xml中:

jboss.esb.quickstart.destination:service=Queue,name=helloworld_esb  
jboss.esb.quickstart.destination:service=Queue,name=helloworld_gateway

在jbmq-queue-service.xml中写:

  
  
  jboss.mq:service=DestinationManager
  

  

  name="jboss.esb.quickstart.destination:service=Queue,name=helloworld_gateway">
  
  jboss.mq:service=DestinationManager
  

  




用JBOSS TOOLS 3.0部署NewESB时出现以下问题:

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
  到底是什么问题,是不是服务器上哪里没有配置?请大家帮忙(JBoss ESB已安装成功, 可以用Ant运行Sample)

bennyparlo 发表于 2010-5-20 09:39

因为jbossesb-server-4.5.GA已经默认将jboss-4.2.3.GA中自带的mq替换成jboss-messaging,所以相应的queue定义也需要改换,如:
                        name="jboss.messaging.destination:service=Queue,name=distribution_request_gateway"
                xmbean-dd="xmdesc/Queue-xmbean.xml">
                jboss.messaging:service=ServerPeer
               

                jboss.messaging:service=PostOffice