tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat5.5 postgresql, security oh my
Date Mon, 03 Dec 2007 15:36:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris,

Chris Baty wrote:
> If Tomcat5.5 security is off I'm able to get a connection. If
> Security is on I get catched out and get:
> 
> org.postgresql.util.PSQLException: Something unusual has occured to cause the driver
to fail. Please report this exception.
> org.postgresql.util.PSQLException: Something unusual has occured to cause the driver
to fail. Please report this exception.
>     at org.postgresql.Driver.connect(Driver.java:263)

It looks like you haven't allowed the JVM to access the appropriate TCP
port (or named pipe or however Postgres's JDBC driver talks to the server).

I don't know exactly how to enable a port for a Java SecurityManager,
but this should get you a bit further in your search.

Hope that helps,
- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHVCJu9CaO5/Lv0PARAiPEAKCKzEt1Ow5yca61fu88lKHQXbX8dgCgss7m
2OiqmcHEv/7C0W7w/407pCY=
=mMwF
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message