This content has been marked as final. Show 3 replies
23:26:46,068 WARN [JMSContainerInvoker] destination not found: topic/WebRuleImportTopic reason: javax.naming.NameNotFoundExc
eption: WebRuleImportTopic not bound
We need more details:
1) When does this WARN message come up? Is it during deploying the application? Is there any exception stacktrace that you can post?
2) Also note that your MDB is pointing to the WebRuleExportTopic topic whereas the NamenotFoundException mentions WebRuleImportTopic - which means either there's a typo in your post or you havent configured the MDB/topic correctly.
3) Have you configured your topic. This is usually done in the jbossmq-destinations-service.xml file present under %JBOSS_HOME%/server/default/deploy/jms folder. If you havent configured it and if there's a MDB that is listening on a non-existent topic/queue, JBoss creates a temporary queue/topic for you when the application is being deployed.
your 3rd option is correct but how to do it in
Here's a very simple topic configuration:
<mbean code="org.jboss.mq.server.jmx.Topic" name="jboss.mq.destination:service=Topic,name=YourTopicName"> <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends> </mbean>
Replace the "YourTopicName" above with whatever is the name of your topic. Add the above mbean configuration to the already existing list of topic/queue in jbossmq-destinations-service.xml file present under %JBOSS_HOME%/server/default/deploy/jms folder