0 Replies Latest reply on Jan 16, 2007 4:59 AM by rivella50

    Exception for new JMS Topic

    rivella50

      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