if you are using Tomcat's connection pool you may have to include the jar in
the classpath in the catalina.bat(.sh) script.

Try to add your driver to this line in the catalina.bat file
set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar;

this solved a problem I was having with JDBC realm
r,
Hugh


----- Original Message -----
From: "Dave Anders" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 13, 2002 3:19 PM
Subject: Re: JSP/JDBC/POSTGRESQL


> > Dave Anders wrote:
> >
> > > I'm trying to access my new PostgreSQL database
> > > using Tomcat 4.0.3 and JDBC.
> > >
> > > I'm receiving an Internal Server Error.
> > >
> > > exception :
> > >
> > > javax.servlet.ServletException:
WEB-INF/lib/jdbc7.1-1.2.jar/org/postgresql/Driver
> > >
> > > root cause :
> > >
> > > java.lang.ClassNotFoundException:
WEB-INF/lib/jdbc7.1-1.2.jar/org/postgresql/Driver
> >
> >
> > Provide the code you are using to load the driver.  The above looks
> > sorely malformed.  You should be doing a
> > Class.forName("org.postgresql.Driver") in the code, or if you are
> > setting up a DataSource in the configs the class name should be
> > similarly formed.
>
>
> username = deddy
> password = ABCDEF
> postgreSQL database = mydata
>
> Class.forName("org.postgresql.Driver");
> DriverManager.getConnection
> ("jdbc:postgresql://localhost:5432/mydata?user=deddy;password=ABCDEF");
>
>
>
> > > I'm sorry but I don't know at the moment how to implement
> > > the jdbc7.1-1.2 driver class so it is working properly.
> > >
> > > Is there anybody out there who knows the answer.
> > >
> > > Thank you,
> > > Dave Anders
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe:   <mailto:[EMAIL PROTECTED].
> org>
> > > For additional commands: <mailto:[EMAIL PROTECTED].
> org>
> > > Troubles with the list: <mailto:[EMAIL PROTECTED].
> org>
> > >
> > >
> > >
> >
> >
> > --
> > Jeffrey Bonevich
> > Ann Arbor, Michigan
> > [EMAIL PROTECTED]
> > http://www.bonevich.com
> >
> > Hw�t! W� G�r-Dena   in ge�r-dagum,
> > peod-cyninga,       prym gefr�non,
> > h� �a aepelingas   ellen fremedon!
> >
> >
> > --
> > To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
>
>
>
>
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to