[jboss-jira] [JBoss JIRA] Created: (JBMESSAGING-923) Creating queue/topic with JNDI subcontexts fails, e.g. names such as queue/foo/bar

Elias Ross (JIRA) jira-events at lists.jboss.org
Thu Mar 15 18:52:34 EDT 2007


Creating queue/topic with JNDI subcontexts fails, e.g. names such as queue/foo/bar
----------------------------------------------------------------------------------

                 Key: JBMESSAGING-923
                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-923
             Project: JBoss Messaging
          Issue Type: Bug
            Reporter: Elias Ross
         Assigned To: Ovidiu Feodorov


The following service.xml will generate an exception:

<server>

   <loader-repository>
        jboss.messaging:loader=ScopedLoaderRepository
        <loader-repository-config>
                java2ParentDelegation=false
        </loader-repository-config>
   </loader-repository>

   <mbean code="org.jboss.jms.server.destination.QueueService"
        name="jboss.messaging.destination:service=Queue,name=ppm/mt"
        xmbean-dd="xmdesc/Queue-xmbean.xml">
        <depends optional-attribute-name="ServerPeer">jboss.messaging:service=Se
rverPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
   </mbean>
</server>

15:46:12,205 ERROR [ExceptionUtil] Queue[/queue/ppm/bridge/mqube, name=ppm/bridg
e/mqube] startService
javax.naming.NameNotFoundException: ppm not bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
        at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
        at org.jnp.server.NamingServer.rebind(NamingServer.java:165)
        at org.jnp.server.NamingServer.rebind(NamingServer.java:168)
        at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:510)
        at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:477)
        at org.jboss.jms.server.DestinationJNDIMapper.registerDestination(Destin
ationJNDIMapper.java:146)
        at org.jboss.jms.server.destination.QueueService.startService(QueueServi
ce.java:142)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list