Re: Prblm: Using PostgreSQL JDBC driver from Windows. - Mailing list pgsql-jdbc

From Ola Theander
Subject Re: Prblm: Using PostgreSQL JDBC driver from Windows.
Date
Msg-id 001101c22e76$156d04c0$c5000a0a@c0002
Whole thread Raw
In response to Re: Prblm: Using PostgreSQL JDBC driver from Windows.  (tony <tony@animaproductions.com>)
Responses Re: Prblm: Using PostgreSQL JDBC driver from Windows.
List pgsql-jdbc
Hi Tony.

Thanks for your answer. The jar-file is properly located I think. The
code Class.forName("org.postgresql.Driver") is the line above the
connection call and this line wouldn't work if the jar isn't found,
right?

Kind regards, Ola

> -----Original Message-----
> From: tony [mailto:tony@animaproductions.com]
> Sent: den 18 juli 2002 18:00
> To: Ola Theander
> Cc: pgsql-jdbc@postgresql.org
> Subject: Re: [JDBC] Prblm: Using PostgreSQL JDBC driver from Windows.
>
>
> On Thu, 2002-07-18 at 17:48, Ola Theander wrote:
>
> > The Windows computer runs a development environment with
> Sun's Forte
> > for Java 4 CE and is used to develop JSP/servlet solutions. The db
> > server is running PostgreSQL 7.2.1. on a SuSE Linux 8.0. My
> guess is
> > that it might have something to do with threads since the
> code crashes
> > if it's in a servlet processed by Tomcat 4.x. If I move the
> same code
> > to a Java application, i.e. an ordinary main class, the same code
> > works.
>
> What machine is Tomcat running on? The JDBC driver needs to
> be in Tomcats path /common/lib
>
> Cheers
>
> Tony Grant
>
> --
> RedHat Linux on Sony Vaio C1XD/S
> http://www.animaproductions.com/linux2.html
> Macromedia
> UltraDev with PostgreSQL http://www.animaproductions.com/ultra.html
>
>


pgsql-jdbc by date:

Previous
From: tony
Date:
Subject: Re: Prblm: Using PostgreSQL JDBC driver from Windows.
Next
From: "Ola Theander"
Date:
Subject: Re: Prblm: Using PostgreSQL JDBC driver from Windows.