Has anybody actually been able to get the Oracle XA drivers to work under
JBoss? I have no problem accessing oracle through the standard OracleDriver
class and proxying through the Minerva XA adapter, however, as stated in the
minerva doco, this is a hack and not the ideal solution.

If I set the datasource up as such:
<MLET CODE="org.jboss.jdbc.XADataSourceLoader"
ARCHIVE="jboss.jar,classes12.jar" CODEBASE="../lib/ext/">

<ARG TYPE="java.lang.String" VALUE="oracle">

<ARG TYPE="java.lang.String"
VALUE="oracle.jdbc.xa.client.OracleXADataSource">

</MLET>

I get an XAException thrown when I try to grab a connection.

If I set the driver class above as oracle.jdbc.xa.OracleXADataSource,
instead of oracle.jdbc.xa.client.OracleXADataSource (the only other option I
see by looking through the classlist of the oracle zip file), I get an
instantiation exception when the pool is created.

Incidentally, I can't get it to work under orion or any other EJB server
either.

rudi simic






--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to