Have you added the testDurableTopic to the correct jboss.jcml?
Check JNDI view from the management gui (8082) to see that it is really there.
Configuring the jboss\conf\default\jboss.jcml and launching JBoss with bin\run.bat. Configuring the jboss.jcml w/...
...and the testDurableTopic destination does not appear in the JMX RI Agent view.
Of course when making this topic...
...the testDurableTopic destination does appear in the JMX RI Agent view.
This is did not get. I just know that people have had problems finding the correct jboss.jcml when using the jboss-tomcat dist, since it is then in conf/tomcat and not in conf/default. This is a common error, and its better to check that first than start some long debugging detour.
Using the JBoss & Tomcat bundle. Somebody correct me if I'm wrong, when launching jboss with jboss\bin\run_with_tomcat.bat the jboss\conf\tomcat\jboss.jcml file is used. And, when launching jboss with jboss\bin\run.bat the jboss\conf\default\jboss.jcml file is used.
Anyways to avoid confusion as to which jboss.jcml file was used I added the testDurableTopic to both jboss\conf\default\jboss.jcml and jboss\conf\tomcat\jboss.jcml. The results were still the same, the testDurableTopic does not appear in the JMX RI Agent View. Again creating the topic by following the instructions in the manual...
My version of JBoss...
Order of MBeans in the file might matter. Do you have it placed next to the other TopicManager mbeans??
(This order problem is being fixed in the CVS HEAD with mbean-ref declarations)
Here's an order that I've tried, the testDurableTopic is the first one...
<!-- The following three line create 3 topics named: testTopic, example, and bob -->
Here's the JMX RI Agent View...
The mbean code "org.jbossmq.server.TopicManager" just does not create a topic destination.
I see the problem. Notice the difference of the following two lines:
Yes, thats right. Your missing the period in jboss.mq