June 2011
2 posts
Connection Pooling in JDBC with Postgres and...
I was trying to get connection pooling in JDBC with Postgres going and looked into using the Commons DBCP and Pool libraries.
The problem is that the examples on how to get started dont refer to the released versions of the libraries but instead refer to trunk and the current refactoring.
Thus: the basic “PoolingDataSourceExample.java” doesnt work as advertised, based on the...
CRON gotcha
Programs and scripts in /etc/cron.{d, hourly,daily,weekly,monthly}/ are ignored if their names contain characters outside a very strict list. Most notably, dots. So if your program ends with .sh, .pl, .py or whatever, cron will silently ignore it.