I'm assuming that the first file you show below is actually jboss.jcml,
correct?

And the resource-ref you show in your (2nd) jboss.xml, is that really there?
It shouldn't be.  Finally, your lookup string should really be

String lookupstring = "java:comp/env/jdbc/OracleDS";

though truthfully I don't think that is causing the problem.

----- Original Message -----
From: "Minal T" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 01, 2001 1:29 PM
Subject: [JBoss-user] java.lang.ClassCastException:
org.opentools.minerva.jdbc.xa.XAPoolDataSource


> jboss.xml
>
> <mbean code="org.jboss.jdbc.XADataSourceLoader "
> name="DefaultDomain:service=XADataSource,name=OracleDS">
> <attribute name="PoolName">OracleDS</attribute>
> <attribute name="DataSourceClass">
> org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
> <attribute name="URL">jdbc:oracle:thin:@devdb01:1521:dog</attribute>
> <attribute name="JDBCUser">tutormgr</attribute>
> <attribute name="Password">oracle</attribute>
> </mbean>
>
>
> ejb-jar.xml
>
> <resource-ref>
>   <description>A description for ResourceRefName</description>
>   <res-ref-name>jdbc/OracleDS</res-ref-name>
>   <res-type>javax.sql.DataSource</res-type>
>   <res-auth>Container</res-auth>
>   </resource-ref>
>
>
> jboss.xml
>
> <resource-managers>
> <resource-manager
>
> res-class="org.jboss.ejb.deployment.JDBCResource">
> <res-name>jdbc/OracleDS</res-name>
>              <res-jndi-name>java:/OracleDS</res-jndi-name>
>          </resource-manager>
>      </resource-managers>
>
>
> <resource-ref>
> <res-ref-name>jdbc/OracleDS</res-ref-name>
> <resource-name>OracleDS</resource-name>
>       </resource-ref>
>
> any help is appreciated. thanks.
>
>
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


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

Reply via email to