Re: How to Install PostgerSQL_Driver ( in tomcat ) ?

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: moin_e(at)yahoo(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: How to Install PostgerSQL_Driver ( in tomcat ) ?
Date: 2008-01-09 09:00:48
Message-ID: 87sl17bcfz.fsf@messaging.mobileway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Moien <moin_e 'at' yahoo.com> writes:

> I Tried to :
> 1. add a classpath=add/postgresql-8.2-507.jdbc3.jar; to env-variables
> 2. add the jar file to jre/lib/ext
> 3. add the jar file to myWebApp/WEB-INF/lib
> 4. add the jar file to tomcat/lib
>
> but non of them works !
>
> would you please help me(I'm a java beginner!)

This is not a JDBC related issue, you should ask that to the
tomcat lists - but normally, you can either put the JAR in
tomcat/shared/lib so that it's visible, shared and used by all
your web applications, or inside the WEB-INF/lib directory of the
docbase of your application(s) so that it's loaded only for your
application(s).

--
Guillaume Cottenceau, MNC Mobile News Channel SA, an Alcatel-Lucent Company
Av. de la Gare 10, 1003 Lausanne, Switzerland - direct +41 21 317 50 36

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Daniel Migowski 2008-01-09 09:02:39 Re: How to Install PostgerSQL_Driver ( in tomcat ) ?
Previous Message Moien 2008-01-09 08:50:33 How to Install PostgerSQL_Driver ( in tomcat ) ?