From frusso@nocable.it Thu Aug 5 15:05:08 2004 X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4D898D1B17B for ; Thu, 5 Aug 2004 12:05:08 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82738-10 for ; Thu, 5 Aug 2004 15:04:58 +0000 (GMT) Received: from dns.gnc.it (dns.gnc.it [151.8.193.33]) by svr1.postgresql.org (Postfix) with ESMTP id 61757D1B2D9 for ; Thu, 5 Aug 2004 12:04:56 -0300 (ADT) Received: from engineernet ([151.8.193.42]) by dns.gnc.it (8.12.9/8.12.9) with SMTP id i75FCNCf029463 for ; Thu, 5 Aug 2004 17:12:29 +0200 Message-ID: <004501c47afd$8d1cdc90$eeffff0a@engineernet> From: "Ing. Francesco Russo - NoCable S.p.A." To: Subject: PostgreSQL Jdbc installation problems Date: Thu, 5 Aug 2004 17:04:47 +0200 Organization: NoCable S.p.a. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0042_01C47B0E.503621E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=HTML_30_40, HTML_FONTCOLOR_BLUE, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200408/37 X-Sequence-Number: 10759 This is a multi-part message in MIME format. ------=_NextPart_000_0042_01C47B0E.503621E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, i have some problems with PostgreSQL jdbc drivers. I have a PostgreSQL 7.3 = on a server and i want to connect to it from another server that has Tomcat= 5 with JDK 1.4.2 I have downloaded the jar file from jdbc.postgresql.org corresponding to my= system features and i have copied it into a directory on my development ma= chine (on this pc i use StrutsStudio to develop my web application). In Str= utsStudio i have included in classpath this directory, but when i execute C= lass.Name("org.postgresql.Driver"), i got the exception "java.lang.ClassNot= FoundException: org.postgresql.Driver". Can someone of you help me to understand if i miss some steps? Thank you Francesco Russo ------=_NextPart_000_0042_01C47B0E.503621E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
i have some problems with PostgreSQL jdbc = drivers.=20 I have a PostgreSQL 7.3 on a server and i want to connect to it from anothe= r=20 server that has Tomcat 5 with JDK 1.4.2
 
I have downloaded the jar file from=20 jdbc.postgresql.org corresponding to my system features and i have copied i= t=20 into a directory on my development machine (on this pc i use StrutsStudio t= o=20 develop my web application). In StrutsStudio i have included in classpath t= his=20 directory, but when i execute Class.Name("org.postgresql.Driver"), i got th= e=20 exception "java.lang.ClassNotFoundException:= =20 org.postgresql.Driver".
 
Can someone of you help me to understand i= f i miss=20 some steps?
Thank you
 
Francesco Russo
------=_NextPart_000_0042_01C47B0E.503621E0-- From books@ejurka.com Thu Aug 5 15:45:26 2004 X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DE8F5D1B192 for ; Thu, 5 Aug 2004 12:45:26 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 98651-02 for ; Thu, 5 Aug 2004 15:45:17 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 76AC6D1B341 for ; Thu, 5 Aug 2004 12:45:09 -0300 (ADT) Received: (qmail 8585 invoked by uid 1112); 5 Aug 2004 15:12:32 -0000 Date: Thu, 5 Aug 2004 10:12:32 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "Ing. Francesco Russo - NoCable S.p.A." Cc: pgsql-jdbc@postgresql.org Subject: Re: PostgreSQL Jdbc installation problems In-Reply-To: <004501c47afd$8d1cdc90$eeffff0a@engineernet> Message-ID: References: <004501c47afd$8d1cdc90$eeffff0a@engineernet> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/39 X-Sequence-Number: 10761 On Thu, 5 Aug 2004, Ing. Francesco Russo - NoCable S.p.A. wrote: > I have downloaded the jar file from jdbc.postgresql.org corresponding to > my system features and i have copied it into a directory on my > development machine (on this pc i use StrutsStudio to develop my web > application). In StrutsStudio i have included in classpath this > directory, but when i execute Class.Name("org.postgresql.Driver"), i got > the exception "java.lang.ClassNotFoundException: org.postgresql.Driver". > I'm not familiar with StrutsStudio, but it may be that you need to make the jdbc driver jar file available to both StrutsStudio for development and to Tomcat for deployment/execution. For Tomcat the driver jar file should be placed in $CATALINE_HOME/common/lib. Kris Jurka From jmichael@gwi.net Thu Aug 5 15:37:20 2004 X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 17753D1B17B for ; Thu, 5 Aug 2004 12:37:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 93090-08 for ; Thu, 5 Aug 2004 15:37:11 +0000 (GMT) Received: from pan.gwi.net (pan.gwi.net [207.5.128.165]) by svr1.postgresql.org (Postfix) with ESMTP id CFB5CD1B381 for ; Thu, 5 Aug 2004 12:37:09 -0300 (ADT) Received: from manifest.gwi.net (228-44.suscom-maine.net [207.5.228.44]) by pan.gwi.net (8.12.9p2/8.12.9) with ESMTP id i75Fb47D020001; Thu, 5 Aug 2004 11:37:05 -0400 (EDT) (envelope-from jmichael@gwi.net) Message-Id: <6.1.1.1.2.20040805113220.032c8e08@pop.suscom-maine.net> X-Sender: jmichael@pop.suscom-maine.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.1.1 Date: Thu, 05 Aug 2004 11:33:35 -0400 To: "Ing. Francesco Russo - NoCable S.p.A." , From: "J. Michael Crawford" Subject: Re: PostgreSQL Jdbc installation problems In-Reply-To: <004501c47afd$8d1cdc90$eeffff0a@engineernet> References: <004501c47afd$8d1cdc90$eeffff0a@engineernet> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_133940986==.ALT" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=HTML_FONTCOLOR_BLUE, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200408/38 X-Sequence-Number: 10760 --=====================_133940986==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed I personally have had to include the .jar file (not just the directory) in my classpath statement before being able to use the jdbc driver. You may have already tried this, but I figured I'd respond just in case. - Mike At 11:04 AM 8/5/2004, Ing. Francesco Russo - NoCable S.p.A. wrote: >Hi all, >i have some problems with PostgreSQL jdbc drivers. I have a PostgreSQL 7.3 >on a server and i want to connect to it from another server that has >Tomcat 5 with JDK 1.4.2 > >I have downloaded the jar file from jdbc.postgresql.org corresponding to >my system features and i have copied it into a directory on my development >machine (on this pc i use StrutsStudio to develop my web application). In >StrutsStudio i have included in classpath this directory, but when i >execute Class.Name("org.postgresql.Driver"), i got the exception >"java.lang.ClassNotFoundException: org.postgresql.Driver". > >Can someone of you help me to understand if i miss some steps? >Thank you > >Francesco Russo --=====================_133940986==.ALT Content-Type: text/html; charset="us-ascii"
  I personally have had to include the .jar file (not just the directory) in my classpath statement before being able to use the jdbc driver.  You may have already tried this, but I figured I'd respond just in case.

        - Mike


At 11:04 AM 8/5/2004, Ing. Francesco Russo - NoCable S.p.A. wrote:
Hi all,
i have some problems with PostgreSQL jdbc drivers. I have a PostgreSQL 7.3 on a server and i want to connect to it from another server that has Tomcat 5 with JDK 1.4.2
 
I have downloaded the jar file from jdbc.postgresql.org corresponding to my system features and i have copied it into a directory on my development machine (on this pc i use StrutsStudio to develop my web application). In StrutsStudio i have included in classpath this directory, but when i execute Class.Name("org.postgresql.Driver"), i got the exception "java.lang.ClassNotFoundException: org.postgresql.Driver".
 
Can someone of you help me to understand if i miss some steps?
Thank you
 
Francesco Russo
--=====================_133940986==.ALT--