Re: Prblm: Using PostgreSQL JDBC driver from Windows.
От | Ola Theander |
---|---|
Тема | Re: Prblm: Using PostgreSQL JDBC driver from Windows. |
Дата | |
Msg-id | 001b01c22e7e$1ba96b00$c5000a0a@c0002 обсуждение исходный текст |
Ответ на | Re: Prblm: Using PostgreSQL JDBC driver from Windows. (tony <tony@animaproductions.com>) |
Список | pgsql-jdbc |
Hi again. Yes, it's probably a Tomcat problem since I can connect to PostgreSQL from inside the Forte ide and a simple 5-line application also works, but inside Forte's built in Tomcat it fails. /ola > -----Original Message----- > From: tony [mailto:tony@animaproductions.com] > Sent: den 18 juli 2002 18:18 > To: Ola Theander > Cc: pgsql-jdbc@postgresql.org > Subject: RE: [JDBC] Prblm: Using PostgreSQL JDBC driver from Windows. > > > On Thu, 2002-07-18 at 18:13, Ola Theander wrote: > > > 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? > > It is kind of messy if you are using the application server > within Forte. I haven't had much luck with that. So I run the > application server on the db machine (in development > environment). Tomcat seems to have less problems talking to > the database that way. > > Connecting from Forte to Postgresql has always worked well > for me. If you can list the database tables in Forte then you > have a Tomcat problem. > > Cheers > > Tony > > -- > 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 по дате отправления: