Thanks, I got it working. I did lots of fiddling. I think the main problem I
had was the new conf/default directory. It now works. BTW how does one get
jBoss to use conf/myapp instead of conf/default when booting.
-----Original Message-----
From: Darius Davidavicius [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 27, 2000 12:06 PM
To: jBoss
Subject: RE: [jBoss-User] JBoss FINAL & Oracle
I using Oracle with the last version of and dont have your problems.
i can tell my steps:
1. jBoss.properties
jdbc.drivers=org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver
jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
2. I have removed all datasources from JBoss.conf and added
<MLET CODE="org.jboss.jdbc.XADataSourceLoader"
ARCHIVE="jboss.jar,classes12.zip" CODEBASE="../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="OraclePool">
<ARG TYPE="java.lang.String"
VALUE="oracle.jdbc.xa.client.OracleXADataSource">
</MLET>
3. in JBoss.jcml i removed all not needed mBean's and added:
<mbean name="DefaultDomain:service=XADataSource,name=OraclePool">
<attribute name="Properties"></attribute>
<attribute name="URL">jdbc:oracle:oci8:@DARIUS</attribute>
<attribute name="GCMinIdleTime">1200000</attribute>
<attribute name="JDBCUser">xxx</attribute>
<attribute name="MaxSize">0</attribute>
<attribute name="Password">yyy</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">5</attribute>
</mbean>
Note : i using here oci but with thin ( <attribute
name="URL">jdbc:oracle:thin:@DARIUS:1521:darius</attribute> ) it works too
have fun,
D&D
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]