[jboss-jira] [JBoss JIRA] (AS7-2742) Better check for illegal JNDI context names

Heiko Braun (Resolved) (JIRA) jira-events at lists.jboss.org
Tue Dec 13 13:34:09 EST 2011


     [ https://issues.jboss.org/browse/AS7-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Heiko Braun resolved AS7-2742.
------------------------------

    Fix Version/s: 7.1.0.CR1
                       (was: 7.1.0.Final)
       Resolution: Done

    
> Better check for illegal JNDI context names
> -------------------------------------------
>
>                 Key: AS7-2742
>                 URL: https://issues.jboss.org/browse/AS7-2742
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Console
>            Reporter: Heiko Braun
>            Assignee: Heiko Braun
>             Fix For: 7.1.0.CR1
>
>
> i.e. the queue name "jboss:queues/myQueue" can be entered and saved, but a subsequent server boot throws an error:
> {noformat}
> Caused by: java.lang.RuntimeException: JBAS011846: Illegal context in name: jboss:queues/myQueue
> 	at org.jboss.as.naming.deployment.ContextNames.bindInfoFor(ContextNames.java:283)
> 	at org.jboss.as.messaging.jms.AS7BindingRegistry.unbind(AS7BindingRegistry.java:90)
> 	at org.hornetq.jms.server.impl.JMSServerManagerImpl.bindToJndi(JMSServerManagerImpl.java:1421)
> 	at org.hornetq.jms.server.impl.JMSServerManagerImpl.access$300(JMSServerManagerImpl.java:98)
> 	at org.hornetq.jms.server.impl.JMSServerManagerImpl$1.runException(JMSServerManagerImpl.java:436)
> 	at org.hornetq.jms.server.impl.JMSServerManagerImpl.runAfterActive(JMSServerManagerImpl.java:1643)
> 	at org.hornetq.jms.server.impl.JMSServerManagerImpl.createQueue(JMSServerManagerImpl.java:413)
> 	at org.jboss.as.messaging.jms.JMSQueueService.start(JMSQueueService.java:60)
> 	... 5 more
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list