Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2742

Better check for illegal JNDI context names

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.CR1
    • None
    • Console
    • None

      i.e. the queue name "jboss:queues/myQueue" can be entered and saved, but a subsequent server boot throws an error:

      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
      
      

              rhn-support-hbraun Heiko Braun
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: