Thursday, September 25, 2014

Oracle JDBC problem - Locale not recognized on Glassfish

When you create JDBC connection pool for oracle you may seen error like below:

Ping Connection Pool failed for DBNAME. Connection could not be allocated because: Locale not recognized Please check the server.log for more details.

Solution of this problem is so simple. How we can solve this problem???

Simple, change oracle jdbc driver to later version. In my case it was ojdbc6.jar and I have changed it with ojdbc14.jar and my problem gone away :)

1 comment: