I've made the changes to CVS that allow the Oracle XADataSource
implementation to work. However, I haven't tested it with multiple data
sources (2-phase commit) yet, so this is definitely "beta support".
You'll have to get the latest CVS code or wait for the next binary to try
this out.
In order to use the Oracle XADataSource, download the 8.17 JDBC
drivers ("thin" for Java 2) and set up a Minerva pool like normal, except
in jboss.conf you should set the 2nd argument to
oracle.jdbc.xa.client.OracleXADataSource
instead of
org.jboss.minerva.xa.XADataSourceImpl
All the properties in jboss.jcml should work the same. Then you
need to edit jboss.properties, and uncomment or add the parameter:
jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
Then you should be good to go. Note that you can't perform DDL
(table creates, etc.) with the connections you get this way, and you may
or may not be able to use non-Oracle data sources (depending on how they
feel about using an OracleXid). Also, you probably need to be running
Oracle 8 or Oracle 8i, though I haven't tested that either (and thus use
the Oracle8 JAWS mapping if you have CMP entity beans).
Aaron