Thanks for sharing the tip! What adjustments exactly did you have to make? I just make every user to log on with different PG username. Are there any other options?
It's fairly unusual to have a tomcat application of any size login to the db as the user. Could you share the reason why ?