All you need to do is the following:
1. copy classes12.zip to jboss/lib/ext
2. modify jboss/conf/jboss.jcml
<mbean code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider">
<attribute name="Drivers">oracle.jdbc.driver.OracleDriver</attribute>
</mbean>
<mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=OracleDB">
<attribute name="PoolName">OracleDB</attribute>
<attribute name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
<attribute name="Properties"></attribute>
<attribute name="URL">jdbc:oracle:thin:@host.domain:1521:instance</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
<attribute name="JDBCUser">xxxxx</attribute>
<attribute name="MaxSize">10</attribute>
<attribute name="Password">xxxxx</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">1</attribute>
</mbean>
3. in your jaws.xml, specify:
<datasource>java:/OracleDB</datasource>
Hope that helps!
-----Original Message-----
From: Shahar Solomianik [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 8:16 AM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] PRE-2.1 + Oracle
Hi.
I was working with 2.0 Final (+tomcat) and now try to upgrade to
PRE2.1+tomcat , (the link that Rickard has posted).
Where do I indicate that my OraclePool should use classes12.zip ? In
Final-2.0 I would do it using 'ARCHIVE="jboss.jar,classes12.zip"' in
jboss.conf.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
