From: | "Ola Theander" <ola(dot)theander(at)otsystem(dot)com> |
---|---|
To: | "'tony'" <tony(at)animaproductions(dot)com> |
Cc: | <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Prblm: Using PostgreSQL JDBC driver from Windows. |
Date: | 2002-07-18 16:13:41 |
Message-ID: | 001101c22e76$156d04c0$c5000a0a@c0002 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)animaproductions(dot)com]
> Sent: den 18 juli 2002 18:00
> To: Ola Theander
> Cc: pgsql-jdbc(at)postgresql(dot)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
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Ola Theander | 2002-07-18 16:16:54 | Re: Prblm: Using PostgreSQL JDBC driver from Windows. |
Previous Message | tony | 2002-07-18 15:59:36 | Re: Prblm: Using PostgreSQL JDBC driver from Windows. |