pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Prasanth <dbadmin@nqadmin.com>
To: minalac@yes2etl.com
Cc: pavan@netcore.co.in
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Postgresql-JDBC connectivity
Date: Fri, 17 Jun 2005 10:15:10 -0500
Message-ID: <42B2E8FE.4040108@nqadmin.com> (raw)
In-Reply-To: <3214.10.1.2.53.1118983500.squirrel@10.1.2.53>
References: <3214.10.1.2.53.1118983500.squirrel@10.1.2.53>

Restart tomcat and try it again.

When you add a jar I always have to restart tomcat.

-Prasanth.

Minal Aryamane wrote:
> i have this jar file and have copied it in /usr/local/tomcat/common/lib
> path.....
> This is the jar file I am using....
> postgresql-8.0-311.jdbc3.jar
> I did as you said but am still getting the same error....Am I using the
> correct file???
> 
> Checking if Driver is registerd
> Couldn't find the Driver
> java.lang.ClassNotFoundException: org.postgresql.Driver
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:141)
>         at Example1.main(Example1.java:10)
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 
> 



view thread (7+ messages)

Message-ID: <42B2E8FE.4040108@nqadmin.com>
Permalink:  ../42B2E8FE.4040108@nqadmin.com/
Also on:    postgresql.org/message-id/42B2E8FE.4040108@nqadmin.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: dbadmin@nqadmin.com, minalac@yes2etl.com, pavan@netcore.co.in
  Subject: Re: Postgresql-JDBC connectivity
  In-Reply-To: <42B2E8FE.4040108@nqadmin.com>
  References: <3214.10.1.2.53.1118983500.squirrel@10.1.2.53> <42B2E8FE.4040108@nqadmin.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox