Re: Problem wih JDBC driver under Windows XP

From: Bhushan Bhangale <bbhangale(at)Lastminute(dot)com>
To: Luca Di Mauro <lucadima(at)email(dot)it>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem wih JDBC driver under Windows XP
Date: 2004-02-02 10:04:58
Message-ID: C9590F897BFAD7119E63000BCD682083C6675F@lmnukpriv.lastminute.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Well keeping the .jar file under WEB-INF/lib folder for that application
works for me in tomcat.

-----Original Message-----
From: Luca Di Mauro [mailto:lucadima(at)email(dot)it]
Sent: 02 February 2004 09:58
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] Problem wih JDBC driver under Windows XP

Hi all!

I've some problems in connecting to postgreSQL with the JDBC driver from my
JSP page.

I've installed PostgreSQL for Windows, ver. 7.1.2, so I took on the site the
pg72jdbc2.jar file as JDBC driver.

Then I followed all the steps in the documentation at the URL
http://jdbc.postgresql.org/doc.html <http://jdbc.postgresql.org/doc.html> .
Because i need to use the jdbc driver with Java Server Pages, I didn't use
the classpath method, but I copyed the driver directly in the lib/ext
directory in my JVM path.

I can connect to the DB with PgAdmin 2, but when I try to connect from my
JSP page, the Tomcat WebServer says:

"java.lang.ClassNotFoundException: org.postgresql.Driver"

What did I forget???

Thanks, Luca.

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk <http://www.star.net.uk>
________________________________________________________________________

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paul Thomas 2004-02-02 10:53:25 Re: [BUG] - Invalid UNICODE character sequence found(0xc000)
Previous Message Luca Di Mauro 2004-02-02 09:58:22 Problem wih JDBC driver under Windows XP