I don't think this is possible unless you deploy a copy of jboss jca and the resource adaptor with the driver. I haven't tried this myself.
There are some fundamental brain deaths in java.sql.DriverManager where it implements driver accessiblity based on the caller's classloader. It is also caching classes somewhere, so hotdeployment might not won't work at all. It doesn't in the non-scoped environment. Regards, Adrian xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx -----Original Message----- From: Keysers Wonne [mailto:[EMAIL PROTECTED] On Behalf Of Keysers Wonne Sent: 26 June 2003 15:31 To: [EMAIL PROTECTED] Subject: Deploy DataSources with different versions of JDBC driver Hi, On JBoss 3.2.x, is it possible to deploy 2 Oracle DataSources, each one using a different version of the JDBC driver? If so, how? Because, when I include the driver jar-file with the scoped .ear, it gives me a ClassCast Exception. I need this, because Oracle JDBC driver 9.x (JDK 1.4) crashes on database version 8.0.x when using TimeStamps... (It's a known problem.) Thanks in advance! Wonne REAL SOFTWARE GROUP Industry Division Prins Boudewijnlaan 26 B-2550 KONTICH http://www.realsoftware.be This e-mail may contain information which is privileged or confidential. If you received this e-mail in error, please notify us immediately by e-mail or telephone and delete the e-mail without reading, copying or disclosing its contents to any other person. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
