I have been stuck trying to get Castor 093 to work with JBoss 2.4 and
Oracle. Does anyone know what I am missing?

I have tried several variations for the attribute DataSourceClass in
jboss.jmcl all to no avail
 
Last one was 
"DataSourceClass">oracle.jdbc.xa.client.OracleXADataSource

but got an Oracle exception:

[Default] java.sql.SQLException: ORA-06550:
line 1, column 13:
PLS-00201: identifier 'JAVA_XA.XA_START_NEW' must be declared

This is my current configuration:

  <mbean code="org.jboss.jdbc.JdbcProvider"
name="DefaultDomain:service=JdbcProvider">
     <attribute
name="Drivers">oracle.jdbc.driver.OracleDriver</attribute>
  </mbean>

Below are all the XADataSourceImpl combinations commented out that I
have tried.

  <mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=OracleDS">
    <attribute name="PoolName">OracleDS</attribute>
    <attribute
name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</
attribute>
<!--    <attribute
name="DataSourceClass">oracle.jdbc.xa.client.OracleXADataSource</attribu
te>
    <attribute
name="DataSourceClass">tyrex.resource.jdbc.xa.XADataSourceImpl</attribut
e>
    <attribute
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourc
eImpl</attribute>  -->
    <attribute
name="URL">jdbc:oracle:thin:@localhost:1521:jbossb</attribute>
    <attribute name="JDBCUser">SYSTEM</attribute>
    <attribute name="Password">manager</attribute>
  </mbean>

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to