2 Replies Latest reply on Oct 21, 2004 4:39 PM by Randy Ott

    Specify JNDI Name for Queue or Topic

    Randy Ott Newbie

      I am trying to set the JNDI name for a queue/topic to a specific value. Here is the configuration element:


      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
      <depends optional-attribute-name="JNDIName">com.intelliden.icos.kernel.event.EVENT_TOPIC



      And here is the exception I get when JBoss starts up

      09:35:14,472 ERROR [MainDeployer] could not create deployment: file:/C:/jboss/server/default/deploy/jms/jbossmq-destinations-service.xml java.lang.Error: Invalid ObjectName: com.intelliden.icos.kernel.event.EVENT_TOPIC; javax.management.MalformedObjectNameException: missing domain
      at org.jboss.mx.util.ObjectNameFactory.create(ObjectNameFactory.java:40)
      at org.jboss.system.ServiceConfigurator.processDependency(ServiceConfigurator.java:487)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:364)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:160)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
      at org.jboss.system.ServiceController.install(ServiceController.java:200)
      at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      <more not shown>