|
From: Rod J. <rod...@in...> - 2003-12-18 22:08:42
|
Michael Spring won't mess with the drivers, so I suspect your problem is that you've specified the wrong driver for one of the container datasources. Please double check that you've used the right driver for each database. Also try connecting within JBoss (say from a JSP) to each database to make sure that it works if Spring is out of the picture. If you still think the problem is a Spring problem after trying this, please post your stack trace and we'll take a look. Regards, Rod ----- Original Message ----- From: "Michael Young" <sp...@on...> To: <Spr...@li...>; <Spr...@li...> Sent: Thursday, December 18, 2003 9:30 PM Subject: [Springframework-developer] Connecting to two database: one Oracle and one MSSql > I'm using Spring inside JBoss 3.2.3, and I was experimenting with > connecting to two dbs (one oracle and ms sql), but got a problem > when Spring is trying to load meta data for sql error codes and > exception handling. The exception I got is: cannot connect to > database because the driver is for the wrong database. > > I wonder if this is a JBoss issue, or Spring related? > > Thanks! /Michael. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |