[jboss-user] [Installation, Configuration & Deployment] - Exception for new JMS Topic
rivella50
do-not-reply at jboss.com
Tue Jan 16 04:59:52 EST 2007
Hi there,
when i add the following configuration file in server/default/deploy/polopoly/polopoly-service.xml or
server/all/deploy/polopoly/polopoly-service.xml
i get a java.lang.IllegalArgumentException: null object name
2007-01-16 10:45:04,591 WARN [org.jboss.system.ServiceController] Problem creating service jboss.mq.destination:service=Topic,name=polopolyCM_topic
java.lang.IllegalArgumentException: null object name
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:509)
at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:550)
at org.jboss.mq.server.jmx.DestinationMBeanSupport.createService(DestinationMBeanSupport.java:126)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
here's the new configuration i use:
| <server>
| <mbean code="org.jboss.mq.server.jmx.Topic" name="jboss.mq.destination:service=Topic,name=polopolyCM_topic">
| <depends optional-attributename="DestinationManager">jboss.mq:service=DestinationManager</depends>
| <depends optional-attributename="SecurityManager">jboss.mq:service=SecurityManager</depends>
| <attribute name="JNDIName">polopolyCM_topic</attribute>
| <attribute name="SecurityConf">
| <security>
| <role name="guest" read="true" write="true" create="true"/>
| <role name="publisher" read="true" write="true" create="false"/>
| <role name="durpublisher" read="true" write="true" create="true"/>
| </security>
| </attribute>
| </mbean>
| </server>
|
i'm quite new to jboss, perhaps someone can tell me what's missing
or wrong with the new file or what i have to do additionally to register
this new topic ?
thank you very much.
best regards
rivella50
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002207#4002207
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002207
More information about the jboss-user
mailing list