There is a bug on Oracle’s JDBC driver.
Oracle has beenĀ published a note about here there is an extract:
Applies to:
JDBC – Version: 11.2.0.1 and later [Release: 11.2 and later ]
Information in this document applies to any platform.
Symptoms
A standalone java application connects to a version 10.2.0.4 database via JDBC/Thin 11.2.0.1. The application runs on several machines. The machines have different Unix operating
systems.
Consistently, when trying to connect to the database, the application running on one specific machine fails with:java.sqI.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
An errorstack trace for ORA-01882 identifies the failing statement.
ksedmp: internal or fatal error
ORA-01882: timezone region not found
Current SQL statement for this session:
ALTER SESSION SET TIME_ZONE=’Africa/Lome’ NLS LANGUAGE = ‘AMERICAN’
NLS TERRITORY=’AMERICA’David has kindly advice a workaround
add the following to run.sh:
“-Duser.timezone=GMT”
Of course you should use your own GMT region