David,

Thanks for the reply. But Im still not sure where I went wrong. What file are u referring to? ejb-jar.xml/jboss.xml dont have any "PoolName" attribute. If you are talking about jboss.jcml, I already tried removing mbeans for DefaultDS and InstantDB and added one for OracleDB (<attribute name="PoolName">OracleDB</attribute>). So Im really confused whats wrong.

Thanks very much.

 

  David Jencks <[EMAIL PROTECTED]> wrote:

It looks like your ejb config wants to use "DefaultDS" which you have
removed. Either change the dd to use OracleDB or rename

DefaultDS

david jencks

On 2001.12.19 21:57:59 -0500 Alice Ad wrote:
>
> 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:
>
> > name="DefaultDomain:service=XADataSource,name=OracleDB">
> OracleDB
> org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl
> jdbc:oracle:thin:@localhost:1521:oracle
> scott
> tiger
>

>
> 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! Auctionsfor all of your holiday
> gifts!
>

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!

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of your holiday gifts!

Reply via email to