-
1. JBoss-5.1.0.GA: Unable to inject jndi dependency
wdfink Apr 18, 2011 11:00 AM (in response to pi4630)Looks like that the JMS Topic (topic/testTopic) is not deployed.
I suppose if you use a default 5.1 community the testTopic is not configured.
You have to add it to the server/.../deploy/messaging/destinations-service.xml, or deploy your own ...-service.xml
-
2. Re: JBoss-5.1.0.GA: Unable to inject jndi dependency
pi4630 Apr 19, 2011 10:01 AM (in response to wdfink)Thanks, Wolf-Dieter.
The following mbean destination was not included:
{code}
<mbean code="org.jboss.mq.server.jmx.Topic"
name="jboss.mq.destination:service=Topic,name=testTopic">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
<depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
<attribute name="SecurityConf">
<security>
<role name="guest" read="true" write="true"/>
<role name="publisher" read="true" write="true" create="false"/>
<role name="durpublisher" read="true" write="true" create="true"/>
</security>
</attribute>
</mbean>
{code}
which is the "default" Topic destination as of JBoss 4. These lines are to be added in the destinations-service.xml, as you mentioned.
Thanks