>I  try to load driver ""com.mysql.jdbc.Driver" , I have put
"mysql-connector-java-5.1.5-bin" in WEB-INF /lib folder , I get class not
found >exception error .

Tomcat filters out all files with except those with a ".jar" extension in a
lib folder. Any file except a *.jar will be ignored in the WEB-INF/lib
folder.

Look for a .jar file for the connector instead.

Anurag
------------------------------------------------------------------
Anurag Kapur
Associate - Technology,
Sapient Corporation India.
------------------------------------------------------------------


On Thu, Feb 12, 2009 at 10:26 PM, Sneha Manohar
<sneha_hams...@yahoo.co.in>wrote:

> Hi ,
> Thanks for your reply ,  remote server is on ubuntu Operating system .
> Version of tomcat - 6
> Version of java - jdk1.6.
>
> I  try to load driver ""com.mysql.jdbc.Driver" , I have put
> "mysql-connector-java-5.1.5-bin" in WEB-INF /lib folder , I get class not
> found exception error .
>
> I wish to know how tomcat locate libraries . Do I need to add anything in
> the path .
> It works on local ,I use net beans , I add the libraries  by clicking 'Add
> library'-> Global library ->mysql driver. How do I achieve this on remote
> server .
>
> sneha
>
>
>
>
> --- On Thu, 12/2/09, Pid <p...@pidster.com> wrote:
>
> From: Pid <p...@pidster.com>
> Subject: Re: deploying web application on remote server
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Date: Thursday, 12 February, 2009, 11:57 PM
>
> Sneha Manohar wrote:
> > Hi ,
> >
> > I have developed web application using netbeans , I wish to deploy on
> remote server .
> > I have placed files under / webapps  directory of remote server. Tomcat
> is
> unable to locate libraries .  how do I make tomcat locate libraries which
> are
> under WEB-INF/lib folder
> >
> > sneha
> >
> >
> >       Connect with friends all over the world. Get Yahoo! India Messenger
> at http://in.messenger.yahoo.com/?wm=n/
>
>
> to the tune of "Humpty Dumpty"
>
> The Original Poster sent an email
> The Original Poster had a vague FAIL
> All the list members and all of the devs
> Couldn't put Tomcat together again.
>
>
> because you didn't tell us what operating system you're using, what
> version of tomcat, java etc, or what your log error messages said.
>
> ?
>
> p
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
>
>       Unlimited freedom, unlimited storage. Get it now, on
> http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

Reply via email to