-
1. Re: Oracle Datasource configuration problem
janekclaus Apr 20, 2003 3:57 PM (in response to sameer_inn)The bound JNDI name is local to the JBoss instance you're running. The reason I assume is the datasource would be part of the local name space of the application, bean etc. has. Since you can not reference it in another JVM, you can not have access to it.
IMHO there are two ways to get access to that datasource:
1: write a session bean wrapper but better
2: create a jboss service wrapper.
Janek -
2. Re: Oracle Datasource configuration problem
seeteshh Apr 30, 2003 12:08 AM (in response to sameer_inn)Hi Sameer,
Did u configure the jboss.jcml file for Oracle configuration for your connection pool?
If yes, Please post the file jboss.jcml here or paste the code.
Seetesh -
3. Re: Oracle Datasource configuration problem
rroos May 20, 2003 1:56 AM (in response to sameer_inn)Configure your default datasource in
JBOSS_HOME\server\default\conf\standardjbosscmp-jdbc.xml
like :
<jbosscmp-jdbc>
<!--datasource>java:/DefaultDS</datasource-->
<!--datasource-mapping>Hypersonic SQL</datasource-mapping-->
<!--datasource>java:/MSSQLDS
<datasource-mapping>MS SQLSERVER</datasource-mapping-->
<!--datasource>java:/DB2DS
<datasource-mapping>DB2</datasource-mapping-->
java:/OracleDS
<datasource-mapping>Oracle8</datasource-mapping>
.....