On Mon, Jun 18, 2001 at 12:52:56PM +0200, Tim Stoop wrote:
> Ryszard Lach wrote:
> >
> > and I still receive an error (included at bottom of the message) while calling
> > Class.forName("postgresql.Driver") in a .jsp file located in .../webapp/my_app
> > directory.
>
> Try not using the DriverManager, like so:
>
> Driver drv = org.postgresql.Driver;
> Connection conn = drv.connect("jdbc:postgresql:localhost", "username",
> "password");
>
> Worked for me (although you should look for the exact connect-method,
> I'm not very sure about this one).
>
The effect is the same. I forgott to write, that normal (java) program using
this driver works fine. I've checked also whether java executable
($JAVA_HOME/bin/java) opens apropriate files (using unix strace command) and I
found it doaes.
Do you have any other suggestions ?
R.
--
** Internet Designers S.A., ul. Przedmiejska 6--10, 54-201 Wrocław **
tel. (071) 35 00 445 w. 25; fax (071) 37 35 946; http://www.id.pl/