TimeZone in PL/SQL
How to get timeZone (e.g. PST.PDT or EST) in PL/sql and not in Sql*plus ?
Thanks
I also have a similar requirement. I know that it is available in the Unix O/S date. Is there anyway to get this into a PL/SQL Variable.
Hope someone can help us on this.
Similar Messages
-
Where do I look at UTLTZUV2.SQL output?
Dear gurus,
I'm in the process of applying Security Patch 16: 6637237(CPUJAN2008) on my Windows 32bit envs. In this process, I need to check the existing TSTZ data using this oracle provided script. I ran it and didn't see the result. Here in the info I got:
SQL> SET ECHO ON
SQL> @c:\C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\utltzuv2.sql
SP2-0310: unable to open file "c:\C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\utltzuv2.sql"
SQL> @c:\C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\utltzuv2.sql
SP2-0310: unable to open file "c:\C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\utltzuv2.sql"
SQL> @c:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\utltzuv2.sql
SQL> Rem
SQL> Rem $Header: utltzuv2.sql 21-dec-2006.02:22:10 huagli Exp $
SQL> Rem
SQL> Rem utltzuv2.sql
SQL> Rem
SQL> Rem Copyright (c) 2003, 2006, Oracle. All rights reserved.
SQL> Rem
SQL> Rem NAME
SQL> Rem utltzuv2.sql - time zone file upgrade to a new version script
SQL> Rem
SQL> Rem DESCRIPTION
SQL> Rem The contents of the files timezone.dat and timezlrg.dat
SQL> Rem are usually updated to a new version to reflect the transition rule
SQL> Rem changes for some time zone region names. The transition rule
SQL> Rem changes of some time zones might affect the column data of
SQL> Rem TIMESTAMP WITH TIME ZONE data type. For example, if users
SQL> Rem enter TIMESTAMP '2003-02-17 09:00:00 America/Sao_Paulo',
SQL> Rem we convert the data to UTC based on the transition rules in the
SQL> Rem time zone file and store them on the disk. So '2003-02-17 11:00:00'
SQL> Rem along with the time zone id for 'America/Sao_Paulo' is stored
SQL> Rem because the offset for this particular time is '-02:00' . Now the
SQL> Rem transition rules are modified and the offset for this particular
SQL> Rem time is changed to '-03:00'. when users retrieve the data,
SQL> Rem they will get '2003-02-17 08:00:00 America/Sao_Paulo'. There is
SQL> Rem one hour difference compared to the original value.
SQL> Rem
SQL> Rem Refer to $ORACLE_HOME/oracore/zoneinfo/readme.txt for detailed
SQL> Rem information about time zone file updates.
SQL> Rem
SQL> Rem This script should be run before you update your database's
SQL> Rem time zone file to the latest version. This is a pre-update script.
SQL> Rem
SQL> Rem This script first determines the time zone version currently in use
SQL> Rem before the upgrade. It then queries an external table to get all the
SQL> Rem affected timezone regions between the current version (version before
SQL> Rem the update) and the latest one. This external table points to the file
SQL> Rem timezdif.csv, which contains all the affected time zone names in each
SQL> Rem version. Please make sure that you have the latest version of the
SQL> Rem timezdif.csv (the one corresponding to the latest timezone data file),
SQL> Rem before you run the script.
SQL> Rem
SQL> Rem Then, this script scans the database to find out all columns
SQL> Rem of TIMESTAMP WITH TIME ZONE data type. If the column is
SQL> Rem in the regular table, the script also finds out how many
SQL> Rem rows might be affected by checking whether the column data
SQL> Rem contain the values for the affected time zone names.
SQL> Rem If the column is in the nested table's storage table, we
SQL> Rem don't scan the data to find out how many rows are affected but
SQL> Rem we still report the table and column info.
SQL> Rem
SQL> Rem The result is stored in the table sys.sys_tzuv2_temptab.
SQL> Rem Before running the script, make sure the table name doesn't
SQL> Rem conflict with any existing table object. It it does,
SQL> Rem change the table name sys.sys_tzuv2_temptab to some other name
SQL> Rem in the script. You can query the table to view the result:
SQL> Rem select * from sys.sys_tzuv2_temptab;
SQL> Rem
SQL> Rem If your database has column data that will be affected by the
SQL> Rem time zone file update, dump the data before you upgrade to the
SQL> Rem new version. After the upgrade, you need update the data
SQL> Rem to make sure the data is stored based on the new rules.
SQL> Rem
SQL> Rem For example, user scott has a table tztab:
SQL> Rem create table tztab(x number primary key, y timestamp with time zone);
SQL> Rem insert into tztab values(1, timestamp '');
SQL> Rem
SQL> Rem Before upgrade, you can create a table tztab_back, note
SQL> Rem column y here is defined as VARCHAR2 to preserve the original
SQL> Rem value.
SQL> Rem create table tztab_back(x number primary key, y varchar2(256));
SQL> Rem insert into tztab_back select x,
SQL> Rem to_char(y, 'YYYY-MM-DD HH24.MI.SSXFF TZR') from tztab;
SQL> Rem
SQL> Rem After upgrade, you need update the data in the table tztab using
SQL> Rem the value in tztab_back.
SQL> Rem update tztab t set t.y = (select to_timestamp_tz(t1.y,
SQL> Rem 'YYYY-MM-DD HH24.MI.SSXFF TZR') from tztab_back t1 where t.x=t1.x);
SQL> Rem
SQL> Rem Or you can use export utility to export your data before the upgrade
SQL> Rem and them import your data again after the upgrade.
SQL> Rem
SQL> Rem drop table sys.sys_tzuv2_temptab;
SQL> Rem once you are done with the time zone file upgrade.
SQL> Rem
SQL> Rem NOTES
SQL> Rem * This script needs to be run before upgrading to a new version time
SQL> Rem zone file. Also, before running this script, please make sure that
SQL> Rem you get the latest version of timezdif.csv file.
SQL> Rem * This script must be run using SQL*PLUS.
SQL> Rem * You must be connected AS SYSDBA to run this script.
SQL> Rem * This script is created only for Oracle 10.1 or higer. A separate
SQL> Rem script is provided for Oracle 9i.
SQL> Rem * Two files, tzuv2ext_*.log and tzuv2ext_*.bad will be created in
SQL> Rem the directory of $ORACLE_HOME/oracore/zoneinfo when using the
SQL> Rem external table for timezdif.csv file to get the affected time zones.
SQL> Rem After running the script, please refer to these two files to see if
SQL> Rem there are any rows in timezdif.csv, which are not loaded. If so,
SQL> Rem it might affect the correct selection of affected tables in the database.
SQL> Rem You can always delete tzuv2ext_*.log and tzuv2ext_*.bad.
SQL> Rem * A Java stored procedure is created to get the system file separator,
SQL> Rem e.g., Windows uses '\' and Unix uses '/'. Before you run this script,
SQL> Rem make sure that the Java source/class object does not conflict with
SQL> Rem any existing Java source/class object in the database. If it does, please
SQL> Rem change the Java source/class object name GetFileSeparator to some other
SQL> Rem name in the script. Also make sure that the Java stored procedure does not
SQL> Rem conflict with any existing function in the database. If it does, please
SQL> Rem change the function name GET_FILE_SEPARATOR to some other name in the script.
SQL> Rem If renaming is needed, please make sure that you change all the occurences
SQL> Rem to make them consistent.
SQL> Rem
SQL> Rem
SQL> Rem MODIFIED (MM/DD/YY)
SQL> Rem huagli 12/21/06 - Backport huagli_bug-5126270 from main
SQL> Rem time zone update
SQL> Rem srsubram 05/12/05 - 4331865:Modify script to work with prior
SQL> Rem releases
SQL> Rem lkumar 05/11/04 - Fix lrg 1691434.
SQL> Rem rchennoj 12/02/03 - Fix query
SQL> Rem qyu 11/22/03 - qyu_bug-3236585
SQL> Rem qyu 11/17/03 - Created
SQL> Rem
SQL>
SQL> SET SERVEROUTPUT ON
SQL>
SQL> Rem=========================================================================
SQL> Rem Check any existing table with this name sys.sys_tzuv2_temptab
SQL> Rem=========================================================================
SQL> DROP TABLE sys.sys_tzuv2_temptab
2 /
DROP TABLE sys.sys_tzuv2_temptab
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> CREATE TABLE sys.sys_tzuv2_temptab
2 (
3 table_owner VARCHAR2(30),
4 table_name VARCHAR2(30),
5 column_name VARCHAR2(30),
6 rowcount NUMBER,
7 nested_tab VARCHAR2(3)
8 )
9 /
Table created.
SQL>
SQL> Rem========================================================================
SQL> Rem Check any existing table with this name sys.sys_tzuv2_temptab1
SQL> Rem========================================================================
SQL> DROP TABLE sys.sys_tzuv2_temptab1
2 /
DROP TABLE sys.sys_tzuv2_temptab1
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> CREATE TABLE sys.sys_tzuv2_temptab1
2 (
3 time_zone_name VARCHAR2(60)
4 )
5 /
Table created.
SQL>
SQL> DECLARE
2
3 dbv VARCHAR2(10);
4 dbtzv VARCHAR2(5);
5 numrows NUMBER;
6 TYPE cursor_t IS REF CURSOR;
7 cursor_tstz cursor_t;
8 tstz_owner VARCHAR2(30);
9 tstz_tname VARCHAR2(30);
10 tstz_qcname VARCHAR2(4000);
11 tz_version NUMBER;
12 oracle_home VARCHAR(4000);
13 tz_count INTEGER;
14 plsql_block VARCHAR2(200);
15 file_separator VARCHAR2(3);
16
17 BEGIN
18
19 --========================================================================
20 -- Make sure that only version 10 or higher uses this script
21 --========================================================================
22
23 SELECT substr(version,1,6) INTO dbv FROM v$instance;
24
25 IF dbv = '8.1.7.'
26 THEN
27 DBMS_OUTPUT.PUT_LINE('TIMEZONE data type was not supported in ' ||
28 'Release 8.1.7.');
29 DBMS_OUTPUT.PUT_LINE('No need to validate TIMEZONE data.');
30 RETURN;
31 END IF;
32
33 IF dbv in ('9.0.1.','9.2.0.')
34 THEN
35 DBMS_OUTPUT.PUT_LINE('Please contact Oracle support to get the script ' ||
36 'for Release 9.0.1 or 9.2.0.');
37 RETURN;
38 END IF;
39
40 --========================================================================
41 -- Get $ORACLE_HOME
42 --========================================================================
43
44 plsql_block := 'BEGIN SYS.DBMS_SYSTEM.GET_ENV(:1, :2); END;';
45 EXECUTE IMMEDIATE plsql_block USING 'ORACLE_HOME', OUT oracle_home;
46
47 --========================================================================
48 -- Use an external table created on timezdif.csv file to get the
49 -- affected time zones. In this way, every time when time zone information
50 -- changes, we only need to provide user with the updated timezdif.csv file
51 -- without changing utltzuv2.sql.
52 --
53 -- 1. Setup the directory for timezdif.csv and log files(log, bad log)
54 -- 2. Check any existing external table with this name
55 -- sys.sys_tzuv2_affected_regions
56 -- 3. Setup the parameters of the external table
57 --========================================================================
58
59 --========================================================================
60 -- Create a Java stored procedure to get the file separator
61 --========================================================================
62
63 EXECUTE IMMEDIATE 'CREATE OR REPLACE AND COMPILE JAVA SOURCE
64 NAMED "GetFileSeparator" AS
65 public class GetFileSeparator {
66 public static String get() {
67 return System.getProperty("file.separator");
68 }
69 }';
70
71 EXECUTE IMMEDIATE 'CREATE OR REPLACE FUNCTION GET_FILE_SEPARATOR
72 RETURN VARCHAR2
73 AS LANGUAGE JAVA
74 NAME ''GetFileSeparator.get() return java.lang.String'';';
75
76
77 plsql_block := 'BEGIN :1 := GET_FILE_SEPARATOR(); END;';
78 EXECUTE IMMEDIATE plsql_block USING OUT file_separator;
79
80 EXECUTE IMMEDIATE 'CREATE OR REPLACE DIRECTORY timezdif_dir AS ''' ||
81 oracle_home || file_separator || 'oracore' ||
82 file_separator || 'zoneinfo''';
83
84
85 EXECUTE IMMEDIATE
86 'SELECT count(*)
87 FROM all_tables
88 WHERE owner = ''SYS'' and table_name = ''SYS_TZUV2_AFFECTED_REGIONS'''
89 INTO tz_count;
90
91 IF tz_count <> 0
92 THEN
93 EXECUTE IMMEDIATE 'DROP TABLE sys.sys_tzuv2_affected_regions';
94 END IF;
95
96
97 EXECUTE IMMEDIATE 'CREATE TABLE sys.sys_tzuv2_affected_regions
98 (
99 version NUMBER,
100 time_zone_name VARCHAR2(40),
101 from_year NUMBER,
102 to_year NUMBER
103 )
104 ORGANIZATION EXTERNAL
105 (
106 TYPE ORACLE_LOADER
107 DEFAULT DIRECTORY timezdif_dir
108 ACCESS PARAMETERS
109 (
110 records delimited by newline
111 badfile timezdif_dir:''tzuvext%a_%p.bad''
112 logfile timezdif_dir:''tzuvext%a_%p.log''
113 fields terminated by '',''
114 lrtrim
115 missing field values are null
116 (
117 version, time_zone_name, from_year, to_year
118 )
119 )
120 LOCATION (''timezdif.csv'')
121 )
122 REJECT LIMIT UNLIMITED';
123
124 --======================================================================
125 -- Check if the TIMEZONE data is consistent with the latest version.
126 --======================================================================
127
128 EXECUTE IMMEDIATE 'SELECT version FROM v$timezone_file' INTO tz_version;
129 EXECUTE IMMEDIATE 'SELECT MAX(version) FROM sys_tzuv2_affected_regions' INTO dbtzv;
130
131 IF tz_version = dbtzv
132 THEN
133 DBMS_OUTPUT.PUT_LINE('TIMEZONE data is consistent with the latest version ' ||
134 dbtzv || ' transition rules');
135 DBMS_OUTPUT.PUT_LINE('No need to validate TIMEZONE data');
136 RETURN;
137 END IF;
138
139 --======================================================================
140 -- Get tables with columns defined as type TIMESTAMP WITH TIME ZONE.
141 --======================================================================
142
143 OPEN cursor_tstz FOR
144 'SELECT atc.owner, atc.table_name, atc.qualified_col_name ' ||
145 'FROM "ALL_TAB_COLS" atc, "ALL_TABLES" at ' ||
146 'WHERE data_type LIKE ''TIMESTAMP%WITH TIME ZONE''' ||
147 ' AND atc.owner = at.owner AND atc.table_name = at.table_name ' ||
148 'ORDER BY atc.owner, atc.table_name, atc.column_name';
149
150 --======================================================================
151 -- Query the external table to get all the affected time zones based
152 -- on the current database time zone version, and then put them into
153 -- a temporary table, sys_tzuv2_temptab1.
154 --======================================================================
155
156 EXECUTE IMMEDIATE
157 'INSERT INTO sys.sys_tzuv2_temptab1
158 SELECT DISTINCT time_zone_name
159 FROM sys.sys_tzuv2_affected_regions t
160 WHERE t.version > ' || tz_version;
161
162 EXECUTE IMMEDIATE 'ANALYZE TABLE sys.sys_tzuv2_temptab1 ' ||
163 'COMPUTE STATISTICS';
164
165 --======================================================================
166 -- Check regular table columns.
167 --======================================================================
168 LOOP
169 BEGIN
170 FETCH cursor_tstz INTO tstz_owner, tstz_tname, tstz_qcname;
171 EXIT WHEN cursor_tstz%NOTFOUND;
172
173 EXECUTE IMMEDIATE
174 'SELECT COUNT(1) FROM ' ||
175 tstz_owner || '."' || tstz_tname || '" t_alias, ' ||
176 ' sys.sys_tzuv2_temptab1 r ' ||
177 ' WHERE UPPER(r.time_zone_name) = ' ||
178 ' UPPER(TO_CHAR(t_alias.' || tstz_qcname || ', ''TZR'')) ' INTO numrows;
179
180 IF numrows > 0 THEN
181 EXECUTE IMMEDIATE ' INSERT INTO sys.sys_tzuv2_temptab VALUES (''' ||
182 tstz_owner || ''',''' || tstz_tname || ''',''' ||
183 tstz_qcname || ''',' || numrows || ', ''NO'')';
184 END IF;
185
186 EXCEPTION
187 WHEN OTHERS THEN
188 DBMS_OUTPUT.PUT_LINE('OWNER : ' || tstz_owner);
189 DBMS_OUTPUT.PUT_LINE('TABLE : ' || tstz_tname);
190 DBMS_OUTPUT.PUT_LINE('COLUMN : ' || tstz_qcname);
191 DBMS_OUTPUT.PUT_LINE(SQLERRM);
192 END;
193 END LOOP;
194
195 --======================================================================
196 -- Check nested table columns.
197 --======================================================================
198
199 EXECUTE IMMEDIATE
200 'INSERT INTO sys.sys_tzuv2_temptab
201 SELECT owner, table_name, qualified_col_name, NULL, ''YES''
202 FROM ALL_NESTED_TABLE_COLS
203 WHERE data_type like ''TIMESTAMP%WITH TIME ZONE''';
204
205
206 DBMS_OUTPUT.PUT_LINE('Query sys.sys_tzuv2_temptab table to see ' ||
207 'if any TIMEZONE data is affected by version ' || dbtzv ||
208 ' transition rules');
209
210 EXCEPTION
211 WHEN OTHERS THEN
212 IF INSTR(SQLERRM, 'KUP-04063') != 0
213 THEN
214 DBMS_OUTPUT.PUT_LINE('Directory for file timezdif.csv is not correctly specified!');
215 DBMS_OUTPUT.PUT_LINE(sqlerrm);
216 ELSIF INSTR(SQLERRM, 'KUP-04040') != 0
217 THEN
218 DBMS_OUTPUT.PUT_LINE('File timezdif.csv in TIMEZDIF_DIR not found!');
219 ELSE
220 DBMS_OUTPUT.PUT_LINE(SQLERRM);
221 END IF;
222
223 END;
224 /
ORA-25153: Temporary Tablespace is Empty
PL/SQL procedure successfully completed.
SQL>
SQL> COMMIT
2 /
Commit complete.
SQL>
SQL> DECLARE
2 tz_count NUMBER;
3
4 BEGIN
5
6 --========================================================================
7 -- After obtaining the file separator, drop the Java stored procedure
8 --========================================================================
9
10 EXECUTE IMMEDIATE
11 'SELECT count(*)
12 FROM user_objects
13 WHERE object_name = ''GetFileSeparator'' and UPPER(object_type) like ''JAVA%'''
14 INTO tz_count;
15
16 IF tz_count > 0
17 THEN
18 EXECUTE IMMEDIATE 'DROP JAVA SOURCE "GetFileSeparator"';
19 END IF;
20
21 EXECUTE IMMEDIATE
22 'SELECT count(*)
23 FROM user_objects
24 WHERE object_name = ''GET_FILE_SEPARATOR'' and UPPER(object_type) = ''FUNCTION'''
25 INTO tz_count;
26
27 IF tz_count > 0
28 THEN
29 EXECUTE IMMEDIATE 'DROP FUNCTION GET_FILE_SEPARATOR';
30 END IF;
31
32 END;
33 /
PL/SQL procedure successfully completed.
SQL>
SQL> COMMIT
2 /
Commit complete.
SQL>
SQL> Rem=========================================================================
SQL> SET SERVEROUTPUT OFF
SQL> Rem=========================================================================
SQL> spool off
Could you help me find the TSTZ data if there are any? Thank you in advance.Ok, I found out that I need to apply the patch 5746875 to have that. But there only instruction to apply this patch on unix env. I need on Windows. Can any body help me?
-
DST timezone patch for 10.1.0.5.0 on Linux
I succesfully downloaded & run a new version of the script utltzuv2.sql which checks your TSTZ current data for any rows affected by the updates to the time zone files.
(Patch 5126270
Description PLEASE PROVIDE UPDATED UTLTZUV?.SQL
Release 10.1.0.5)
I added manually lines to the timezdif.csv file (at the beginning) which is located in the $ORACLE_HOME/oracore/zoneinfo directory.
3, America/Denver,2007,
3, America/Shiprock,2007,
3, US/MOUNTAIN,2007,
3, CST,2007,
SQL> connect / as sysdba
SQL> @?/rdbms/admin/utltzuv2
SQL> select * from sys.sys_tzuv2_temptab;
no rows selected
I Downloaded and apply the DST timezone patch for 10.1.0.5.0 on Linux.
Patch 4689959
Description DST RULE CHANGE IN US, NEED PATCHED TIMEZONE FILES
2006
SQL> select case to_number(to_char(to_timestamp_tz
2 ('20070311 00:00:00 US/EASTERN','YYYYMMDD HH24:MI:SS TZR')
+ to_dsinterval('0 08:00:00'),'HH24'))
when 8 then 'The patch has not been applied'
when 9 then 'The patch has been applied correctly'
else 'Error' end "TZTEST (RUN FROM DB HOME)"
from dual;
TZTEST (RUN FROM DB HOME)
The patch has been applied correctly
I applied apply the DST JVM patch successfully. (5075511)
But I am getting value (0) as below:
select get_dst_offset('America/Los_Angeles', 2007, 3, 11, 10, 0, 0)/(60*60*1000) as OFFSET_FROM_STANDARD_TIME from dual;
OFFSET_FROM_STANDARD_TIME
0
It should be 1.
(per Note 414309.1 - USA 2007 DST Changes: Frequently Asked Questions and Problems for Oracle JVM
Patches - #6. How can I test if the OJVM patch has been applied correctly?I reloeded java as "create or replace java system" and its work.
-
Need the SQL Query to check SQL time zone and change the time zone
Hi All,
I am using SQL Server 2008 SP2. My Ex SQL Admin said that the data which we query from our database gives the output in London time.
But the SQL server is located in USA and is having US time.
I would like to know how to find what time zone is the SQL application running on and how to change it ?
Is there any query which i can use to determine and change the time zone ?
Gautam.75801Refer the below two links
http://blog.sqlauthority.com/2014/02/15/sql-server-get-current-timezone-name-in-sql-server/
Check this link
http://dba.stackexchange.com/questions/39421/how-to-handle-timezone-properly-in-sql-server
SELECT [DateTimeUtil].[UDF_ConvertLocalToLocalByTimezoneIdentifier] (
'GMT Standard Time', -- the original timezone in which your datetime is stored
'Middle East Standard Time', -- the target timezone for your user
'2014-03-30 01:55:00' -- the original datetime you want to convert
--Prashanth -
ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone
Hi
I'm trying to config my base_domain for SOA11g but i'm getting the following error when connecting to my Oracle XE DB to configure SOA,
please help thanks
Software installed
OS: Windows 7 64bit
DB: Oracle XE 10g
Oracle SOA 11.1.1.4.0
Oracle RCU 11.1.1.4.0
Oracle wls1034_generic
Error Detials
Component Schema=SOA Infrastructure
Driver=oracle.jdbc.xa.client.OracleXADataSource
URL=jdbc:oracle:thin:@127.0.0.1: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.4.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:@127.0.0.1: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:@127.0.0.1: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.4.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:@127.0.0.1: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.4.0'
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
CFGFWK-60850: Test Failed!
Component Schema=OSB JMS Reporting Provider
Driver=org.apache.derby.jdbc.ClientDriver
URL=jdbc:derby://127.0.0.1:1521/XE;create=true;ServerName=127.0.0.1;databaseName=XE
User=DEV_SOAINFRA
Password=********
SQL Test=SELECT 1 FROM SYS.SYSTABLES
Insufficient data while reading from the network - expected a minimum of 6 bytes and received only 0 bytes. The connection has been terminated.
CFGFWK-60850: Test Failed!Hi,
Please check the timezone set in your server where Weblogic is installed. Also ensure the timezone on which your weblogic is running, the same is present in in database by querying V$TIMEZONE_NAMES table. If it is not present then please change the timezone of the server. then try to execute the steps what you are doing, it will not throw any error.
if this helps please mark.
Thanks,
Kishore -
ORA-00604: error at recursive sql level 1ORA-01882: timezone region not fou
hello eveyone i have installed SQL developer and try to create a connexion but it shows the following error:
" : ORA-00604: error at recursive sql level 1ORA-01882: timezone region not found"
(i choosed TNS as connexion type , default as rol )
plz help
thanksHi Raccio,
Using the forum search functionality, I came across the following threads with some tips that might help you:
ORA-00604 & ORA-01804 when connecting to Oracle 11 database 11.1.0.6.0
ora-01882 "timezone region not found" with 3.0.03.97 but not with 3.0.03.45
Regards,
Gary Graham
SQL Developer Team
Edited by: gggraham on Jul 20, 2011 1:03 PM -
(ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone reg
i use netbeans, i am trying to connect to the oracle server. my laptops time zone is wes central africa and wen i try to connect it give dis error (ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone region not found ). it started with LOCALE NOT FOUND, then i got some tips online and now its a new error. thanks
Hi;
What is db version? You may hit bug. Please see:
Bug 5499393 - ORA-1882 from partition maintenance when territory is HUNGARY with TIMESTAMP partitioning [ID 5499393.8]
Regard
Helios -
Cannot connect to Database in SQL Developer - TIMEZONE errors
Cannot connect to any database get the following errors.
Status : Failure -Test failed: ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
Tried change NLS settings to America (currently South Africa) but to no avail.
My system info:
About
Oracle SQL Developer 3.2.20.09
Version 3.2.20.09
Build MAIN-09.87
Copyright © 2005, 2012 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.48
Product ID: oracle.sqldeveloper
Product Version: 11.2.0.09.87
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_38
Oracle IDE 3.2.20.09.87
Versioning Support 3.2.20.09.87
Running on Windows 7 with a 64-bit oracle client.I managed to find the solution in previous thread
Please see my error message. -
Java.sql.SQLDataException, msg=ORA-01882: timezone region not found
Hi,
I am new to ADF. I am using Jdev 11.1.1.1 version.
I created sample application , in that i added one jspx AM, VO and droppping the VO to the jspx file.
when i try to run the page i am getting the following error.
" java.sql.SQLDataException, msg=ORA-01882: timezone region not found"
please can anybody tell what's went wrong...
Thanks,
mahi.there you go http://baigsorcl.blogspot.com/2009/11/ora-01882-timezone-region-not-found.html
-
Java.sql.SQLDataException: ORA-01882: timezone region not found
i am new in jdeveloper 11g.i using jdeveloper 11g version. Studio Edition Version 11.1.1.0.0 Build JDEVADF_MAIN.BOXER_GENERIC_081002.2127.5156 Studio Edition Version 11.1.1.0.0
Firefox3 - 3.0.3 os : fedora 9 -- Linux myname 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU/Linux
java version : usr/java/jdk1.6.0_06
following running default server log
==============================
[48] BC4J Property AppModuleJndiName='sc.wadia.model.AppModule' -->(SessionImpl) from Client Environment
[49] Skipping empty Property java.naming.security.principal from System Default
[50] Skipping empty Property java.naming.security.credentials from System Default
[51] Skipping empty Property jbo.user.principal from System Default
[52] BC4J Property jbo.simulate.remote='false' -->(SessionImpl) from System Default
[53] BC4J Property jbo.security.context='oracle.security.jazn' -->(MetaObjectManager) from System Default
[54] Skipping empty Property jbo.object.marshaller from System Default
[55] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
[56] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
[57] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
[58] BC4J Property jbo.validation.threshold='10' -->(SessionImpl) from System Default
[59] Skipping empty Property jbo.pcoll.mgr from System Default
[60] BC4J Property jbo.txn_table_name='PS_TXN' -->(SessionImpl) from System Default
[61] BC4J Property jbo.txn_seq_name='PS_TXN_seq' -->(SessionImpl) from System Default
[62] BC4J Property jbo.txn_seq_inc='50' -->(SessionImpl) from System Default
[63] BC4J Property jbo.control_table_name='PCOLL_CONTROL' -->(MetaObjectManager) from System Default
[64] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
[65] BC4J Property jbo.domain.date.suppress_zero_time='true' -->(MetaObjectManager) from System Default
[66] BC4J Property jbo.domain.bind_sql_date='true' -->(MetaObjectManager) from System Default
[67] BC4J Property jbo.domain.string.as.bytes.for.raw='false' -->(MetaObjectManager) from System Default
[68] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
[69] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
[70] BC4J Property jbo.903.compatible='false' -->(MetaObjectManager) from System Default
[71] Skipping empty Property JBODynamicObjectsPackage from System Default
[72] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
[73] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from System Default
[74] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
[75] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
[76] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[77] BC4J Property oracle.jbo.usemds='true' -->(MetaObjectManager) from System Default
[78] BC4J Property oracle.adfm.usemds='true' -->(MetaObjectManager) from System Default
[79] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
[80] Skipping empty Property HandleName from System Default
[81] Skipping empty Property Factory-Substitution-List from System Default
[82] BC4J Property jbo.project='sc.wadia.model.Model' -->(Configuration) from Client Environment
[83] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
[84] WARNING: Property jbo.dofailoverset to null
[85] Skipping empty Property jbo.dofailover from null
[86] WARNING: Property jbo.envinfoproviderset to null
[87] Skipping empty Property jbo.envinfoprovider from null
[88] BC4J Property jbo.rowid_am_conn_name='ROWIDAM_DB' -->(MetaObjectManager) from System Default
[89] WARNING: Property jbo.ampool.writecookietoclientset to null
[90] Skipping empty Property jbo.ampool.writecookietoclient from null
[91] WARNING: Property jbo.doconnectionpoolingset to null
[92] Skipping empty Property jbo.doconnectionpooling from null
[93] WARNING: Property jbo.recyclethresholdset to null
[94] Skipping empty Property jbo.recyclethreshold from null
[95] WARNING: Property jbo.ampool.dynamicjdbccredentialsset to null
[96] Skipping empty Property jbo.ampool.dynamicjdbccredentials from null
[97] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(SessionImpl) from System Default
[98] WARNING: Property jbo.ampool.sessioncookiefactoryclassset to null
[99] Skipping empty Property jbo.ampool.sessioncookiefactoryclass from null
[100] WARNING: Property jbo.ampool.connectionstrategyclassset to null
[101] Skipping empty Property jbo.ampool.connectionstrategyclass from null
[102] WARNING: Property jbo.ampool.maxpoolsizeset to null
[103] Skipping empty Property jbo.ampool.maxpoolsize from null
[104] WARNING: Property jbo.ampool.initpoolsizeset to null
[105] Skipping empty Property jbo.ampool.initpoolsize from null
[106] WARNING: Property jbo.ampool.monitorsleepintervalset to null
[107] Skipping empty Property jbo.ampool.monitorsleepinterval from null
[108] WARNING: Property jbo.ampool.minavailablesizeset to null
[109] Skipping empty Property jbo.ampool.minavailablesize from null
[110] WARNING: Property jbo.ampool.maxavailablesizeset to null
[111] Skipping empty Property jbo.ampool.maxavailablesize from null
[112] WARNING: Property jbo.ampool.maxinactiveageset to null
[113] Skipping empty Property jbo.ampool.maxinactiveage from null
[114] WARNING: Property jbo.ampool.timetoliveset to null
[115] Skipping empty Property jbo.ampool.timetolive from null
[116] WARNING: Property jbo.ampool.doampoolingset to null
[117] Skipping empty Property jbo.ampool.doampooling from null
[118] WARNING: Property jbo.ampool.issupportspassivationset to null
[119] Skipping empty Property jbo.ampool.issupportspassivation from null
[120] WARNING: Property jbo.ampool.isuseexclusiveset to null
[121] Skipping empty Property jbo.ampool.isuseexclusive from null
[122] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
[123] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
[124] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from System Default
[125] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
[126] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
[127] BC4J Property jbo.connectfailover='true' -->(SessionImpl) from System Default
[128] WARNING: Property jbo.maxpoolcookieageset to null
[129] Skipping empty Property jbo.maxpoolcookieage from null
[130] WARNING: Property PoolClassNameset to null
[131] Skipping empty Property PoolClassName from null
[132] BC4J Property jbo.maxpoolsize='4096' -->(MetaObjectManager) from System Default
[133] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
[134] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
[135] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(MetaObjectManager) from System Default
[136] BC4J Property jbo.poolminavailablesize='5' -->(MetaObjectManager) from System Default
[137] BC4J Property jbo.poolmaxavailablesize='25' -->(MetaObjectManager) from System Default
[138] BC4J Property jbo.poolmaxinactiveage='600000' -->(MetaObjectManager) from System Default
[139] BC4J Property jbo.pooltimetolive='-1' -->(MetaObjectManager) from System Default
[140] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
[141] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
[142] BC4J Property jbo.viewlink.consistent='DEFAULT' -->(MetaObjectManager) from System Default
[143] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
[144] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
[145] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[146] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
[147] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[148] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
[149] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
[150] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
[151] BC4J Property jbo.abstract.base.check='true' -->(MetaObjectManager) from System Default
[152] BC4J Property jbo.assoc.where.early.set='false' -->(MetaObjectManager) from System Default
[153] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
[154] BC4J Property oracle.jbo.defineColumnLength='skipDefines' -->(MetaObjectManager) from System Default
[155] BC4J Property jbo.jdbc_bytes_conversion='jdbc' -->(MetaObjectManager) from System Default
[156] Skipping empty Property jbo.tmpdir from System Default
[157] Skipping empty Property jbo.server.internal_connection from System Default
[158] BC4J Property SessionClass='oracle.jbo.server.SessionImpl' -->(SessionImpl) from System Default
[159] Skipping empty Property TransactionFactory from System Default
[160] Skipping empty Property jbo.def.mgr.listener from System Default
[161] Skipping empty Property jbo.use.global.sub.map from System Default
[162] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
[163] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[164] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[165] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[166] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[167] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[168] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[169] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
[170] BC4J Property oracle.home='/u01/app/oracle/middleware/jdeveloper' -->(Diagnostic) from System Property
[171] Skipping empty Property oc4j.name from System Default
[172] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
[173] BC4J Property jbo.ejb.txntype='local' -->(SessionImpl) from System Default
[174] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
[175] BC4J Property jbo.ejb.useampool='false' -->(SessionImpl) from Client Environment
[176] Skipping empty Property oracle.jbo.schema from System Default
[177] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
[178] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
[179] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
[180] Skipping empty Property ord.HttpTempDir from System Default
[181] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
[182] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
[183] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
[184] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
[185] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
[186] Skipping empty Property ord.rp.codebase from System Default
[187] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
[188] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
[189] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
[190] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
[191] BC4J Property jbo.security.loginmodule='oracle.security.jazn.oc4j.JAZNUserManager' -->(SessionImpl) from System Default
[192] Skipping empty Property jbo.security.config from System Default
[193] BC4J Property jbo.server.useNullDbTransaction='false' -->(SessionImpl) from System Default
[194] BC4J Property jbo.domain.reopenblobstream='false' -->(MetaObjectManager) from System Default
[195] BC4J Property jbo.server.retainAssocAccessor='false' -->(SessionImpl) from System Default
[196] BC4J Property oracle.adfm.DefaultEventPolicy='NONE' -->(MetaObjectManager) from System Default
[197] Copying unknown Client property (DBconnection='jdbc:oracle:thin:@localhost:1521:DB10G') to session
[198] Copying unknown Client property (jbo.timezone='+05:30') to session
[199] Copying unknown Client property (password='*****') to session
[200] Copying unknown Client property (JDBCName='wadia') to session
[201] Copying unknown Client property (jbo.jndi.use_default_context='true') to session
[202] Copying unknown Client property (user='wadia') to session
[203] Copying unknown Client property (name='AppModuleLocal') to session
[204] Copying unknown Client property (jbo.applicationmoduleclassname='sc.wadia.model.AppModule') to session
[205] Copying unknown Client property (java.naming.factory.url.pkgs='weblogic.jndi.factories:weblogic.corba.j2ee.naming.url:weblogic.jndi.factories:weblogic.corba.j2ee.naming.url') to session
[206] Copying unknown Client property (ApplicationName='sc.wadia.model.AppModule') to session
[207] WARNING: Unused property: java.vm.version='10.0-b22' found in System Property
[208] WARNING: Unused property: java.vendor.url='http://java.sun.com/' found in System Property
[209] WARNING: Unused property: oracle.dms.context='OFF' found in System Property
[210] WARNING: Unused property: weblogic.Name='DefaultServer' found in System Property
[211] WARNING: Unused property: wls.home='/u01/app/oracle/middleware/wlserver_10.3/server' found in System Property
[212] WARNING: Unused property: java.awt.printerjob='sun.print.PSPrinterJob' found in System Property
[213] WARNING: Unused property: javax.rmi.CORBA.UtilClass='weblogic.iiop.UtilDelegateImpl' found in System Property
[214] WARNING: Unused property: wlw.iterativeDev='' found in System Property
[215] WARNING: Unused property: java.vendor.url.bug='http://java.sun.com/cgi-bin/bugreport.cgi' found in System Property
[216] WARNING: Unused property: line.separator='
' found in System Property
[217] WARNING: Unused property: http.proxyPort='3128' found in System Property
[218] WARNING: Unused property: weblogic.webservice.client.proxyusername='myname' found in System Property
[219] WARNING: Unused property: proxyPort='3128' found in System Property
[220] WARNING: Unused property: java.vm.vendor='Sun Microsystems Inc.' found in System Property
[221] WARNING: Unused property: java.class.path=':/u01/app/oracle/middleware/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/oracle/middleware/patch_jdev1111/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/oracle/middleware/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java/jdk1.6.0_06/lib/tools.jar:/u01/app/oracle/middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u01/app/oracle/middleware/wlserver_10.3/server/lib/weblogic.jar:/u01/app/oracle/middleware/modules/features/weblogic.server.modules_10.3.0.0.jar:/u01/app/oracle/middleware/wlserver_10.3/server/lib/webservices.jar:/u01/app/oracle/middleware/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/u01/app/oracle/middleware/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/u01/app/oracle/middleware/jdeveloper/modules/features/adf.share_11.1.1.jar::/u01/app/oracle/middleware/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar:/u01/app/oracle/middleware/wlserver_10.3/server/lib/xqrl.jar::' found in System Property
[222] WARNING: Unused property: weblogic.webservice.client.proxypassword='safari' found in System Property
[223] WARNING: Unused property: os.arch='i386' found in System Property
[224] WARNING: Unused property: java.protocol.handler.pkgs='oracle.mds.net.protocol|weblogic.net|weblogic.utils|weblogic.utils|weblogic.utils' found in System Property
[225] WARNING: Unused property: user.name='myname' found in System Property
[226] WARNING: Unused property: sun.boot.class.path='/usr/java/jdk1.6.0_06/jre/lib/resources.jar:/usr/java/jdk1.6.0_06/jre/lib/rt.jar:/usr/java/jdk1.6.0_06/jre/lib/sunrsasign.jar:/usr/java/jdk1.6.0_06/jre/lib/jsse.jar:/usr/java/jdk1.6.0_06/jre/lib/jce.jar:/usr/java/jdk1.6.0_06/jre/lib/charsets.jar:/usr/java/jdk1.6.0_06/jre/classes' found in System Property
[227] WARNING: Unused property: org.xml.sax.driver='weblogic.xml.jaxp.RegistryXMLReader' found in System Property
[228] WARNING: Unused property: sun.cpu.endian='little' found in System Property
[229] WARNING: Unused property: java.endorsed.dirs='/usr/java/jdk1.6.0_06/jre/lib/endorsed' found in System Property
[230] WARNING: Unused property: vde.home='/home/myname/.jdeveloper/system11.1.1.0.31.51.56/DefaultDomain/servers/DefaultServer/data/ldap' found in System Property
[231] WARNING: Unused property: com.sun.xml.ws.api.streaming.XMLStreamWriterFactory.woodstox='true' found in System Property
[232] WARNING: Unused property: domain.home='/home/myname/.jdeveloper/system11.1.1.0.31.51.56/DefaultDomain' found in System Property
[233] WARNING: Unused property: wlw.logErrorsToConsole='' found in System Property
[234] WARNING: Unused property: https.proxyHost='192.147.1.129' found in System Property
[235] WARNING: Unused property: https.proxyPort='3128' found in System Property
[236] WARNING: Unused property: wlw.testConsole='' found in System Property
[237] WARNING: Unused property: java.specification.vendor='Sun Microsystems Inc.' found in System Property
[238] WARNING: Unused property: javax.xml.rpc.ServiceFactory='weblogic.webservice.core.rpc.ServiceFactoryImpl' found in System Property
[239] WARNING: Unused property: oracle.core.ojdl.logging.componentId='DefaultServer' found in System Property
[240] WARNING: Unused property: user.timezone='GMT+05:30' found in System Property
[241] WARNING: Unused property: os.name='Linux' found in System Property
[242] WARNING: Unused property: java.ext.dirs='/usr/java/jdk1.6.0_06/jre/lib/ext:/usr/java/packages/lib/ext' found in System Property
[243] WARNING: Unused property: sun.arch.data.model='32' found in System Property
[244] WARNING: Unused property: os.version='2.6.25-14.fc9.i686' found in System Property
[245] WARNING: Unused property: java.specification.name='Java Platform API Specification' found in System Property
[246] WARNING: Unused property: java.vendor='Sun Microsystems Inc.' found in System Property
[247] WARNING: Unused property: http.proxyHost='192.147.1.129' found in System Property
[248] WARNING: Unused property: java.naming.factory.url.pkgs='weblogic.jndi.factories:weblogic.corba.j2ee.naming.url:weblogic.jndi.factories:weblogic.corba.j2ee.naming.url' found in System Property
[249] WARNING: Unused property: javax.xml.soap.MessageFactory='weblogic.webservice.core.soap.MessageFactoryImpl' found in System Property
[250] WARNING: Unused property: sun.jnu.encoding='UTF-8' found in System Property
[251] WARNING: Unused property: java.vm.info='mixed mode, sharing' found in System Property
[252] WARNING: Unused property: user.dir='/home/myname/.jdeveloper/system11.1.1.0.31.51.56/DefaultDomain' found in System Property
[253] WARNING: Unused property: sun.cpu.isalist='' found in System Property
[254] WARNING: Unused property: java.awt.graphicsenv='sun.awt.X11GraphicsEnvironment' found in System Property
[255] WARNING: Unused property: sun.os.patch.level='unknown' found in System Property
[256] WARNING: Unused property: org.omg.CORBA.ORBSingletonClass='weblogic.corba.orb.ORB' found in System Property
[257] WARNING: Unused property: java.io.tmpdir='/tmp' found in System Property
[258] WARNING: Unused property: user.home='/home/myname' found in System Property
[259] WARNING: Unused property: oracle.security.jps.config='/home/myname/.jdeveloper/system11.1.1.0.31.51.56/DefaultDomain/config/oracle/jps-config.xml' found in System Property
[260] WARNING: Unused property: java.version='1.6.0_06' found in System Property
[261] WARNING: Unused property: file.encoding.pkg='sun.io' found in System Property
[262] WARNING: Unused property: weblogic.management.discover='true' found in System Property
[263] WARNING: Unused property: javax.rmi.CORBA.PortableRemoteObjectClass='weblogic.iiop.PortableRemoteObjectDelegateImpl' found in System Property
[264] WARNING: Unused property: platform.home='/u01/app/oracle/middleware/wlserver_10.3' found in System Property
[265] WARNING: Unused property: file.encoding='UTF-8' found in System Property
[266] WARNING: Unused property: java.vm.specification.vendor='Sun Microsystems Inc.' found in System Property
[267] WARNING: Unused property: org.omg.CORBA.ORBClass='weblogic.corba.orb.ORB' found in System Property
[268] WARNING: Unused property: java.security.policy='/u01/app/oracle/middleware/wlserver_10.3/server/lib/weblogic.policy' found in System Property
[269] WARNING: Unused property: sun.io.unicode.encoding='UnicodeLittle' found in System Property
[270] WARNING: Unused property: user.language='en' found in System Property
[271] WARNING: Unused property: java.runtime.version='1.6.0_06-b02' found in System Property
[272] WARNING: Unused property: jbo.34010='false' found in System Property
[273] WARNING: Unused property: weblogic.classloader.preprocessor='weblogic.diagnostics.instrumentation.DiagnosticClassPreProcessor' found in System Property
[274] WARNING: Unused property: weblogic.home='/u01/app/oracle/middleware/wlserver_10.3/server' found in System Property
[275] WARNING: Unused property: proxySet='true' found in System Property
[276] WARNING: Unused property: sun.boot.library.path='/usr/java/jdk1.6.0_06/jre/lib/i386' found in System Property
[277] WARNING: Unused property: java.vm.name='Java HotSpot(TM) Client VM' found in System Property
[278] WARNING: Unused property: java.home='/usr/java/jdk1.6.0_06/jre' found in System Property
[279] WARNING: Unused property: weblogic.ext.dirs='/u01/app/oracle/middleware/patch_wls1030/profiles/default/sysext_manifest_classpath:/u01/app/oracle/middleware/patch_jdev1111/profiles/default/sysext_manifest_classpath:/u01/app/oracle/middleware/patch_cie660/profiles/default/sysext_manifest_classpath' found in System Property
[280] WARNING: Unused property: https.nonProxyHosts='' found in System Property
[281] WARNING: Unused property: sun.management.compiler='HotSpot Client Compiler' found in System Property
[282] WARNING: Unused property: java.runtime.name='Java(TM) SE Runtime Environment' found in System Property
[283] WARNING: Unused property: java.library.path='/usr/java/jdk1.6.0_06/jre/lib/i386/client:/usr/java/jdk1.6.0_06/jre/lib/i386:/usr/java/jdk1.6.0_06/jre/../lib/i386::/usr/java/jdk1.6.0_06/jre/lib/i386/client:/usr/java/jdk1.6.0_06/jre/lib/i386:/usr/java/jdk1.6.0_06/jre/../lib/i386:/u01/app/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib:/u01/app/oracle/middleware/wlserver_10.3/server/native/linux/i686:/u01/app/oracle/middleware/wlserver_10.3/server/native/linux/i686/oci920_8:/usr/java/packages/lib/i386:/lib:/usr/lib' found in System Property
[284] WARNING: Unused property: file.separator='/' found in System Property
[285] WARNING: Unused property: java.vm.specification.version='1.0' found in System Property
[286] WARNING: Unused property: oracle.core.ojdl.logging.applicationcontextprovider='oracle.core.ojdl.weblogic.ApplicationContextImpl' found in System Property
[287] WARNING: Unused property: proxyHost='192.147.1.129' found in System Property
[288] WARNING: Unused property: sun.java.launcher='SUN_STANDARD' found in System Property
[289] WARNING: Unused property: http.nonProxyHosts='' found in System Property
[290] WARNING: Unused property: com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.woodstox='true' found in System Property
[291] WARNING: Unused property: path.separator=':' found in System Property
[292] WARNING: Unused property: org.xml.sax.parser='weblogic.xml.jaxp.RegistryParser' found in System Property
[293] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.properties resource
[294] WARNING: Unused property: user.country='US' found in System Property
[295] WARNING: Unused property: java.class.version='50.0' found in System Property
[296] WARNING: Unused property: java.vm.specification.name='Java Virtual Machine Specification' found in System Property
[297] WARNING: Unused property: java.specification.version='1.6' found in System Property
[298] }} finished loading BC4J properties
[299] -----------------------------------------------------------
Diagnostics: (Properties (re)loaded) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
[300] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
[301] JavaVMVersion: 10.0-b22
[302] JavaVMVendor: Sun Microsystems Inc.
[303] JavaVMName: Java HotSpot(TM) Client VM
[304] OperatingSystemName: Linux
[305] OperatingSystemVersion: 2.6.25-14.fc9.i686
[306] OperatingSystemUsername: myname
[307] jbo.323.compatible Flag: false, str: false
[308] jbo.903.compatible Flag: false, str: false
[309] oracle.jbo.usemds Flag: true, str: true
following solution i tried.
in jdev.conf
AddVMOption -Duser.timezone="+05:30"
in environment variable
export TZ="Asia/Calcutta"
please help me to start learning jdeveloper 11g.duplicate of java.sql.SQLDataException: ORA-01882: timezone region not found
-
Hi,
This is the error I am receiving when I attempt to make a database connection on SQL Developer.
Can someone please assist me as to how to resolve this error.
Thank you
Regards
Casper SeloaneJava's Timezone.getDefaultTimezone() returns 'Etc/UTC', and this is apparently not a valid timezone in Oracle.
setting TZ='UTC' solved the problem.
But I still think this is abug in Oracle's Timezone data, as 'Etc/UTC' is indeed a valid timezone ID. -
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,
PrernaIs this of any use to you?
http://manojm-nair.blogspot.com/2011/03/ora-01882-timezone-region-not-found.html -
My dates recorded in table are in PST time.
On selecting from query , I want to convert that PST date to IST .
How can we do in Oracle 9i?
Any ideas?why dnt you write a decode and convert all them to IST ?
HTH
[email protected] -
Bug with Show Whitespace and tab and space characters in SQL comments
If Preferences > Code Editor > Display > Show Whitespace Characters is checked, and I type the following in SQL Worksheet:
--A[tab]B[space]C
It renders with two spaces between B and C. The first one is a blank space without the light dot character used to signify a space character, and the second space is filled with the dot character. The caret is then blinking before the C instead of after it:
--A[tab]B[space][dot][|]C
Further selection actions and editing in the region produce "corrupted" results. I've tried changing fonts, but there was no change to the behavior. Multiple tabs before the B produce multiple blank spaces immediately after it, and when placed at the end of the line the caret is then shown another space to the left of the C:
--A[tab][tab]B[space][space][|][dot]C
If I turn off Show Whitespace Characters the rendering immediately corrects, and caret placement, selection action, and editing behaviors all work as expected.
This is observed on OS X with both the Mac OS X and Oracle/Fusion Blue look and feels.
Ian
About
Oracle SQL Developer 3.0.04
Version 3.0.04
Build MAIN-04.34
Copyright © 2005, 2011 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.31
Product ID: oracle.sqldeveloper
Product Version: 11.1.2.04.34
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_24
Oracle IDE 3.0.04.34
Versioning Support 3.0.04.34
Properties
Name Value
==== =====
apple.awt.graphics.UseOpenGL false
apple.awt.graphics.UseQuartz false
apple.laf.useScreenMenuBar true
awt.nativeDoubleBuffering true
awt.toolkit apple.awt.CToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name SQL_Developer
com.apple.mrj.application.growbox.intrudes false
file.encoding MacRoman
file.encoding.pkg sun.io
file.separator /
ftp.nonProxyHosts local|*.local|169.254/16|*.169.254/16
gopherProxySet false
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 1309201485440911000
ide.build MAIN-04.34
ide.conf /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.config_pathname /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir /Users/ibrandt/.sqldeveloper
ide.product oracle.sqldeveloper
ide.splash.screen splash.gif
ide.startingcwd "/Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin"
ide.user.dir /Users/ibrandt/.sqldeveloper
ide.user.dir.var IDE_USER_DIR
ide.vcs.noapplications true
ide.work.dir /Users/ibrandt/sqldeveloper
ilog.propagatesPropertyEditors false
java.awt.graphicsenv apple.awt.CGraphicsEnvironment
java.awt.printerjob apple.awt.CPrinterJob
java.class.path ../../ide/lib/ide-boot.jar
java.class.version 50.0
java.endorsed.dirs /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed
java.ext.dirs /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext
java.home /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
java.io.tmpdir /var/folders/rq/rqQtue9lEpGAwCKh2hL8MU+++TM/-Tmp-/
java.library.path .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_24-b07-334-10M3326
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Apple Inc.
java.vendor.url http://www.apple.com/
java.vendor.url.bug http://bugreport.apple.com/
java.version 1.6.0_24
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Apple Inc.
java.vm.version 19.1-b02-334
jdbc.library /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/jdbc/lib/ojdbc6.jar
line.separator \n
log.file.name /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
mrj.build 10M3326
mrj.version 1060.1.6.0_24-334
oracle.home /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/jlib/orai18n.jar
os.arch x86_64
os.name Mac OS X
os.version 10.6.8
path.separator :
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
socksNonProxyHosts local|*.local|169.254/16|*.169.254/16
sqldev.debug false
sun.arch.data.model 64
sun.awt.exception.handler apple.awt.CToolkit$EventQueueExceptionHandler
sun.boot.class.path ../../rdbms/jlib/ojdi.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:
/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar
sun.boot.library.path /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.launcher SUN_STANDARD
sun.java2d.ddoffscreen false
sun.jnu.encoding MacRoman
sun.management.compiler HotSpot 64-Bit Server Compiler
sun.os.patch.level unknown
svnkit.sax.useDefault true
user.country US
user.dir /Applications/Development/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
user.home /Users/ibrandt
user.language en
user.name ibrandt
user.timezone America/Los_Angeles
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.31 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.31 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.31 Loaded
Data Miner oracle.dmt.dataminer 11.2.0.1.10.109 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.31 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.31 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.31 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.31 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.31 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.31 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.31 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.31 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.31 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.31 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.31 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.31 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.31 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.31 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.31 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.31 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.31 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.31 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.31 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.31 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.31 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.2.04.34 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.1.1.04.34 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.1.1.04.34 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 1.1.1.04.34 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.1.1.04.34 Loaded
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.04.34 Loaded
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.1.1.04.34 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.1.1.04.34 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.1.1.04.34 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.1.1.04.34 Loaded
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.1.1.04.34 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.1.1.04.34 Loaded
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.1.1.04.34 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.1.1.04.34 Loaded
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 2.0.0.04.34 Loaded
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.1.1.04.34 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.1.1.04.34 Loaded
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.1.1.04.34 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.1.1.04.34 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.1.1.04.34 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.0.0.665.2 Loaded
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.04.34 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.31 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.31 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.31 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.31 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.31 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.31 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.31 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.31 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.31 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.31 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.31 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.31 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.31 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.31 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.31 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.31 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.31 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.31 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.31 Loaded
status oracle.ide.status 11.1.1.4.37.59.31 Loadedare you using an "Expert Mode" query or not?
With normal mode, the query is stored in an XML attribute.
With expert mode, it's stored in a CDATA Section, which allows it to respect all user-spacing and newlines.
XML attribute values are forced by the XML 1.0 spec to be normalized, and this is done by the parser when they are read in. That might account for your different in space treatment. -
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 gratefulYay, 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
Maybe you are looking for
-
Not able to get Sharing iTunes btw accounts on a single computer to work
I read the Apple support post on how to do this: http://support.apple.com/kb/HT1203 I followed the instructions. I even went back to the iTunes Music directory in the original account where I had the music and changed permissions so that Everyone has
-
Error while creating Db DataSource - Attempt to operate 'activate' on null
Hi All, I am trying to create a new Datasource for Db Adapter in weblogic - SOA 11g, when i clicked on finish its getting created, but its not getting activated. Below is the error thrown. An error occurred during activation of changes, please see th
-
ITunes and PC with Windows 7 will not recognize my iPod....
however iPod still works fine on an XP machine. Our iPad is also working fine on the Windows 7 machine, including in iTunes. The Windows 7 machine says the disk needs to be reformatted whenever I plugin the iPod. I have tried all of the possible fi
-
Please share any experience with AP-1200. Thanks, Audie
-
Reg:total Quantity in forms
Dear all, For example, in a customer invoice how to calculate the total quantity. If the line item is single it is ok.If the line item is more than one like, s.no product qty 1 xyz 2 2 abc 2 3