1 Reply Latest reply on Aug 12, 2005 3:13 PM by Robert ke

    JMSXA Connection Factory

    Tim Lam Newbie

      Am I supposed to use the default java:/JMSXA connection factory or do I need to create my own connection factory? If I should be using the java:/JMSXA connection factory then can this connection factory be used for all JMS related activity?

        • 1. Re: JMSXA Connection Factory
          Robert ke Newbie

          Are you trying to use "java:/XAConnectionFactory" (for jvm jms clients) or
          "XAConnectionFactory" (remote clients). I haven't got XAConnection to work. I get a uil2 ServerSocketManagerHandler exiting on IOE when I try to send a message to the queue. Does anyone know why? Any help will be greatly appreciated.

          It works with "java:comp/env/jms/QueueFactory" with in jvm jms client using JmsXA.

          The XAConnectionFactory just doesn't work for me.

          ejb-jar.xml

          <message-driven-destination>
          <destination-type>javax.jms.Queue</destination-type>
          </message-driven-destination>

          <resource-ref >
          <res-ref-name>jms/QueueFactory</res-ref-name>
          <res-type>javax.jms.QueueConnectionFactory</res-type>
          <res-auth>Container</res-auth>
          </resource-ref>

          jboss.xml

          <resource-ref>
          <res-ref-name>jms/QueueFactory</res-ref-name>
          <jndi-name>java:/JmsXA</jndi-name>
          </resource-ref>

          thanks.