There are issue with using iBatis and getting the resource file within an EAR but your problems sound lke you don't have the approriate connector (MySQL J/Connector) installed.  Typiclaly you can install this jar in server/<profile>/lib to give it runtime classloading scope across EARs.

-aps

On 8/8/06, Chris Lamey <[EMAIL PROTECTED]> wrote:

Hello,

We use iBATIS and JBoss without any problems.  It looks to me like you don't have a mysql driver jar file in the right place.  More details on your setup would be useful if you want help.  How are you intending to configure your database connection information?  DataSource in JNDI?  Explicit config in iBATIS with properties files?  Is Spring involved?  What kind of artifact (ear/war/par/etc) are you trying to deploy?

Cheers,

Chris



-----Original Message-----
From: Eric VanWieren [mailto:[EMAIL PROTECTED]]
Sent: Tue 8/8/2006 8:18 AM
To: user-java@ibatis.apache.org
Subject: mysql and jboss support

Has anyone been able to get iBatis to work with JBoss?

I keep getting classNotFound errors while trying to load the
com.mysql.jdbc.Driver class.

Thanks,

Eric




--
"What lies behind us and what lies in front of us is of little concern to what lies within us." -Ralph Waldo Emerson

Reply via email to