Where to set timezone for timezone region not found exception?

I am Developing RIA Web Applications with Oracle ADF with sample HR schema. below is error i am getting.
Unable to retrieve data: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
Please tell me how to fix it.
Thanks
Jaydeep

Hi Samesh/John,
It solved,
Go Tools > Project Properties then
2. (Project Properties) open select Run/Debug/Profile > in right you will see Default > Double click here or click Edit
3. (Edit run configuration) select Launch Settings > in 'Java option' text item past this line -Duser.timezone="+06:00"
4.close and re-open JDeveloper
5. Run entire project
Thanks for helping.
Jaydeep

Similar Messages

  • Class not Found Exception while running an EJB

    I have created and published a EJB in Oracle 8i (in a particular
    schema) by running the deployejb tool supplied. The ejb was
    published successfully. On running the client program I get an
    error saying that the mybeans's HomeHelper class cannot be
    found. This error occurs when there is a lookup to the home
    interface of the bean. The exception thrown says Reasons are
    unknown. On checking the objects of type 'JAVA CLASS' I found
    that the homeHelper class object had been created automatically
    be the deploy process. What is the reason for the class not
    found exception and what can I do to correct it. ?
    The code for the beans is as given below :
    Home Interface
    package mituser ;
    import javax.ejb.*;
    import java.rmi.RemoteException;
    public interface MITUserHome extends EJBHome {
    public MITUser create()
    throws CreateException, RemoteException;
    Remote Interface
    package mituser ;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    public interface MITUser extends EJBObject {
    public int validateUserName (String username)
    throws java.sql.SQLException, RemoteException;
    public int validatePassword (String username, String password)
    throws java.sql.SQLException, RemoteException;
    public String validateSearchAccess (String username, String
    password)
    throws java.sql.SQLException, RemoteException;
    Bean
    package mituserServer ;
    import java.sql.*;
    import java.rmi.RemoteException;
    import javax.ejb.*;
    public class MITUserBean implements SessionBean {
    SessionContext ctx;
    public void ejbCreate() throws CreateException,
    RemoteException {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void ejbRemove() {
    public void setSessionContext(SessionContext ctx) {
    this.ctx = ctx;
    public int validateUserName (String username) throws
    SQLException, RemoteException
    int count = 0 ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select count(username) from
    useraccountinfo where username = ?");
    try {
    ps.setString (1, username);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("no registered user with User
    Name " + username);
    count = rset.getShort(1) ;
    return count ;
    } finally {
    ps.close();
    public int validatePassword (String username, String password)
    throws SQLException, RemoteException
    int count = 0 ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select count(username) from
    useraccountinfo where username = ? and password = ?");
    try {
    ps.setString (1, username);
    ps.setString(2, password);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("Invalid Password ");
    count = rset.getShort(1) ;
    return count ;
    } finally {
    ps.close();
    public String validateSearchAccess (String username, String
    password) throws SQLException, RemoteException
    String searchaccess = "" ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select searchprofileaccess from
    useraccountinfo where username = ? and password = ?");
    try {
    ps.setString (1, username);
    ps.setString(2, password);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("Access Denied for " +
    username );
    searchaccess = rset.getString(1) ;
    return searchaccess ;
    } finally {
    ps.close();
    Client program
    import mituser.MITUser;
    import mituser.MITUserHome;
    import oracle.aurora.jndi.sess_iiop.ServiceCtx;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Hashtable;
    public class Client {
    public static void main (String [] args) throws Exception {
    int count = 0 ;
    String access = "" ;
    if (args.length != 4) {
    System.out.println("usage: Client serviceURL objectName
    user password");
    System.exit(1);
    String serviceURL = args [0];
    String objectName = args [1];
    String user = args [2];
    String password = args [3];
    Hashtable env = new Hashtable();
    env.put(Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
    env.put(Context.SECURITY_PRINCIPAL, user);
    env.put(Context.SECURITY_CREDENTIALS, password);
    env.put(Context.SECURITY_AUTHENTICATION,
    ServiceCtx.NON_SSL_LOGIN);
    Context ic = new InitialContext(env);
    MITUserHome home = (MITUserHome)ic.lookup (serviceURL +
    objectName);
    MITUser testBean = home.create ();
    count = testBean.validateUserName("MITA");
    if (count > 0 )
    System.out.println ("Valid User");
    else
    System.out.println ("Invalid User");
    count = testBean.validatePassword("MITA", "MITA");
    if (count > 0 )
    System.out.println ("Valid Password");
    else
    System.out.println ("Invalid Password");
    access = testBean.validateSearchAccess("MITA", "MITA");
    if ( access.equalsIgnoreCase("YES") )
    System.out.println ("Search Access Available");
    else
    System.out.println ("Search Access Denied");
    The Descriptor file
    // MIT UserBean EJB deployment descriptor
    SessionBean mituserServer.MITUserBean {
    BeanHomeName = "test/mitUserJDBCBean";
    RemoteInterfaceClassName = mituser.MITUser;
    HomeInterfaceClassName = mituser.MITUserHome;
    AllowedIdentities = {MIT};
    SessionTimeout = 20;
    StateManagementType = STATEFUL_SESSION;
    RunAsMode = CLIENT_IDENTITY;
    TransactionAttribute = TX_REQUIRED;
    Batch File for deploying the ejb
    @echo off
    if (%ORACLE_HOME%)==() goto usage
    if (%ORACLE_SERVICE%)==() goto usage
    if (%JDK_CLASSPATH%)==() goto usage
    @echo on
    set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
    \jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
    ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
    JDK_CLASSPATH%
    javac -g mituser\MITUser.java
    javac -g mituser\MITUserHome.java
    javac -g mituserServer\MITUserBean.java
    jar cf0 mituser.jar mituser\MITUser.class
    mituser\MITUserHome.class mituserServer\MITUserBean.class
    javac -g Client.java
    call deployejb -republish -temp temp -u mit -p mit -s %
    ORACLE_SERVICE% -descriptor mituser.ejb mituser.jar
    @echo off
    goto done
    :usage
    @echo -------------------------------------------------------
    @echo Following are the requirements to run this script
    @echo set ORACLE_HOME to installed Oracle home
    @echo set ORACLE_SERVICE to the CORBA service name of
    your databae
    @echo for example sess_iiop://localhost:2481:ORCL
    @echo set JDK_CLASSPATH to the full path of your JDK
    classes.zip
    @echo -------------------------------------------------------
    :done
    Batch file for running the cleint program
    @echo off
    if (%ORACLE_HOME%)==() goto usage
    if (%ORACLE_SERVICE%)==() goto usage
    if (%JDK_CLASSPATH%)==() goto usage
    @echo on
    set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
    \jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
    ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
    JDK_CLASSPATH%;server_generated.jar
    java Client %ORACLE_SERVICE% /test/mitUserJDBCBean mit mit
    @echo off
    goto done
    :usage
    @echo -------------------------------------------------------
    @echo Following are the requirements to run this script
    @echo set ORACLE_HOME to installed Oracle home
    @echo set ORACLE_SERVICE to the CORBA service name of
    your databae
    @echo for example sess_iiop://localhost:2481:ORCL
    @echo set JDK_CLASSPATH to the full path of your JDK
    classes.zip
    @echo -------------------------------------------------------
    :done
    I know this is not strictly to do with JDBC but there appears to
    be no discussion forum for EJB
    Hoping for a response soon as it us very URGENT
    Thanks
    Mita
    null

    I have created and published a EJB in Oracle 8i (in a particular
    schema) by running the deployejb tool supplied. The ejb was
    published successfully. On running the client program I get an
    error saying that the mybeans's HomeHelper class cannot be
    found. This error occurs when there is a lookup to the home
    interface of the bean. The exception thrown says Reasons are
    unknown. On checking the objects of type 'JAVA CLASS' I found
    that the homeHelper class object had been created automatically
    be the deploy process. What is the reason for the class not
    found exception and what can I do to correct it. ?
    The code for the beans is as given below :
    Home Interface
    package mituser ;
    import javax.ejb.*;
    import java.rmi.RemoteException;
    public interface MITUserHome extends EJBHome {
    public MITUser create()
    throws CreateException, RemoteException;
    Remote Interface
    package mituser ;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    public interface MITUser extends EJBObject {
    public int validateUserName (String username)
    throws java.sql.SQLException, RemoteException;
    public int validatePassword (String username, String password)
    throws java.sql.SQLException, RemoteException;
    public String validateSearchAccess (String username, String
    password)
    throws java.sql.SQLException, RemoteException;
    Bean
    package mituserServer ;
    import java.sql.*;
    import java.rmi.RemoteException;
    import javax.ejb.*;
    public class MITUserBean implements SessionBean {
    SessionContext ctx;
    public void ejbCreate() throws CreateException,
    RemoteException {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void ejbRemove() {
    public void setSessionContext(SessionContext ctx) {
    this.ctx = ctx;
    public int validateUserName (String username) throws
    SQLException, RemoteException
    int count = 0 ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select count(username) from
    useraccountinfo where username = ?");
    try {
    ps.setString (1, username);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("no registered user with User
    Name " + username);
    count = rset.getShort(1) ;
    return count ;
    } finally {
    ps.close();
    public int validatePassword (String username, String password)
    throws SQLException, RemoteException
    int count = 0 ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select count(username) from
    useraccountinfo where username = ? and password = ?");
    try {
    ps.setString (1, username);
    ps.setString(2, password);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("Invalid Password ");
    count = rset.getShort(1) ;
    return count ;
    } finally {
    ps.close();
    public String validateSearchAccess (String username, String
    password) throws SQLException, RemoteException
    String searchaccess = "" ;
    Connection conn =
    new oracle.jdbc.driver.OracleDriver().defaultConnection ();
    PreparedStatement ps =
    conn.prepareStatement ("select searchprofileaccess from
    useraccountinfo where username = ? and password = ?");
    try {
    ps.setString (1, username);
    ps.setString(2, password);
    ResultSet rset = ps.executeQuery ();
    if (!rset.next ())
    throw new RemoteException ("Access Denied for " +
    username );
    searchaccess = rset.getString(1) ;
    return searchaccess ;
    } finally {
    ps.close();
    Client program
    import mituser.MITUser;
    import mituser.MITUserHome;
    import oracle.aurora.jndi.sess_iiop.ServiceCtx;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Hashtable;
    public class Client {
    public static void main (String [] args) throws Exception {
    int count = 0 ;
    String access = "" ;
    if (args.length != 4) {
    System.out.println("usage: Client serviceURL objectName
    user password");
    System.exit(1);
    String serviceURL = args [0];
    String objectName = args [1];
    String user = args [2];
    String password = args [3];
    Hashtable env = new Hashtable();
    env.put(Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
    env.put(Context.SECURITY_PRINCIPAL, user);
    env.put(Context.SECURITY_CREDENTIALS, password);
    env.put(Context.SECURITY_AUTHENTICATION,
    ServiceCtx.NON_SSL_LOGIN);
    Context ic = new InitialContext(env);
    MITUserHome home = (MITUserHome)ic.lookup (serviceURL +
    objectName);
    MITUser testBean = home.create ();
    count = testBean.validateUserName("MITA");
    if (count > 0 )
    System.out.println ("Valid User");
    else
    System.out.println ("Invalid User");
    count = testBean.validatePassword("MITA", "MITA");
    if (count > 0 )
    System.out.println ("Valid Password");
    else
    System.out.println ("Invalid Password");
    access = testBean.validateSearchAccess("MITA", "MITA");
    if ( access.equalsIgnoreCase("YES") )
    System.out.println ("Search Access Available");
    else
    System.out.println ("Search Access Denied");
    The Descriptor file
    // MIT UserBean EJB deployment descriptor
    SessionBean mituserServer.MITUserBean {
    BeanHomeName = "test/mitUserJDBCBean";
    RemoteInterfaceClassName = mituser.MITUser;
    HomeInterfaceClassName = mituser.MITUserHome;
    AllowedIdentities = {MIT};
    SessionTimeout = 20;
    StateManagementType = STATEFUL_SESSION;
    RunAsMode = CLIENT_IDENTITY;
    TransactionAttribute = TX_REQUIRED;
    Batch File for deploying the ejb
    @echo off
    if (%ORACLE_HOME%)==() goto usage
    if (%ORACLE_SERVICE%)==() goto usage
    if (%JDK_CLASSPATH%)==() goto usage
    @echo on
    set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
    \jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
    ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
    JDK_CLASSPATH%
    javac -g mituser\MITUser.java
    javac -g mituser\MITUserHome.java
    javac -g mituserServer\MITUserBean.java
    jar cf0 mituser.jar mituser\MITUser.class
    mituser\MITUserHome.class mituserServer\MITUserBean.class
    javac -g Client.java
    call deployejb -republish -temp temp -u mit -p mit -s %
    ORACLE_SERVICE% -descriptor mituser.ejb mituser.jar
    @echo off
    goto done
    :usage
    @echo -------------------------------------------------------
    @echo Following are the requirements to run this script
    @echo set ORACLE_HOME to installed Oracle home
    @echo set ORACLE_SERVICE to the CORBA service name of
    your databae
    @echo for example sess_iiop://localhost:2481:ORCL
    @echo set JDK_CLASSPATH to the full path of your JDK
    classes.zip
    @echo -------------------------------------------------------
    :done
    Batch file for running the cleint program
    @echo off
    if (%ORACLE_HOME%)==() goto usage
    if (%ORACLE_SERVICE%)==() goto usage
    if (%JDK_CLASSPATH%)==() goto usage
    @echo on
    set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
    \jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
    ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
    JDK_CLASSPATH%;server_generated.jar
    java Client %ORACLE_SERVICE% /test/mitUserJDBCBean mit mit
    @echo off
    goto done
    :usage
    @echo -------------------------------------------------------
    @echo Following are the requirements to run this script
    @echo set ORACLE_HOME to installed Oracle home
    @echo set ORACLE_SERVICE to the CORBA service name of
    your databae
    @echo for example sess_iiop://localhost:2481:ORCL
    @echo set JDK_CLASSPATH to the full path of your JDK
    classes.zip
    @echo -------------------------------------------------------
    :done
    I know this is not strictly to do with JDBC but there appears to
    be no discussion forum for EJB
    Hoping for a response soon as it us very URGENT
    Thanks
    Mita
    null

  • Create WLS Domain with SOA - ORA-01882: timezone region  not found

    Hi All,
    I am installing SOA 11g 11.1.1.5 on my windows 7 machine. I have installed my XE database and the dbtimezone is set to = +02:00( which i have set and bounced the db).
    I have installed the RCU, Weblogic server and SOA. Now when I am trying to create a WLS domain, after I configure JDBC schemas, when i try to test it i get the following:
    Component Schema=SOA Infrastructure
    Driver=oracle.jdbc.xa.client.OracleXADataSource
    URL=jdbc:oracle:thin:@localhost:1521/XE
    User=DEV_SOAINFRA
    Password=*********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.5.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    Component Schema=User Messaging Service
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@localhost:1521/XE
    User=DEV_ORASDPM
    Password=*********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.2.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    Component Schema=OWSM MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@localhost:1521/XE
    User=DEV_MDS
    Password=*********
    SQL Test=select 1 from schema_version_registry where
                        owner=(select user from dual) and mr_type='MDS' and
                        version='11.1.1.5.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    Component Schema=SOA MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@localhost:1521/XE
    User=DEV_MDS
    Password=*********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.5.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    My Windows time region is set to (UTC+02:00) Harare, Pretoria
    Any help on resolving this ?
    Thanks
    K

    Hi,
    This worked for me,
    1. Navigate to the directory where you ran the config.bat script.
    2. Use use a text editor open the config.bat file.
    3. Locate this line in the file : SET CONFIG_JVM_ARGS=%CONFIG_JVM_ARGS% -DCOMMON_COMPONENTS_HOME=%COMMON_COMPONENTS_HOME%
    4. Append this string to the end -Duser.timezone="+02:00" and run the config script again.
    5. also check that the oracle db timezone is set correctly.
    SQL> select sessiontimezone from dual;
    SESSIONTIMEZONE
    +02:00
    Hope that helps -- it worked for me.
    Mo

  • Stand alone APEX listener install fails with timezone region  not found

    Hi,
    I have searched the forum but found only a thread for the installation with Goldfish.
    I am very new to all this so I apologise if my problem is too simple, but please help as I am very frustrated with it.
    I have a 10.2.0.4 database on Windows XP for testing with.
    I installed APEX into it successfully, then down loaded the listener.
    I have to Java installations, one under my Oracle Home, the other under Middleware where I have JDeveloper installed.
    If I try $ORACLE_HOME/jdk/bin/java -jar apex.war it throws a Unsupported class version so I tried with the Middleware jdk and it appeared to install.
    I then went to http://localhost:8080/apex/listenerConfigure and entered the password for APEX_PUBLIC_USER and the info for a basic connection, it fails with the following message
    Request could not be processed due to error:
    Sat Apr 30 00:06:30 CAT 2011
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    Please if anyone can help me through asap this I would be most grateful

    Yay, I found the solution:
    I started by running:
    begin
    for v_rec in (select tzname,tz_offset(tzname) v_offset from v$timezone_names
    where tzabbrev='CAT') loop
    dbms_output.put_line('tzname '||v_rec.tzname||', offset '|| v_rec.v_offset);
    end loop;
    end;
    SQL> /
    tzname Africa/Khartoum, offset +03:00
    tzname Africa/Windhoek, offset +01:00
    tzname America/Anchorage, offset -08:00
    tzname US/Alaska, offset -08:00
    PL/SQL procedure successfully completed.
    I then added -Duser.timezone="+01:00" before the apex.war ie
    java –jar -Duser.timezone="+01:00" apex.war

  • [ADF JDEV11.1.1.4] Timezone region not found problem in JDEV

    HEllo,
    I just moved my project to JDEV11.1.1.4 from 11.1.1.3.
    All is fine except for database Navigator.
    In 11.1.1.3, I was able to connect to my Oracle Database from Database Navigator Tab. I just needed to set the Java options -Duser.timezone="+01:00" to my project to resolve the timesone region not found problem when running my app onto the embedded WLS.
    In 11.1.1.4, I can run mu project fine with same Java options but I cannot anymore connect to my DB using Database Navigator.
    I got the famous ORA-01882: timezone region not found error.
    I tried adding this line into ide.conf:
    AddVMOption -Duser.timezone="+01:00"
    but still not working.
    Any idea what I should do pls?
    thx
    Jack

    OK, I made a mistake into the line:
    Adding :
    AddVMOption -Duser.timezone="+01:00"
    in ide.conf works fine.
    I just forgot to close and reopen JDEV.

  • Timezone region not found

    Hi Evrybody,
    I am using JDev 11 + WLS 10.3 . When i trying to deploy my fussion web application in remote server i am getting below error.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDat
    aException, msg=ORA-01882: timezone region not found
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBu
    ilderImpl.java:5490)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTrans
    actionImpl.java:5020)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl
    .java:1132)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:63
    72)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactio
    nImpl2.java:286)
    Truncated. see log file for complete stacktrace
    Caused By: java.sql.SQLDataException: ORA-01882: timezone region not found
    For this in my ViewController -> project properties -> Run/Debug/Profile ->Edit my profile and kepted Virtual Meachine - > JavaOption as -Duser.timezone="GMT-12:00"
    same as in ModleController also.
    And in my view object i am using datatype as date and by default get the date "adf.CurrentDate" for bring when form loads.
    In my remote server creation time selected jdk JRock as default selected.
    How i can resolve this.
    TIA
    Edited by: JDeveloper on Mar 8, 2011 4:51 AM

    Yes, by setting the user time zone. Or not setting the zone at all and enabling the automatic DST switch in Windows Server (assuming you're on Windows).
    If you enable the DST switch, then the JVM does not report "GMT+1:00" for example, but something like "Europe/Berlin" which is a TZ ID known to the database.
    If I remember correctly, it works like this:
    The transaction tries to read the time zone from the session's LocaleContext.
    If that's not there, then it uses TimeZone.getDefault().getID().
    The ID is then passed "as is" into the SQL builder method.
    So you could:
    - Change the JVM default timezone ID
    - Switch on automatic DST handling on the server OS
    - Put a different user timezone into the (BC4J) session's locale context
    - Create your own SQL builder and override setSessionTimeZone()
    Do you still get the same exception and the same stack trace, even when you specify a user time zone? Strange!
    Would be interesting to know what the SQL builder tries to set. Maybe you could create a tracefile or put the JDBC driver into logging mode and see what the parameter is.
    Sascha

  • Fusion order  issue+(SQLException) ORA-01882: timezone region  not found

    hi,
    i have created entities,viewObjects and AM with help of Business Components from tables
    after creating the wizard when i run the AM i am getting the below error please any one help
    oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.sql.SQLException, msg=ORA-01882: timezone region not found
    ----- Level 1: Detail 0 -----
    (java.sql.SQLException) ORA-01882: timezone region not found

    hi,
    i am trying to creating a graph in ADF page where i have dragged a node from datacontrol i have selected as bar graph in configuration window given values for Bars and swap bars with Xaxis and click the preview tab where i am getting this error as
    it couldnot fetech data
    Unable to retrieve data: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
    Jdev11g i have reinstalled the recently but previously i installed Jdev11g and used were i got same problem i have followed steps which given by Shychemaker that time it work fine now i have done same steps but now its not working can anyone help me
    Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:4957)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5054)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1280)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6415)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:118)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:217)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:558)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:414)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:494)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:836)
         at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:480)
         at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:265)
         at oracle.adf.model.BindingContext.put(BindingContext.java:1012)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:175)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:778)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:911)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:802)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:758)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:889)
         at oracle.adf.model.BindingContext.get(BindingContext.java:848)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1421)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2388)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2333)
         at oracle.adf.model.dvt.binding.transform.Utils.getCubicDataControl(Utils.java:104)
         at oracle.adf.model.dvt.binding.transform.CDCDefinition.getCubicDataControl(CDCDefinition.java:124)
         at oracle.adf.model.dvt.binding.transform.TransformDefinition.getCubicDataControl(TransformDefinition.java:175)
         at oracle.adf.model.dvt.binding.transform.CDCDefinition.setCubicBinding(CDCDefinition.java:64)
         at oracle.adf.model.dvt.binding.transform.TransformDefinition.setCubicBinding(TransformDefinition.java:160)
         at oracle.adf.model.dvt.binding.common.CubicBinding.getProjection(CubicBinding.java:184)
         at oracle.adf.model.dvt.binding.common.CubicBinding.getProjection(CubicBinding.java:141)
         at oracle.adf.model.dvt.binding.common.CubicBinding.createCubeDataModel(CubicBinding.java:203)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.createDataModel(FacesCubicBinding.java:169)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:131)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:122)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:89)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.preview.PreviewRuntime.fetchData(PreviewRuntime.java:99)
         at oracle.adfdtinternal.model.dvt.ide.objects.editors.CubicHierEditor$5$1.run(CubicHierEditor.java:933)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:936)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1706)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1674)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:274)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:7264)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:4953)
         ... 45 more
    ## Detail 0 ##
    java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:936)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1706)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1674)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:274)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:7264)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:4953)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5054)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1280)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6415)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:118)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:217)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:558)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:414)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:494)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:836)
         at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:480)
         at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:265)
         at oracle.adf.model.BindingContext.put(BindingContext.java:1012)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:175)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:778)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:911)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:802)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:758)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:889)
         at oracle.adf.model.BindingContext.get(BindingContext.java:848)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1421)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2388)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2333)
         at oracle.adf.model.dvt.binding.transform.Utils.getCubicDataControl(Utils.java:104)
         at oracle.adf.model.dvt.binding.transform.CDCDefinition.getCubicDataControl(CDCDefinition.java:124)
         at oracle.adf.model.dvt.binding.transform.TransformDefinition.getCubicDataControl(TransformDefinition.java:175)
         at oracle.adf.model.dvt.binding.transform.CDCDefinition.setCubicBinding(CDCDefinition.java:64)
         at oracle.adf.model.dvt.binding.transform.TransformDefinition.setCubicBinding(TransformDefinition.java:160)
         at oracle.adf.model.dvt.binding.common.CubicBinding.getProjection(CubicBinding.java:184)
         at oracle.adf.model.dvt.binding.common.CubicBinding.getProjection(CubicBinding.java:141)
         at oracle.adf.model.dvt.binding.common.CubicBinding.createCubeDataModel(CubicBinding.java:203)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.createDataModel(FacesCubicBinding.java:169)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:131)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:122)
         at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:89)
         at oracle.adfdtinternal.model.dvt.ide.objects.bindPanels.preview.PreviewRuntime.fetchData(PreviewRuntime.java:99)
         at oracle.adfdtinternal.model.dvt.ide.objects.editors.CubicHierEditor$5$1.run(CubicHierEditor.java:933)
         at java.lang.Thread.run(Thread.java:619)

  • Erro ORA-01882: timezone region  not found

    my oracle jdeveloper version is 11.1.1.5.0
    when i am runing AppModule the error message box shown with this text : " timezone region not found"
    i reinstall the jdeveloper but this error don't solved

    Hi,
    In the Project Properties-> Run/Debug , set the java options as -Duser.timezone for both the Model and UI project.
    1. Go Tools > Project Properties then
    2. (Project Properties) open select Run/Debug/Profile > in right you will see Default > Double click here or click Edit
    3. (Edit run configuration) select Launch Settings > in 'Java option' text item past this line -Duser.timezone="+05:30"
    4.close and re-open JDeveloper
    5. Run entire project
    Try this and share your results.
    regards,
    Rajan

  • ORA-01882: timezone region  not found

    Hi
    I am getting an error while i am trying to access the Data-source created in my weblogic server
    I have created Data source and the test connection was success ,after that i have deployed my application to weblogic server
    whenever my application trying to access Database through i am getting an error ORA-01882: timezone region  not found
    I am using weblogic 10.3 installed on Enterprise-Linux Release5 for 64 bit
    I am using Oracle 11 DB installed on windows 2003 server
    and i have tried by adding -Duser.timezone=GMT+5:30 to JAVA_PROPERTIES in setDomainEnv.sh and i tried a lot of time zones eg: UTC,...
    Please Advice
    Please see the log below
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region  not found
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5128)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5016)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1128)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6368)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:286)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:553)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:409)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8534)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4392)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2388)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2204)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3088)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1494)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1399)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1370)
    at view.backing.Login.fnLogin(Login.java:69)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    Dear Joe,
    Once again thank you very much for your prompt response.
    I have tried the proposed solution without success. In order to identify the exact issue I have created a small application and tried with JDBC connection as below It works fine. But when tried using the DSN it does NOT connects.
    Any idea whether we should consider any special option when we create DSN on WL which is in Linux when compared to Windows? Please advice.
    ====================
    public static Connection getConnection() throws Exception
         Connection con=null;
         String url = "jdbc:oracle:thin:@10.201.1.65:1521:TEST";
         String driverName = "oracle.jdbc.driver.OracleDriver";
         Class.forName(driverName);
         con = DriverManager.getConnection(url, "HR", "HR");
    System.out.println("CONNECTED===>"+con);
         return con;
    =====================
    Thanks in advance
    -Jeethi

  • ORA-01882:timezone region not found while trying to add ADF-BC Fact in Rule

    Hi,
    I want to use the SOA component "Oracle Business Rules" in the ADF application.
    I created a ADF Application, created relevant VO's. I created a SOA project in the same workspace and tried to add a ADF-BC fact to the Business Rule component.
    I configured the -Duser.timezone="+05:30" option for java runtime.
    However I still get the timezone not found exception and am unable to add ADF-BC fact to the rule component.
    Here is the full stack trace.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5550)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5267)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1185)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6728)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:153)
         at oracle.rules.sdk2.datamodel.impt.AdfBcTransactionFactory.createTransaction(AdfBcTransactionFactory.java:50)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1899)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1875)
         at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.createBCFacts(SDKModel.java:3155)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationPanel.handleImportViewDefinition(BCFactCreationPanel.java:222)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationDialog$2.run(BCFactCreationDialog.java:157)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:998)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1822)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1787)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:280)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:8007)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5544)
         ... 19 more
    ## Detail 0 ##
    java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:998)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1822)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1787)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:280)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:8007)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5544)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5267)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1185)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6728)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:153)
         at oracle.rules.sdk2.datamodel.impt.AdfBcTransactionFactory.createTransaction(AdfBcTransactionFactory.java:50)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1899)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1875)
         at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.createBCFacts(SDKModel.java:3155)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationPanel.handleImportViewDefinition(BCFactCreationPanel.java:222)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationDialog$2.run(BCFactCreationDialog.java:157)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)

    Hi,
    ORA-01882: timezone region not found in pivot is it bug
    Its a database error, why do you think its a bug with the Pivot table. The same behavior can be observed with WebLogic Server and SQL Developer - so I am not quite sure how this can be pointed back to the pivot table in your opinion. Maybe this here will help you getting to the core of the problem: http://www.jvmhost.com/articles/java-and-timezones
    Frank
    Edited by: Frank Nimphius on Jun 1, 2012 8:01 AM

  • Error ORA-01882: timezone region not found

    Hi, Any one can help on this issue.
    On Webpage
    :P129_CRT_START: 20-JUL-2007 11:45
    :P129_CRT_TZ: PST8PDT
    :P129_LOCAL_TZ: Asia/Calcutta
    SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE(:P129_CRT_START, 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),':P129_CRT_TZ') AT TIME ZONE ':P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    Error ORA-01882: timezone region not found
    Error ERR-1019 Error computing item default value: page=129 name=P129_LOCAL_CRT_START.
    OK
    with SQL Prompt
    SQL> SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('&P129_CRT_START', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'&P129_CRT_TZ') AT TIME ZONE '&P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL;
    Enter value for p129_crt_start: 20-JUL-2007 11:45
    Enter value for p129_crt_tz: PST8PDT
    Enter value for p129_local_tz: Asia/Calcutta
    old 1: SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('&P129_CRT_START', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'&P129_CRT_TZ') AT TIME ZONE '&P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    new 1: SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('20-JUL-2007 11:45', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'PST8PDT') AT TIME ZONE 'Asia/Calcutta' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    TO_CHAR((SELECTFR
    21-JUL-2007 00:15
    I am not getting default value of the Item. Please Help.
    Regards,
    Rahul

    SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE(:P129_CRT_START, 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),(:P129_CRT_TZ)) AT TIME ZONE (:P129_LOCAL_TZ) FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    Workling

  • ORA-01882: timezone region  not found in pivot ?

    Hi Experts,
    i think this known to all who are using jdev11.1.1.5.0 :) while am playing with pivot table, show this error(mentioned in subject) at last step (most of the times may/sometimes may not) but i can able to complete.
    can i able fix this.? if so how?
    i already give this -Duser.timezone='+05:30' to my project both Model||View Controller.Is there any other specific setting to do that?
    thanks&&Regards
    adf7.

    Hi,
    ORA-01882: timezone region not found in pivot is it bug
    Its a database error, why do you think its a bug with the Pivot table. The same behavior can be observed with WebLogic Server and SQL Developer - so I am not quite sure how this can be pointed back to the pivot table in your opinion. Maybe this here will help you getting to the core of the problem: http://www.jvmhost.com/articles/java-and-timezones
    Frank
    Edited by: Frank Nimphius on Jun 1, 2012 8:01 AM

  • ORA-01882: timezone region not found  in NetBeans 7.0.1

    Please how do I solve ORA-01882: timezone region not found in Netbeans 7.0.1 ?

    no such TZNAME as Africa/Luanda Version 4 of the timezone patch doesn't have that one either, and if you don't have at least version 3 the DST rules won't be correct for the 2007 DST changes. v4 does have Africa/Windhoek if that's close enough, can't tell if that one is in v2 we don't have anything on a patch earlier than v4.
    Might be able to work around it by specifying an offset (i.e. +1:00) instead of a named time zone, patch files for the base 10.2.0.1 aren't even listed in support note 412160.1. There is also note 396387.1, "Workarounds when Database time zone patches are not available for your patchset" that one might be helpful.

  • ORA-01882: timezone region not found  in Windows 2003 Server System

    Hi,
    I am using windows server 2003 and the IDE jdeveloper 11.1.1.1.0. I have this error ORA-01882: timezone region not found .
    To resolve it, I added -Duser.timezone=GMT in my project properties. It doesn't work in windows server 2003. I tried the same thing in windows xp it works well.
    So, what's the problem concerning windows server 2003 ??
    please help me.
    thanks a lot.

    no such TZNAME as Africa/Luanda Version 4 of the timezone patch doesn't have that one either, and if you don't have at least version 3 the DST rules won't be correct for the 2007 DST changes. v4 does have Africa/Windhoek if that's close enough, can't tell if that one is in v2 we don't have anything on a patch earlier than v4.
    Might be able to work around it by specifying an offset (i.e. +1:00) instead of a named time zone, patch files for the base 10.2.0.1 aren't even listed in support note 412160.1. There is also note 396387.1, "Workarounds when Database time zone patches are not available for your patchset" that one might be helpful.

  • 'timezone region not found' while updating connection pool

    Hi Experts,
    We have upgraded our weblogic server from 10.3.3.0(11.1.1.3.0) to 10.3.6.0(11.1.1.6.0)
    All the data sources and connection pools were created in the previous version(11.1.1.3.0) and it worked fine.
    After the upgrade has done, we tried to run a BPEL web service which is using a database connection to get some data.
    Then the below error has thrown out in EM.
    *<part name="summary">*
    *<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Validate_Invoice' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [jdbc/EBSAPPS]. Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.EBSAPPS'. Resolved 'jdbc'; remaining name 'EBSAPPS'. You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>*
    *</part>*
    *<part name="detail">*
    *<detail> Exception Description: Cannot acquire data source [jdbc/EBSAPPS]. Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.EBSAPPS'. Resolved 'jdbc'; remaining name 'EBSAPPS'</detail>*
    *</part>*
    Then I tried to recreate the data source and jndi name.
    Then I got below error while creating connection pool,
    An error occured during activation of changes. Please see the log for details.
    Weblogic.Application.ModuleExeption
    ORA-00604: Error occurred at recursive sql level 1ORA 1882:timezone region not found.
    Database OS level timezone is - SLT
    Weblogic server OS level timezone is - IST
    As i remember above are the timezones there earlier also....
    What can do??
    Thanks in advance....

    Hi Joe,
    Thanks for the reply...
    But it seems answers are given related to 'Application Express Listener'.
    The thing is we got this issue once we upgrade the middleware tier. We cannot do anything on database side. (Remote database)
    The solution should be in middleware, Weblogic server side.
    Our live environment still in the 10.3.3.0 version. It works fine..
    any suggestions ???
    Thanks....

Maybe you are looking for