Thanks for your help. Your suggestion fixed the exceptions I was getting
when I started Jboss, but now Jboss hangs when it starts to create the
connection pool to Oracle and the connection is never made to the database.
Here is the last output I get from Jboss is:
[MyOracleDataSource] Starting
[MyOracleDataSource] XA Connection pool MyOracleDataSource bound to
java:/MyOracleDataSource
I have to control-c to exit Jboss at this point. My jboss.jcml
<mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=MyOracleDataSource">
<attribute name="PoolName">MyOracleDataSource</attribute>
<attribute
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
<attribute name="Properties"></attribute>
<attribute
name="URL">jdbc:oracle:thin:@localhost:1521:instance</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
<attribute name="JDBCUser">in2m</attribute>
<attribute name="MaxSize">10</attribute>
<attribute name="Password">in2m</attribute>
<attribute name="GCEnabled">false</attribute>
<attribute name="InvalidateOnError">false</attribute>
<attribute name="TimestampUsed">false</attribute>
<attribute name="Blocking">true</attribute>
<attribute name="GCInterval">120000</attribute>
<attribute name="IdleTimeout">1800000</attribute>
<attribute name="IdleTimeoutEnabled">false</attribute>
<attribute name="LoggingEnabled">false</attribute>
<attribute name="MaxIdleTimeoutPercent">1.0</attribute>
<attribute name="MinSize">3</attribute>
</mbean>
I also tried setting the "DataSourceClass" to
oracle.jdbc.xa.client.OracleXADataSource but the result was the same.
Thanks again,
Brett
>
>jboss.conf entry (MLET XADSLoader) and second jboss.jcml entry (mbean XADS)
>are combined in 2.1 . Remove jboss.conf
>entry. Look at DefaultDS entry in jboss.jcml for example of how to set up
>your DS there.
>
>Brett Palmer wrote:
>
> > I recently update my copy of JBoss to the JBoss Pre2.1 release and
>noticed
> > some changes in the Oracle DB configuration. I have reviewed the
>documents
> > and made the following additions to my configurations files:
> >
> > 1. jboss.properties:
> > jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
> >
> > 2. jboss.conf:
> >
> > <MLET CODE="org.jboss.jdbc.XADataSourceLoader"
> > ARCHIVE="jboss.jar,classes12.zip" CODEBASE="../lib/ext/">
> > <ARG TYPE="java.lang.String" VALUE="MyOracleDataSource">
> > <ARG TYPE="java.lang.String"
> > VALUE="oracle.jdbc.xa.client.OracleXADataSource">
> > </MLET>
> >
> > 3. jboss.jcml:
> >
> > <mbean code="org.jboss.jdbc.JdbcProvider"
> > name="DefaultDomain:service=JdbcProvider">
> > <attribute
> >
>name="Drivers">oracle.jdbc.driver.OracleDriver,org.hsql.jdbcDriver,org.enhyd
>ra.instantdb.jdbc.idbDriver</attribute>
> > </mbean>
> >
> > and
> >
> > <mbean
>name="DefaultDomain:service=XADataSource,name=MyOracleDataSource">
> > <attribute
>name="URL">jdbc:oracle:thin:@localhost:1521:instance</attribute>
> > <attribute name="JDBCUser">in2m</attribute>
> > <attribute name="Password">in2m</attribute>
> > </mbean>
> >
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]