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

Similar Messages

  • 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

  • ERROR in JDEVELOPER: ORA-01882: timezone region not found

    Hello All,
    When i create new database connection with HR database (XE), I'm getting ORA-01882: timezone region not found error in jdeveloper.
    Database Navigator->Create Database Connection
    How to i fix this problem?
    - JDeveloper 11.1.1.4
    - Oracle Expression Edition 10g.
    Thank you,
    Erdenebayar.

    Hi Erdenebayar,
    How did u add the line in jdev.conf i tried by adding below variants but none worked. Can you please print exact line that you've added to jdev.conf and added to projects (I'm using jdev 11.1.1.4):
    Variant 0)
    -Duser.timezone="+05:30" (each projects run profile)
    Variant 1)
    AddVMOption -Duser.timezone='05.30' (line added to jdev.conf)
    -Duser.timezone='05.30' (each projects run profile)
    Variant 2)
    AddVMOption -Duser.timezone='+05.30' (line added to jdev.conf)
    -Duser.timezone='+05.30' (each projects run profile)
    Variant 3)
    AddVMOption -Duser.timezone='+05.30' (line added to jdev.conf)
    -Duser.timezone='+05.30' (each projects run profile)
    Variant 4)
    AddVMOption -Duser.timezone="+05:30" (line added to jdev.conf)
    -Duser.timezone="+05:30" (each projects run profile)
    Variant 5)
    AddVMOption -Duser.timezone="05:30" (line added to jdev.conf)
    -Duser.timezone="05:30" (each projects run profile)
    But none are resolving the issue.

  • JDeveloper 11g (timezone region  not found)

    Hi all,
    I've just installed JDeveloper 11g and made sample ADF application. When I tried to run application module I got this error:
    *(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.sql.SQLException, msg=ORA-01882: timezone region not found*
    I'm using database 10g (10.2.0), is this the problem?!
    Thanks
    Edited by: Bassam2 on Oct 14, 2008 3:58 PM

    hi Bassam2
    see JDeveloper 11g production version error
    success
    Jan Vervecken

  • 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.

  • 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

  • ODI ORA00604 error recursive sql at level 1: timezone region not found

    Hi All,
    I am getting the following error while executing my load plan.
    The package which is throwing this error is running successfully when unit tested.
    Please suggest,
    Regards,
    Prerna

    Is this of any use to you?
    http://manojm-nair.blogspot.com/2011/03/ora-01882-timezone-region-not-found.html

  • [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' 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....

  • 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

Maybe you are looking for

  • WARNING: Failed to acquire org.gnome.SessionManager

    can't open gnome-shell(terminal) message: WARNING: Failed to acquire org.gnome.SessionManager my /etc/rc.conf DAEMONS=(dbus hal syslog-ng !network !dhcdbd !networkmanager netfs crond wicd alsa gdm) ~/.xinitrc expor LC_CTYPE="en_US.utf8" export XIM="i

  • Where are my artists?

    My ipod is synced, artist info if filled in, and compilations is checked off.

  • Percentage issue, please?

    Hi Gurus, i have issue with percentage calculation Names |Count|Percentage AAAA | 4------|80.00% BBBBB | 1------|16.67% Total---| 5----- |100.00% I am getting wrong result in above table for 16.67%, but 1/5 is 20.00%. How i am doing is i am counting

  • Connections getting closed

    Hi, We have set up weblogic with connection pool as 30 min, 50 max amnd increment 5.So even as the weblogic is started 30 connections are created in the database(Oracle).But after some time the no. of connections in Oracle gradually comes down from 3

  • Multiple iPad Address problems (duplications-deletions)

    Tonight i deleted several names out of a group on the iPad Address app. I found that unlike Mac Address app, the name didn't just get deleted from the group but completely from the iPad address book!!!! Rather than re-enter all the information, I mad