Hi,
today I had a little problem with the actual
JDBC driver. Due to the use of Runtime.addShutdownHooks(), which throws a
SecurityException if used within a servlet container (WebLogic Server 5.1 &
6.0), the postgres JDBC driver is unusable in this environments. I spent some
minutes looking at the code and came to the conclusion, that ConnectionHook
should TRY to register itself, but without the sufficient permissions it should
go on without throwing exceptions.
The modified ConnectionHook worked fine for me and
my application operates very well from within the WLS container.
With regards,
Ralf E.
Stranzenbach
|