-
1. Re: Durable Topic Example
pra Nov 11, 2001 11:21 AM (in response to lichtenw)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.
//Peter -
2. Re: Durable Topic Example
lichtenw Nov 11, 2001 9:39 PM (in response to lichtenw)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. -
3. Re: Durable Topic Example
pra Nov 12, 2001 3:02 AM (in response to lichtenw)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.
//Peter -
4. Re: Durable Topic Example
lichtenw Nov 12, 2001 5:47 PM (in response to lichtenw)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...
JBOSS_DIST=c:\JBoss-2.4.3_Tomcat-3.2.3\jboss -
5. Re: Durable Topic Example
hchirino Nov 13, 2001 12:11 AM (in response to lichtenw)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) -
6. Re: Durable Topic Example
lichtenw Nov 13, 2001 11:59 AM (in response to lichtenw)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...
JBossMQ
service=InvocationLayer,type=JVM
service=InvocationLayer,type=OIL
service=InvocationLayer,type=RMI
service=InvocationLayer,type=UIL
service=PersistenceManager
service=Queue,name=A
service=Queue,name=B
service=Queue,name=C
service=Queue,name=D
service=Queue,name=E
service=Queue,name=F
service=Queue,name=controlQueue
service=Queue,name=testQueue
service=Server
service=StateManager
service=Topic,name=bob
service=Topic,name=example
service=Topic,name=testTopic
The mbean code "org.jbossmq.server.TopicManager" just does not create a topic destination. -
7. Re: Durable Topic Example
hchirino Nov 18, 2001 10:11 PM (in response to lichtenw)I see the problem. Notice the difference of the following two lines:
Yes, thats right. Your missing the period in jboss.mq
Regards,
Hiram