Connect Jira to Postgresql with Pgpool-II
Well ... check the pgpool logs and your servlet container logs.

I'd also try psql 'host=localhost port=9999 dbname=postgres username=postgres password=whatever'

Most likely the PgPool configuration has issues. If it works from psql, you'd need to check out the server logs to see what's up.