What you've done is to deploy two different JBossMQs so unless you are
looking up the correct connection factory for the correct topic it is not 
suprising
that you will get a topic not found error.

If you read the wiki carefully, you'll see that the "NullPersistenceManager"
can be setup with a *delegate* real persistence manager.
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQNullPersistence


  | <mbean code="org.jboss.mq.pm.none.PersistenceManager"
  |            name="jboss.mq:service=PersistenceManager">
  | 
  |            <!-- An optional delegate for real persistence of some 
destinations e.g. jdbc2 -->
  |            <!-- depends 
optional-attribute-name="DelegatePM">jboss.mq:service=SomePersistenceManager</depends-->
  |     </mbean>
  | 

You can then choose which destinations are really persisted when you deploy them
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigTopic
e.g.

  |   <mbean code="org.jboss.mq.server.jmx.Topic"
  |      name="jboss.mq.destination:service=Topic,name=InMemoryTopic">
  |     <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"/>
  |       </security>
  |     </attribute>
  | 
  |     <!-- HERE -->
  |     <attribute name="InMemory">true</attribute>
  |   </mbean>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029429#4029429

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029429
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to