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

<attribute name="PoolName">DefaultDS</attribute>

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:
> 
>   <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! Auctionsfor all of your holiday
> gifts!
> <P>Hello,</P>
> <P>I want to use Oracle instead of hypersonic/instantdb. This is what i
> did in jboss.jcml:</P>
> <P>1.&nbsp;<STRONG>org.jboss.jdbc.JdbcProvider
> </STRONG>mbean&nbsp;contains ONLY oracle driver</P>
> <P>2. <STRONG>org.jboss.jdbc.HypersonicDatabase </STRONG>mbean and
> <STRONG>org.jboss.jdbc.XADataSourceLoader</STRONG> mbeans for InstantDN
> and DefaultDS removed</P>
> <P>3. <STRONG>org.jboss.jdbc.XADataSourceLoader</STRONG> mbean for oracle
> added:</P>
> <P>&nbsp; &lt;mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=OracleDB"&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute name="PoolName"&gt;OracleDB&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute 
>name="DataSourceClass"&gt;org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute 
>name="URL"&gt;jdbc:oracle:thin:@localhost:1521:oracle&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute name="JDBCUser"&gt;scott&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute name="Password"&gt;tiger&lt;/attribute&gt;<BR>&nbsp;
> &lt;/mbean&gt;</P>
> <P>I get this error:</P>
> <P>Deploying CDBean</P>
> <P><STRONG>oracle.jboss.ejb.DeploymentException: DefaultDS not
> bound</STRONG></P>
> <P>When I use all drivers in <STRONG>org.jboss.jdbc.JdbcProvider</STRONG>
> mbean and keep all <STRONG>org.jboss.jdbc.XADataSourceLoader</STRONG>
> mbeans for defaults, </P>
> <P>I do not get any error but all the data gets loaded in Hypersonic
> instead of Oracle.</P>
> <P>Please help. </P>
> <P>Thanks very much.</P>
> <P>(I am using JBoss2.2_Tomcat3.2.2 with WIn2k)</P>
> <P>&nbsp;</P>
> <P>&nbsp;</P>
> <P>&nbsp;</P>
> <P>&nbsp;</P><p><br><hr size=1><b>Do You Yahoo!?</b><br>
> Check out <a 
>href="http://rd.yahoo.com/O=1/I=mail/footer/*http://shopping.yahoo.com";>Yahoo!
> Shopping</a> and <a 
>href="http://rd.yahoo.com/O=1/I=mail/footer/*http://auctions.yahoo.com";>Yahoo!
> Auctions</a>
> for all of your holiday gifts!

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

Reply via email to