RE: tomcat4 + postgresql jdbc

2005-01-18 Thread Carlos Martins
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

RE: tomcat4 + postgresql jdbc

2005-01-18 Thread Oege de Moor
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

RE: tomcat4 + postgresql jdbc

2005-01-18 Thread Larry Isaacs
. 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

RE: tomcat4 + postgresql jdbc

2005-01-18 Thread Oege de Moor
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

Re: tomcat4 + postgresql jdbc

2005-01-18 Thread karjera
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]

RE: tomcat4 + postgresql jdbc

2005-01-18 Thread Phillip Qin
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

RE: tomcat4 + postgresql jdbc

2005-01-18 Thread Larry Isaacs
-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

RE: tomcat4 + postgresql jdbc

2005-01-18 Thread Oege de Moor
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

Re: tomcat4 + postgresql jdbc

2005-01-18 Thread Bjørn T Johansen
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