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