-
1. Re: Message driven bean can't subscribe to multiple (wildcard) topics
gaohoward Nov 28, 2010 11:17 PM (in response to dgyimesi)HornetQ uses "#" instead of "*", can you check your configuration?
-
2. Re: Message driven bean can't subscribe to multiple (wildcard) topics
dgyimesi Nov 29, 2010 4:15 AM (in response to gaohoward)I'm sorry, I forgot to mention that I've already tried with #.TRACKING.#. MessageContainer throws the same exception.
By the way the full exception is: http://pastebin.com/E4CzmRKQ
-
3. Re: Message driven bean can't subscribe to multiple (wildcard) topics
ataylor Nov 29, 2010 4:39 AM (in response to dgyimesi)This is to do with the jboss naming server rather than HornetQ. Since that destination doesn't actually exist nothing can be added to the jndi naming server. However you can override the use of jndi by setting the activation property 'useJNDI' to false.
-
4. Re: Message driven bean can't subscribe to multiple (wildcard) topics
dgyimesi Nov 29, 2010 5:19 AM (in response to ataylor)The strage thing is that the JNDI name exists, I can see it in the JNDIView and I set the correct deployment order in JBoss to create the topics before any MDB or JMS-based code would run.
Of course I'll try out setting 'useJNDI' to false.
Thank you!
-
5. Re: Message driven bean can't subscribe to multiple (wildcard) topics
ataylor Nov 29, 2010 4:44 AM (in response to dgyimesi)you wont see an entry for a wildcard topic in jndi only the actual topic
-
6. Re: Message driven bean can't subscribe to multiple (wildcard) topics
dgyimesi Nov 29, 2010 5:22 AM (in response to ataylor)You're right, sorry.
Unfortunately setting the property doesn't solve the problem, I get the same exception.
-
7. Re: Message driven bean can't subscribe to multiple (wildcard) topics
ataylor Nov 29, 2010 5:49 AM (in response to dgyimesi)can you post the exception
-
9. Re: Message driven bean can't subscribe to multiple (wildcard) topics
clebert.suconic Nov 29, 2010 10:07 AM (in response to dgyimesi)Unfortunately I don't have anything to say besides take a look at the manuals... start with the Quick Guide, and then take a look at the complete manual.
The fact you're getting a MQ Exception means you don't have a proper installation working, and you have your old MQ deployment descriptor in place.
javax.management.InstanceNotFoundException: jboss.mq:service=DestinationManager is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
at org.jboss.ejb3.jms.DestinationManagerJMSDestinationFactory.createDestination(DestinationManagerJMSDestinationFactory.java:75)
at org.jboss.ejb3.mdb.MessagingContainer.createTemporaryDestination(MessagingContainer.java:573)
at org.jboss.ejb3.mdb.MessagingContainer.createDestination(MessagingContainer.java:512)
javax.management.InstanceNotFoundException: jboss.mq:service=DestinationManager is not registered.at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)at org.jboss.ejb3.jms.DestinationManagerJMSDestinationFactory.createDestination(DestinationManagerJMSDestinationFactory.java:75)at org.jboss.ejb3.mdb.MessagingContainer.createTemporaryDestination(MessagingContainer.java:573)at org.jboss.ejb3.mdb.MessagingContainer.createDestination(MessagingContainer.java:512) -
10. Re: Message driven bean can't subscribe to multiple (wildcard) topics
dgyimesi Nov 29, 2010 10:44 AM (in response to clebert.suconic)What else should I do as deployment like run 'ant as4' in HornetQ's config/jboss-as directory?
Neither the documantation says more.
-
11. Re: Message driven bean can't subscribe to multiple (wildcard) topics
clebert.suconic Nov 29, 2010 11:28 AM (in response to dgyimesi)Look at the doc as to how to configure queues / topics.
The old XMLs for MQ / JBM are not valid with HornetQ.
-
12. Re: Message driven bean can't subscribe to multiple (wildcard) topics
dgyimesi Dec 6, 2010 9:28 AM (in response to dgyimesi)Having JBoss 4.2.3GA reinstalled the exception disappeared.
Since then I've another issue, will open a new thread for it.
Thank all of you!