-
1. Re: Oracle configuration
foglesa Nov 14, 2001 1:26 PM (in response to lionel)I dont really see anything wrong, except you should not specify the oracle XID class in the XID attribute. place it in the jboss.properties file. here is my entry in jboss.properties:
jboss.xa.xidclass=oracle.jdbc.xa.OracleXid
And my Jboss.jcml entry: (first make sure it is in the drivers)
oracle.jdbc.driver.OracleDriver,org.hsqldb.jdbcDriver
Then the datasource mbean:
multiDS
org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
jdbc:oracle:thin:@quasar:1521:dbo
1200000
scott
10
tiger
false
false
false
true
120000
1800000
false
false
1.0
0
Hope this helps.
Al -
2. Re: Oracle configuration
luckystar_007 Feb 27, 2002 1:09 AM (in response to lionel)Hello: fogLesa.
I am also intrested in this ,I did as you wrote, but when I make a jndi lookup for
"java;/MultiDS", I got javax.naming.NameNotFoundException.
But when I lookup "java:/InstantDB" (the existing tag in jboss.jcml), I succeed.
Is there still anything for make the Oracle Datasource available for jndi lookup ? Thanks -
3. Re: Oracle configuration
luckystar_007 Feb 27, 2002 3:51 AM (in response to lionel)I have known it, I found that I have configured the wrong file.
Because I use jboss-tomcat, so I should configure the jboss.jcml on \conf\tomcat ,not the file with same name on \conf\default