----- Original Message -----
Sent: Wednesday, December 19, 2001 9:57
PM
Subject: [JBoss-user] DeploymentException
when using oracle
Hello,
I want to use Oracle instead of hypersonic/instantdb. This is what i did in
jboss.jcml:
1. org.jboss.jdbc.JdbcProvider mbean contains
ONLY oracle driver
2. org.jboss.jdbc.HypersonicDatabase mbean and
org.jboss.jdbc.XADataSourceLoader mbeans for InstantDN and
DefaultDS removed
3. org.jboss.jdbc.XADataSourceLoader mbean for oracle
added:
<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="URL">jdbc:oracle:thin:@localhost:1521:oracle</attribute>
<attribute name="JDBCUser">scott</attribute>
<attribute name="Password">tiger</attribute>
</mbean>
I get this error:
Deploying CDBean
oracle.jboss.ejb.DeploymentException: DefaultDS not
bound
When I use all drivers in org.jboss.jdbc.JdbcProvider
mbean and keep all org.jboss.jdbc.XADataSourceLoader mbeans
for defaults,
I do not get any error but all the data gets loaded in Hypersonic instead
of Oracle.
Please help.
Thanks very much.
(I am using JBoss2.2_Tomcat3.2.2 with WIn2k)
Do You Yahoo!?
Check out Yahoo!
Shopping and Yahoo!
Auctions for all of your holiday gifts!