0 Replies Latest reply on Dec 11, 2001 7:14 AM by klaust

    JMS and jboss-web.xml? (JBoss2.4.3)

    klaust

      in some our existing sources (Orion) we make an jndilookup via "java:comp/env/jms/theQueueConnectionFactory" and "java:comp/env/jms/loganetQueue".

      therefor i defined in web.xml following:
      <resource-ref>
      <res-ref-name>jms/theQueueConnectionFactory</res-ref-name>
      <res-type>javax.jms.QueueConnectionFactory</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>
      <resource-ref>
      <res-ref-name>jms/myQueue</res-ref-name>
      <res-type>javax.jms.Queue</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      i expected that following mapping in jboss-web.xml will work:
      <resource-description>
      <res-ref-name>jms/theQueueConnectionFactory</res-ref-name>
      <jndi-name>QueueConnectionFactory</jndi-name>
      </resource-description>
      <resource-description>
      <res-ref-name>jms/myQueue</res-ref-name>
      <jndi-name>queue/myQueue</jndi-name>
      </resource-description>

      but it seems to be completly ignored.
      server.log:
      jndi lookup failed javax.naming.NameNotFoundException: jms not bound

      is the mapping for jms not implemented or
      did i overlook something in the docs?

      thanks
      klaus