0 Replies Latest reply on Sep 26, 2010 10:21 PM by Jim Ma

    Queue entry name is not bound to JNDI when deploying on JBoss6.0-M4

    Jim Ma Apprentice

      Hi all,  When I tried to deploy a sar file which contains hornetq-jms.xml and a war file on JBoss6.0-M4, the queue entry name is not bound to JNDI . Here are the sar file structure and hornetq-jms.xml:

       

      jaxws-samples-jmstransport-as6.sar
      \-META-INF
      \-hornetq-jms.xml
      \-jaxws-samples-jmstransport.war
      

       

      <?xml version="1.0" encoding="UTF-8"?>
      <configuration
        xmlns="urn:hornetq"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
        <queue name="RequestQueue">
          <entry name="/queue/RequestQueue"/>
        </queue>
        <queue name="ResponseQueue">
          <entry name="/queue/ResponseQueue"/>
        </queue>
      </configuration>
      

       

      I can find these two queues in http://localhost:8080/admin-console . But the JNDI Binding value for them are all empty . 

      When delete the nested war file in sar , these two queues can all be bound to JNDI.

       

      What did I miss here ? How can I bind these two queues to JNDI in this sar file ?

      Thanks in advance .