0 Replies Latest reply on Aug 25, 2006 4:35 PM by RAJESH KUMAR

    Trying to Create QueueConnectionFactory

    RAJESH KUMAR Newbie

      Hi,
      I am new to JBOSS, I can use Service provider QueueConnectionFactory but I am not able to use a newly defined server provider. Any help is appreciated.
      My Web.xml
      ---------------------------------
      <resource-ref>
      Default QueueFactory
      <res-ref-name>jms/myQueueFactory</res-ref-name>
      <res-type>javax.jms.QueueConnectionFactory</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>
      <resource-ref>
      <res-ref-name>jms/RHQueue</res-ref-name>
      <res-type>javax.jms.Queue</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>
      -----------------------------------

      my jboss-web.xml
      ===================
      <jboss-web>
      <resource-ref>
      <res-ref-name>jms/myQueueFactory</res-ref-name>
      <jndi-name>QueueConnectionFactory</jndi-name>
      </resource-ref>
      <resource-ref>
      <res-ref-name>jms/RHQueue</res-ref-name>
      <jndi-name>RHQueue</jndi-name>
      </resource-ref>
      </jboss-web>