Re: AW: why can't my servlet connect to mysql...?

Guy Katz <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how
to.html

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API
Technology. [mailto:[email protected]]On Behalf Of Carlos
Delgado
Sent: Wednesday, July 14, 2004 3:54 PM
To: [email protected]
Subject: Re: AW: why can't my servlet connect to mysql...?


Greetings.

¿What are the Tomcat utilities for creating a connection pool that a servlet
can use?


>From: "Darryl L. Pierce" <[email protected]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>         Servlet API Technology." <[email protected]>
>To: [email protected]
>Subject: Re: AW: why can't my servlet connect to mysql...?
>Date: Wed, 14 Jul 2004 04:18:48 -0400
>
>On Wednesday 14 July 2004 01:29 am, Thiharie Rajesh wrote:
> > You should put all required JAR files in the WEB-INF/lib directory. The
> > common\lib folder is meant for the server, not for applications.
>
>Something like MySQL *should* be at the server level. Tomcat has code for
>creating a connection pool and a servlet shouldn't be making those
>connections on its own.
>
>--
>Darryl L. Pierce <[email protected]>
>Visit the Infobahn Offramp - <http://mypage.org/mcpierce>
>"What do you care what other people think, Mr. Feynman?"
>
>___________________________________________________________________________
>To unsubscribe, send email to [email protected] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger:
http://messenger.latam.msn.com/

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.