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

 

Tags: , , ,

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this. To know all the policy detais click here.

Close