Hi,
Is it possible that the database connection credentials are not right? Have you
tried connecting to the database from the standard client with the same
username and password?
Regards
Carlos
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oege de
Thanks for the suggestion!
I can successfully connect with a normal Java program.
In pg_hba.conf, I've got the line
hostall all 127.0.0.1 255.255.255.255 trust
hostall all 192.168.53.2 255.255.255.0 trust
so all IP connections from the
.
Cheers,
Larry
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Oege de Moor
Sent: Tuesday, January 18, 2005 11:54 AM
To: Tomcat Users List
Subject: RE: tomcat4 + postgresql jdbc
Thanks for the suggestion!
I can successfully connect with a normal
of such a permission.
Cheers,
Larry
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Oege de Moor
Sent: Tuesday, January 18, 2005 11:54 AM
To: Tomcat Users List
Subject: RE: tomcat4 + postgresql jdbc
Thanks for the suggestion!
I can
Laba diena.
Dkojame, kad mums parate.
Js atsista inut isaugota ms duomen bazje.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Test without security manager so that we can isolate the problem.
-Original Message-
From: Oege de Moor [mailto:[EMAIL PROTECTED]
Sent: January 18, 2005 12:24 PM
To: Tomcat Users List
Subject: RE: tomcat4 + postgresql jdbc
Do you mean I should add something like:
grant codeBase file
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Oege de Moor
Sent: Tuesday, January 18, 2005 12:24 PM
To: Tomcat Users List
Subject: RE: tomcat4 + postgresql jdbc
Do you mean I should add something like:
grant codeBase file:/var/lib/tomcat4
Subject: RE: tomcat4 + postgresql jdbc
Do you mean I should add something like:
grant codeBase file:/var/lib/tomcat4/webapps/- {
permission java.net.SocketPermission 127.0.0.1:5432, connect;
permission java.net.SocketPermission 127.0.0.1:5432, resolve; };
Unfortunately
This only enable connections from 192.168.53.2 and not the network 192.168.53.x
To enable the network, you need to write 192.168.53.0 as the ip address
BTJ
Thanks for the suggestion!
I can successfully connect with a normal Java program.
In pg_hba.conf, I've got the line
hostall