2 Replies Latest reply on Sep 27, 2006 4:40 AM by anders.hedstrom

    multiple datasources

    srki

      Hello,

      I have my application installed on jboss where I have configured oracle-ds.xml for my connection.

      Now I need to install another application that uses a different connection. How can I do this?

      Thanks

        • 1. Re: multiple datasources
          peterj

          Create another *-ds.xml file, such as oracle2-ds.xml. In that file, make sure that the < jndi-name > entry is diferrent from the one in oracle-ds.xml.

          • 2. Re: multiple datasources
            anders.hedstrom

            Or you could just add another < local-tx-datasource > element to your existing oracle-ds.xml file, but you need to make sure that the < jndi-name > is different from you other < local-tx-datasource >