0 Replies Latest reply on Dec 2, 2004 9:12 PM by chesterxgchen

    JBOSS 4.0.0 JMS Configuration Using non-HSQL (ORCLE, MYSQL e

    chesterxgchen Newbie

      First I like to claim that this is a double post. Since I am posting a solution, I hope this is OK. I was trying to move JBOSS 4.0.0RC1 to JBOSS 4.0.0, and make the exact figuration, but alway get "XAConnectionFactory not bound" exception. The configuration works fine with JBOSS 4.0.0RC1.

      I posted the question over 1 month ago and did not have any one provide the answer. During my search, I found many people have the same issue. Since I found the solution, I want to make sure others could quickly find the answer too. --- So I make this double post:
      1. this post, 2. reply to my original question.

      Here are the steps to configure JMS in JBOSS 4.0.0 using Oracle database.
      Assuming you config is located at /opt/jboss-4.0.0/server/my-config

      Base on documentation:
      1. copy oracle-jdbc2-service.xml from <jboss-4.0.0>/docs/examples/jms/
      to /opt/jboss-4.0.0/server/my-config/deploy/jms directory
      and modified the data source JDNI name.

      2. delete hsqldb-jdbc2-service.xml

      Now, the undocumented part:
      3. rename hsqldb-jdbc-state-service.xml to oracle-jdbc-state-service.xml
      and change the data source JDNI name

      Now if you start the jboss now. The errors are gone. This solution was first reported in
      the following link.