万能的Jdon, JBoss ESB求救!
小弟刚刚接触JBOSS ESB 4.5, 按照自带的helloworld Sample,
新建NewESB工程, 并在在jboss-esb.xml文件配置ESB消息:
...
<providers>
<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>
</providers>
....
在deployment.xml中:
<jbossesb-deployment>
<depends>jboss.esb.quickstart.destination:service=Queue,name=helloworld_esb</depends>
<depends>jboss.esb.quickstart.destination:service=Queue,name=helloworld_gateway</depends>
</jbossesb-deployment>
在jbmq-queue-service.xml中写:
<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>
用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)