ORA-1502 while skip_unusable_indexes=true
OWB 9.2
We have one mapping that fills the target table in 2 stages:
in the first stage the table is filled with INSERT /*+ APPEND */ from several source tables;
the target table operator is then used as one of the source tables for the next INSERT /*+ APPEND */ into this target table itself.
OWB generates 2 set based INSERT statement for this mapping. The second INSERT (that also reads the target table) aborts with ORA-1502 (one of the indexes of the target table unusable). This is true, but in a premapping operator a ALTER SESSION SET SKIP_UNUSABLE_INDEXES=TRUE is issued.
Why does this error occur anyway? And why not in the first INSERT then?
Jaap.
This is an expected behaviour when you have a unique key. Updating a column with an unusable unique index could cause database integrity issues.
Take a look at Bug Nº 589199, Note:281329.1 and Note:111494.1 in Metalink.
I don't really think this is a Bug, it's database expected behaviour.
"A workaround is to use a hint in the SQL statement which causes the
optimizer not to select a plan which uses an unavailable index, or
to drop and recreate the index."
I believe that's what you should look for.
Regards,
Marcos
Similar Messages
-
Error ORA-02375 while trying to export/import JTF.JTF_PF_REPOSITORY table
We have already created an SR, In the mean time, trying to see whether anyone else has come across this issue. Thanks.
On : 11.2.0.3 version, Data Pump Import
Error ORA-02375 while trying to import JTF.JTF_PF_REPOSITORY table
We are getting the below error while performing the full db
import.
ORA-02375: conversion error loading table
"JTF"."JTF_PF_REPOSITORY" partition "EBIZ"
ORA-22337: the type of accessed
object has been evolved
ORA-02372: data for row: SYS_NC00040$ :
0X'8801FE000004AD0313FFFF0009198401190A434F4E4E454354'
This issue is
stopping our upgrade of database from 10.2.0.4 to 11.2.0.3. This is very
critical for us to be resolved.Hi,
seems this is Character set issue fo source and Target DB check this doc:Unable to Export Table WF_ITEM_ATTRIBUTE_VALUES due to errors ORA-02374, ORA-22337, and ORA-02372 (Doc ID 1522761.1)
HTH -
ORA-6508 while using attached PL-SQL library [SOLVED]
Hi all,
we use Developer 10.1.2.0.2 on Windows XP Professional SP 2.
We have a Linux-based ( 2.6.5-7.287.3) OAS (10.1.2.0.2).
We received ORA-6508 while starting a report from within a menu. In fact all reports led to the same mistake. I must admit that they all worked fine before. We found a workaround for this problem by recompiling the attached PL-SQL library. The question is: what caused the loss of information ? What reasons can be imagined for such a behaviour ?
Regards
Frank
Message was edited by:
fwbHi Christian,
what we have is:
We have a .mmx in production for quite a while. Within the .mmx you can start several reports by selecting an entry of the menu. It all works without problems. Then suddenly by choosing one of the reports you face ORA-6508 (something that has never happend before even though we made no changes to the system - at least I have no knowledge of any ;)
The .pll which I recompiled is attached to the menu (.mmb). Recompiling the .pll fixes the issue.
Regards
Frank
Message was edited by:
fwb -
Getting Error ORA-00604 While Creating View from front Ent
Hello All,
I am getting ORA-00604 while creating view from the front end. And some time I get Maximum cursor open, It is ok amy be I am opening cursors in while loop. While ORA-00604 is giving lots of truble to me. In help it said to contact Oracle service, I dont know how to do that. Help me.Please post your view definition including the complete error_message and also the relevant parts of your code with the while loop.
-
ORA-33292 while attaching.
Hi,
I am maintaining the cubes from pl/sql procedures.
Now my requirement is if 1st person has fired one cube and after some time 2nd person fires one more cube lying in the same AW then second has to wait till the first one is completed. this we have implemented.
My problem is that first time it is not showing me any error but while executing second time and it is throwing error ORA-33292(while attaching).
This error says that either the AW is not released or insufficient previleges. I have checked both and we are doing proper detach operation and previleges are also granted for the AW$ object to the calling schema.
do somebody has idea about it??.
Thanks
BrijeshWhat version are you using? I would expect that whoever is getting the 33292 error would always get it. You need SELECT access to the table named SCHEMA.AW$AWNAME to read an AW named AWNAME and SELECT and UPDATE to the table to write to it.
If this is not the case, please file a TAR. -
Skip_Unusable_indexes=True and OWB
General problem is that if any session properties are set just before the OWB proc call, these properties are not cascaded into the session where the proc actually exec
Eg. (all commands in SQL PLUS)
--set index on target unusable
alter index I unusable
alter session skip_unusable_indexes=true;-- owb_func is the sql_template thing from MEtalink to --invoke OWB packages
exec owb_func(task=>'X')Then it fails becuase of "index is unusable" error. I know I can solve this using a LOGON TRIGGER , but is there an alternative (less system-wide :-) ) soultion ?Couldn't you do the alter session in the premapping process for the mapping?
Jean-Pierre -
Error ORA-01422 while compressing a cube
Hello,
I am trying to compress the initial balnce of the European Inventory KPI (KPINVMOEU) cube after reloading it and I encountered the oracle error-01422 which says:
system error:error-01422:exact fetch returns more than requested
system error:CONDENSE_FACTTABLE-5-ERROR-01422
Has anyone dealt with this error before? Any input is appreciated.
Thanks in advance,
madhuMadhu,
can you please look into these notes: 485766 and 385660.
at the same time look into these links which is for similar problem.
ERROR: System error: CONDENSE_FACTTABLE-5- ERROR:12805
Error during compress 0IC_C03
error ORA-01422 while compressing a cube
Re: Cube compression failing
All the best.
Regards,
Nagesh Ganisetti. -
Hi all,
I got the following error plz resolve it
ORA-01502 INDEX 'pk_tbl_cdt_lat' or partition of such index is in unusable state
plz help me
Regards ...Hi,
Every mid-night my application is rebuild all indexes , that time my tables is working fine, after 10 hours the error ORA-1502 index problem encounted this every day happend last two month's . plz help me how to resolve the problem.
Regards .... -
Getting ORA-00376 while accessing from application
Hi,
Application team is getting below error while accessing the database.
“ERROR: SQLException, while closing
connection, exception is ==ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf'
Later we renamed the datafile from tblspcsmarts01.dbf to tblspcsmarts_01.dbf, and still getting the same error while accessing the application.
And, the datafiles are in online and READ WRITE mode.
File Status:
SQL> select file#,name,status,ENABLED,CHECKPOINT_CHANGE#,to_char(CHECKPOINT_TIME,'dd-mon-yy hh24:mi:ss') from v$datafile;
FILE# NAME STATUS ENABLED CHECKPOINT_CHANGE# TO_CHAR(CHECKPOINT
1 /dborafiles/nGTA/oradata01/smartsgs/system01.dbf SYSTEM READ WRITE 94950500 23-oct-13 15:41:40
2 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
3 /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
4 /dborafiles/nGTA/oradata01/smartsgs/users01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
5 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
6 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
7 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_03.dbf ONLINE READ WRITE 94950500 23-oct-13 15:41:40
SQL> select FILE_ID,TABLESPACE_NAME,FILE_NAME,BYTES/1024/1024,status from dba_data_files;
FILE_ID TABLESPACE_NAME FILE_NAME BYTES/1024/1024 STATUS
1 SYSTEM /dborafiles/nGTA/oradata01/smartsgs/system01.dbf 1024 AVAILABLE
5 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf 7000 AVAILABLE
3 SYSAUX /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf 1024 AVAILABLE
4 USERS /dborafiles/nGTA/oradata01/smartsgs/users01.dbf 2048 AVAILABLE
6 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02.dbf 6144 AVAILABLE
7 TBLSPCSMARTS /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_03.dbf 2048 AVAILABLE
2 UNDOTBS1 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf 1024 AVAILABLE
File permissions at OS level.
[oracle@apt3vl05 smartsgs]$ pwd
/dborafiles/nGTA/oradata01/smartsgs
[oracle@apt3vl05 smartsgs]$ ls -lrt
total 29057944
-rw-r----- 1 oracle dba 7340040192 Oct 23 10:37 tblspcsmarts01.dbf_old
-rw-r----- 1 oracle dba 1073750016 Oct 23 12:37 temp01.dbf
-rw-r----- 1 oracle dba 2147491840 Oct 23 15:41 users01.dbf
-rw-r----- 1 oracle dba 2147491840 Oct 23 15:41 tblspcsmarts_03.dbf
-rw-r----- 1 oracle dba 6442459136 Oct 23 15:41 tblspcsmarts02.dbf
-rw-r----- 1 oracle dba 7340040192 Oct 23 15:41 tblspcsmarts_01.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:05 sysaux01.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:25 undo02.dbf
-rw-r----- 1 oracle dba 1073750016 Oct 23 16:25 system01.dbf
-rw-r----- 1 oracle dba 6832128 Oct 23 16:25 control02.ctl
-rw-r----- 1 oracle dba 6832128 Oct 23 16:25 control01.ctl
Even i am able to do switch logfile and every thing fine. Below is the excerpt from alert log.
Wed Oct 23 10:29:59 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /dboracle/orabase/product/10.2.0.4/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 800
timed_statistics = TRUE
shared_pool_size = 159383552
large_pool_size = 16777216
java_pool_size = 159383552
streams_pool_size = 16777216
control_files = /dborafiles/nGTA/oradata01/smartsgs/control01.ctl, /dborafiles/nGTA/oradata01/smartsgs/control02.ctl, /dboracle/admin/smartsgs/control03.ctl
db_block_size = 8192
db_cache_size = 16777216
compatible = 10.2.0.4
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
O7_DICTIONARY_ACCESSIBILITY= TRUE
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = smartsgs
job_queue_processes = 10
background_dump_dest = /dboracle/admin/smartsgs/bdump
user_dump_dest = /dboracle/admin/smartsgs/udump
core_dump_dest = /dboracle/admin/smartsgs/cdump
sort_area_size = 524288
db_name = smartsgs
open_cursors = 800
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
PMON started with pid=2, OS id=9173
PSP0 started with pid=3, OS id=9178
MMAN started with pid=4, OS id=9180
DBW0 started with pid=5, OS id=9187
LGWR started with pid=6, OS id=9194
CKPT started with pid=7, OS id=9200
SMON started with pid=8, OS id=9202
RECO started with pid=9, OS id=9204
CJQ0 started with pid=10, OS id=9206
MMON started with pid=11, OS id=9208
MMNL started with pid=12, OS id=9210
Wed Oct 23 10:30:01 2013
ALTER DATABASE MOUNT
Wed Oct 23 10:30:06 2013
Setting recovery target incarnation to 1
Wed Oct 23 10:30:06 2013
Successful mount of redo thread 1, with mount id 765417449
Wed Oct 23 10:30:06 2013
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Wed Oct 23 10:30:06 2013
ALTER DATABASE OPEN
Wed Oct 23 10:30:06 2013
Thread 1 opened at log sequence 855
Current log# 3 seq# 855 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 855 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 855 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Successful open of redo thread 1
Wed Oct 23 10:30:06 2013
SMON: enabling cache recovery
Wed Oct 23 10:30:07 2013
Successfully onlined Undo Tablespace 6.
Wed Oct 23 10:30:07 2013
SMON: enabling tx recovery
Wed Oct 23 10:30:07 2013
Database Characterset is WE8ISO8859P15
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 2
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=14, OS id=9246
Wed Oct 23 10:30:10 2013
Completed: ALTER DATABASE OPEN
Wed Oct 23 10:37:38 2013
alter tablespace TBLSPCSMARTS offline
Wed Oct 23 10:37:38 2013
Completed: alter tablespace TBLSPCSMARTS offline
Wed Oct 23 10:43:58 2013
alter tablespace TBLSPCSMARTS rename datafile '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf' to '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf'
Wed Oct 23 10:43:58 2013
Completed: alter tablespace TBLSPCSMARTS rename datafile '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts01.dbf' to '/dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_01.dbf'
Wed Oct 23 10:44:14 2013
alter tablespace TBLSPCSMARTS online
Wed Oct 23 10:44:15 2013
Completed: alter tablespace TBLSPCSMARTS online
Wed Oct 23 15:02:00 2013
Thread 1 advanced to log sequence 856 (LGWR switch)
Current log# 1 seq# 856 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 856 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 856 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:06:11 2013
Thread 1 advanced to log sequence 857 (LGWR switch)
Current log# 2 seq# 857 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 857 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 857 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Thread 1 cannot allocate new log, sequence 858
Checkpoint not complete
Current log# 2 seq# 857 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 857 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 857 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Wed Oct 23 15:06:17 2013
Thread 1 advanced to log sequence 858 (LGWR switch)
Current log# 3 seq# 858 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 858 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 858 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Wed Oct 23 15:06:17 2013
Thread 1 advanced to log sequence 859 (LGWR switch)
Current log# 1 seq# 859 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 859 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 859 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:09:00 2013
Thread 1 advanced to log sequence 860 (LGWR switch)
Current log# 2 seq# 860 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 860 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 860 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Wed Oct 23 15:09:02 2013
Thread 1 advanced to log sequence 861 (LGWR switch)
Current log# 3 seq# 861 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01c.log
Current log# 3 seq# 861 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02c.log
Current log# 3 seq# 861 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03c.log
Wed Oct 23 15:37:37 2013
alter database datafile 5 online
Wed Oct 23 15:37:37 2013
Completed: alter database datafile 5 online
Wed Oct 23 15:37:58 2013
alter database datafile 7 online
Wed Oct 23 15:37:58 2013
Completed: alter database datafile 7 online
Wed Oct 23 15:41:09 2013
Thread 1 advanced to log sequence 862 (LGWR switch)
Current log# 1 seq# 862 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01a.log
Current log# 1 seq# 862 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02a.log
Current log# 1 seq# 862 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03a.log
Wed Oct 23 15:41:10 2013
Thread 1 advanced to log sequence 863 (LGWR switch)
Current log# 2 seq# 863 mem# 0: /dborafiles/nGTA/oraredo1/smartsgs/redo01b.log
Current log# 2 seq# 863 mem# 1: /dborafiles/nGTA/oraredo2/smartsgs/redo02b.log
Current log# 2 seq# 863 mem# 2: /dborafiles/nGTA/oraredo3/smartsgs/redo03b.log
Please advice how can we troubleshoot what could be the issue.
Thanks,
DasarathOutput of the requested commands.
SQL> select * from v$datafile_header;
FILE# STATUS ERROR FORMAT REC FUZ CREATION_CHANGE# CREATION_ TABLESPACE_NAME TS# RFILE# RESETLOGS_CHANGE# RESETLOGS CHECKPOINT_CHANGE# CHECKPOIN CHECKPOINT_COUNT BYTES BLOCKS NAME SPACE_HEADER LAST_DEALLOC_SCN
1 ONLINE 0 NO YES 8 23-JUL-09 SYSTEM 0 1 1 23-JUL-09 94978106 24-OCT-13 913 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/system01.dbf
2 ONLINE 0 NO YES 94828823 22-OCT-13 UNDOTBS1 6 2 1 23-JUL-09 94978106 24-OCT-13 37 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/undo02.dbf 8388610
3 ONLINE 0 NO YES 7545 23-JUL-09 SYSAUX 2 3 1 23-JUL-09 94978106 24-OCT-13 912 1073741824 131072 /dborafiles/nGTA/oradata01/smartsgs/sysaux01.dbf 12582914
4 ONLINE 0 NO YES 170715 23-JUL-09 USERS 4 4 1 23-JUL-09 94978106 24-OCT-13 907 2147483648 262144 /dborafiles/nGTA/oradata01/smartsgs/users01.dbf 16777218
5 ONLINE 0 NO YES 94891412 22-OCT-13 TBLSPCSMARTS 5 5 1 23-JUL-09 94978106 24-OCT-13 30 7340032000 896000 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_0 20971522
1.dbf
6 ONLINE 0 NO YES 94891511 22-OCT-13 TBLSPCSMARTS 5 6 1 23-JUL-09 94978106 24-OCT-13 28 6442450944 786432 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts02 25165826
.dbf
7 ONLINE 0 NO YES 94891933 22-OCT-13 TBLSPCSMARTS 5 7 1 23-JUL-09 94978106 24-OCT-13 29 2147483648 262144 /dborafiles/nGTA/oradata01/smartsgs/tblspcsmarts_0 29360130
3.dbf
7 rows selected.
SQL> select * from v$recover_file;
no rows selected
Thanks,
Dasarath -
ORA-29541 while trying to access web service using UTL_DBWS
Hi all,
Solicit your help in the beforesaid scenario:
I've 9.2.01 RDBMS, JPub 9.2.0.1.0 Production and OC4J Release 10.1.2 (standalone) environment and a local webservice.
While issuing jpub, I get the following response:
jpub -user=scott/tiger@ORACLE -sysuser sys/tiger -proxywsdl="e:\IMyFloatWebService.wsdl" -endpoint="http://10.177.238.71:8988/WS_Appln-WSFloat_prj-context-root/MyFloatWebService" -proxyopts=soap,tabfun -dir=FloatValue -plsqlpackage=soap_callout_wrap_eg -proxyopts=noload
Note: FloatValue\MyFloatWebServiceProxy.java uses unchecked or unsafe operations
Note: Recompile with -Xlint:unchecked for details.
FloatValue\MyFloatWebServiceProxyJPub.java
FloatValue\plsql_wrapper.sql
FloatValue\plsql_dropper.sql
FloatValue\plsql_grant.sql
FloatValue\plsql_revoke.sql
FloatValue\plsql_proxy.jar
Please run FloatValue\plsql_wrapper.sql in the user schema, load the generated j
ar file and run FloatValue\plsql_grant.sql in the SYS schema.
i. e - I get message as seen above:
"Please run FloatValue\plsql_wrapper.sql in the user schema, load the generated j
ar file and run FloatValue\plsql_grant.sql in the SYS schema."
And in sqlplus, while I try to access the web service, I get this error:
"SQL> sho user;
USER is "SCOTT"
SQL> SELECT soap_callout_wrap_eg.getCircumference(20)
2 FROM dual;
FROM dual
ERROR at line 2:
ORA-29541: class SCOTT.MyWebServiceFloatRTEProxyJPub could not be resolved"
Could somebody please advise me where I might be going wrong? Any help in this regards will be highly appreciated.
Regards,
LeslieHi,
I presume your Web Service needs HTTP (BASIC?) Authentication.
All this needs is setting the following 2 properties, which as can be seen, you are setting....
UTL_DBWS.set_property(l_call, 'USERNAME', '<username>');
UTL_DBWS.set_property(l_call, 'PASSWORD', '<pwd>');
This should work as long as your DBWS Callout Utility was downloaded from OTN after June 2008, and it's version is atleast 10.1.3.1.
Following is a sample code snippet that was tested successfully for this :
Declare
l_service UTL_DBWS.service;
l_call UTL_DBWS.call;
l_result sys.XMLTYPE;
l_request sys.XMLTYPE;
BEGIN
l_service := UTL_DBWS.create_service(null);
l_call := UTL_DBWS.create_call(l_service);
UTL_DBWS.set_target_endpoint_address(l_call, 'http://xxx.oracle.com:8888/basic/MyWebService1SoapHttpPort');
UTL_DBWS.set_property(l_call, 'USERNAME', 'username');
UTL_DBWS.set_property(l_call, 'PASSWORD', 'pwd');
UTL_DBWS.set_property(l_call, 'OPERATION_STYLE', 'document');
UTL_DBWS.set_property(l_call, 'SOAPACTION_USE', 'true');
UTL_DBWS.set_property(l_call, 'SOAPACTION_URI', 'http://xxx.oracle.com:8888/basic/MyWebService1SoapHttpPort');
l_request := XMLTYPE('<Z_CENTRICITY_GET_DOCLIST
xmlns:urn="urn:sap-com:document:sap:rfc:functions">' ||
'<I_INCLUDE_OLD_VERSIONS></I_INCLUDE_OLD_VERSIONS>' ||
'<I_INSTITUTION>0001</I_INSTITUTION>' ||
'<I_PATIENT_NR>0000000181</I_PATIENT_NR>' ||
'</Z_CENTRICITY_GET_DOCLIST>');
l_result := UTL_DBWS.invoke(l_call, l_request);
UTL_DBWS.release_call (call_handle => l_call);
UTL_DBWS.release_service (service_handle => l_service);
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line(sqlcode || ' ' || sqlerrm);
END;
Hope this helps,
Yogesh -
Getting ORA-32700 while creating database
I am getting following error when creating the database :
ORA-32700 error occurred in DIAG Group Service
The error description is as follows :
Cause: An unexpected error occurred while performing a DIAG Group Service operation.
Action: Verify that the DIAG process is still active. Also, check the Oracle DIAG trace files for errors.
The setup is as follows :
Database : Oracle 9i Rel 2.
OS : IBM AIX 4.3.3
We are trying to create the database from sqlplus/dbca. It seems that in the database creation process it is throwing the error while it is trying to create the control files.
listener.ora :
LSNR_TSEDMDB2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = prcsmbk1)(PORT = 1522))
TNSNAMES.ORA
LISTENER_TSEDMDB2 =
(ADDRESS = (PROTOCOL = TCP)(HOST = prcsmbk1)(PORT = 1522))
We have IBM HACMP Cluster setup on 3 machines. This machine (prcsmbk1) on which I am getting the error while creating the database is part of that HACMP cluster. While installing the Oracle database software also it gave me a list of the 3 machines which are in HACMP cluster. We are not planning to setup RAC, but still it seems like while creating the database control files Oracle is trying to perform some group service operation.
Alert log :
Sat Jan 3 03:31:18 2004
Starting ORACLE instance (normal)
Sat Jan 3 03:31:18 2004
Global Enqueue Service Resources = 64, pool = 4
Sat Jan 3 03:31:18 2004
Global Enqueue Service Enqueues = 128
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
GES IPC: Receivers 1 Senders 1
GES IPC: Buffers Receive 1000 Send 530 Reserve 300
GES IPC: Msg Size Regular 432 Batch 2048
SCN scheme 3
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.4.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 117440512
large_pool_size = 16777216
java_pool_size = 117440512
control_files = /u01/app/oracle/oradata/TSEDMDB2/control01.ctl
db_block_size = 8192
db_cache_size = 33554432
compatible = 9.2.0.0.0
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = TSEDMDB2
dispatchers = (PROTOCOL=TCP) (SERVICE=TSEDMDB2XDB)
local_listener = LISTENER_TSEDMDB2
job_queue_processes = 10
hash_join_enabled = TRUE
background_dump_dest = /u01/app/oracle/admin/TSEDMDB2/bdump
user_dump_dest = /u01/app/oracle/admin/TSEDMDB2/udump
core_dump_dest = /u01/app/oracle/admin/TSEDMDB2/cdump
sort_area_size = 524288
db_name = TSEDMDB2
open_cursors = 300
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
Sat Jan 3 03:31:19 2004
clUster interconnect IPC version:Oracle UDP/IP
IPC Vendor 1 proto 2 Version 1.0
PMON started with pid=2
DIAG started with pid=3
LMON started with pid=4
LMD0 started with pid=5
DBW0 started with pid=6
LGWR started with pid=7
CKPT started with pid=8
SMON started with pid=9
RECO started with pid=10
CJQ0 started with pid=11
QMN0 started with pid=12
Sat Jan 3 03:31:24 2004
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Sat Jan 3 03:31:25 2004
Create controlfile reuse set database TSEDMDB2
MAXINSTANCES 1
MAXLOGHISTORY 1
MAXLOGFILES 50
MAXLOGMEMBERS 5
MAXDATAFILES 100
Datafile
'/u01/app/oracle/oradata/TSEDMDB2/cwmlite01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/drsys01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/example01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/indx01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/odm01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/system01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/tools01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/undotbs01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/users01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/xdb01.dbf'
LOGFILE GROUP 1 ('/u01/app/oracle/oradata/TSEDMDB2/redo01.log') SIZE 102400K,
GROUP 2 ('/u01/app/oracle/oradata/TSEDMDB2/redo02.log') SIZE 102400K,
GROUP 3 ('/u01/app/oracle/oradata/TSEDMDB2/redo03.log') SIZE 102400K RESETLOGS
Sat Jan 3 03:31:25 2004
ORA-1503 signalled during: Create controlfile reuse set database TSEDMDB2
MAX...
Sat Jan 3 03:32:28 2004
Restarting dead background process QMN0
QMN0 started with pid=15
Sat Jan 3 03:32:28 2004
Shutting down instance (abort)
License high water mark = 3
Instance terminated by USER, pid = 47128
Diag trace file :
/u01/app/oracle/admin/TSEDMDB2/bdump/tsedmdb2_diag_49754.trc
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
ORACLE_HOME = /u01/app/oracle/product/9.2.0
System name: AIX
Node name: prcsmbk1
Release: 3
Version: 4
Machine: 0002599F4C00
Instance name: TSEDMDB2
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
49754
Number of Serviceable Networks detected is less than 2
Disabling Transparent Network Failover Feature.
*** SESSION ID:(2.1) 2004-01-03 03:31:19.886
kjzcprt:rcv port created
kjzmreg2: slos err[1 19 [HA_GS_CONNECT_FAILED] sskgxn_gs_in 19]
[kjzmreg2]: Error [category=1] is encountered
Node monitor problem:[32700][kjzmreg2]
Membership is lost in DIAG group
Any help is appreciated. Thanks in advance.Thanks a lot for all your responses. We found the issue. The issue was that when we installed 9i we selected Enterprise option which installed RAC also. And after that when we were trying to create database Oracle was thinking that we are trying to create database in RAC env. and most likely it was trying to create/sync the control files on all the machines in the cluster.
The sequence of events were as below :
1. We have 8i installed on this machine
2. We installed 9i (9.2.0.1.0) using the same ORACLE_BASE but different ORACLE_HOME. We didn't select "Custom Install". We selected "Enterprise install" option
3. We installed new installer (2.2.0.18.0 ) and then 9i patch (9.2.0.4.0)
4. While creating the database (manually & through DBCA) we were getting ORA-32700
5. We tried to uninstall (using OUI 2.2.0.18.0) 9i (including the patch) completely but it never succeeded. We noticed that when we started uninstall it did show progress for about 20 minutes and after that it didn't show any progress. It was not taking any CPU cycles and It was not writing to the log file either. Basically we were never able to cleanly uninstall 9i. We tried almost 2 to 3 times.
6. Then we installed 9i using a new ORACLE_BASE and this time we selected "Custom Install" and we did not install RAC. This is successful
7. Then we installed new installer (2.2.0.18.0 ) and we tried to install the 9i patch (9.2.0.4.0) using this new installer but it never succeeded. Then we tried to install the 9i patch (9.2.0.4.0) using the old installer version (2.2.0.11.0) and it was also successful.
8. Then we tried to create database using DBCA and it was successful and then we dropped the database which was created using DBCA and then we created it manually through SQLPLUS and this was fine too.
So basically what we learned from this exercise is that if we are installing 9i on a machine which is part of a cluster and if we don't plan to setup RAC then we shouldn't install RAC and we should do a custom install. I wish there was a option in create database stmt to tell Oracle that though we are creating database on a machine which is part of a cluster environment but we don't intend to setup RAC.
And other thing which is still a mystery is that why does the uninstall never completes successfully. One question on this : We were using the installer version 2.2.0.18.0 to uninstall the 9i software. Do we need to use the older version (2.2.0.11.0) of the OUI? -
ORA-01422: while trying to create a job
Hi all,
WE need a help from you, group of experts
we are getting the following error
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.DBMS_ISCHED", while trying to create a job using the following code
BEGIN
DBMS_SCHEDULER.create_program
(program_name => 'FAILURE_MONITOR_PRG',
program_action => 'JOB_MGR.SPR_FAILURE_MONITOR',
program_type => 'STORED_PROCEDURE',
number_of_arguments => 1,
enabled => FALSE
DBMS_SCHEDULER.define_metadata_argument
(program_name => 'FAILURE_MONITOR_PRG',
argument_position => 1,
metadata_attribute => 'EVENT_MESSAGE'
DBMS_SCHEDULER.create_job
(job_name => 'FAILURE_MONITOR_JOB',
program_name => 'FAILURE_MONITOR_PRG',
enabled => TRUE,
auto_drop => FALSE,
start_date => SYSDATE,
event_condition => 'tab.user_data.event = ''FAILED''',
queue_spec => 'event_queue'
END;
Oracle allows us to create the job if the parameter values for enabled is "false" in the DBMS_SCHEDULER.create_job call. But we got the same error
when tried to enable the job using exec DBMS_SCHEDULER.ENABLE ('FAILURE_MONITOR_JOB');
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.DBMS_ISCHED", line 2751
ORA-06512: at "SYS.DBMS_SCHEDULER", line 1794
ORA-06512: at line 1
Please help us to solve this issue
Thanks,
Reghu
nullHi Ravi,
Thank you for your kind support
That issue has been solved. Problem was with the event queue and only for that particular job i mentioned in the first post (I was able to create other jobs with different Events using the same queue) . After recreating the event queue i am able to create the same job. I got the same error when I tired to drop the queue, and then I dropped the queue table itself. Do you have any idea about what might had caused the issue?
Thanks
Reghu -
A client is facing the following error while entering data:
ORA-08177-Cannot serialize transaction.
so could u tell me the reason & remedy for this error.Hi,
What is your INIT.ORA parameter value for "serializable"?
Oracle should only serialize transactions when serializable is set to TRUE.
**Note : It is good for you to follow the oracle error documentation for error
Best regards.
Uzair Hasan Nizami -
ORA-01720 while trying to grant select on a view
Hi Friends,
Iam getting the following error while trying to grant select privilege for the view to SchemaB, i have the view in schemaA.
I have used the tables from both the schema for creating the view and iam getting the error on showing a particular table
ORA-01720: grant option does not exist for 'schemaB.Product'.
I have looked into so many forums but i couldn't find the answer for my question.
I must have to create the view in the Schema A only(strictly), as i seen in some forums stated that while creating the view in the other schema and granting the select privilege will solve the problem.But it was an exception to me ...
Tell me something how can i proceed in this .....grant select on t1 to seconduser with admin optionNo. WITH ADMIN OPTION applies to system privileges only. Object privileges need the WITH GRANT OPTION ...
SQL> grant select on joe_soap.some_table to apc with admin option
2 /
grant select on joe_soap.some_table to apc with admin option
ERROR at line 1:
ORA-00993: missing GRANT keyword
SQL> grant select any table to apc with admin option
2 /
Grant succeeded.
SQL> grant select on joe_soap.some_table to apc with grant option
2 /
Grant succeeded.
SQL> Cheers, APC -
ORA-12523 while creating a database on ASM using DBCA
HI PPL,
I have set up am ASM instance and also configured the listener services to it.
But when I try to create database on the configured ASM instance using DBCA , I am getting the following error
TNS:listener could not find instance appropriate
for the client connection
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP(Host=10.10.199.141)
(Port=6881))(CONNECT_DATA=(SERVICE_NAME++ASM1)
(INSTANCE_NAME=+ASM1)(UR=A)))
I have checked the listener status and ASM instance and booth seem to be fine:
$ lsnrctl status ASM
LSNRCTL for HPUX: Version 10.2.0.3.0 - Production on 30-JUL-2010 12:40:17
Copyright (c) 1991, 2006, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.199.141)(PORT=6881)))
STATUS of the LISTENER
Alias ASM
Version TNSLSNR for HPUX: Version 10.2.0.3.0 - Production
Start Date 30-JUL-2010 11:36:11
Uptime 0 days 1 hr. 4 min. 5 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /uat06/asm_home/network/admin/listener.ora
Listener Log File /uat06/asm_home/network/log/asm.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.199.141)(PORT=6881)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
Service "ASM" has 1 instance(s).
Instance "ASM", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
SQL> sho parameter local
NAME TYPE VALUE
local_listener string ASM
log_archive_local_first boolean TRUE
Please help as I am new to ASM.
OS-HP-UX
Database;10gR2
regardsHI Chinar,
I have already checke the same and made the changes as per the metalink note.
But stil I am getting teh following error:
$ lsnrctl status ASM
LSNRCTL for HPUX: Version 10.2.0.3.0 - Production on 30-JUL-2010 12:40:17
Copyright (c) 1991, 2006, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.199.141)(PORT=6881)))
STATUS of the LISTENER
Alias ASM
Version TNSLSNR for HPUX: Version 10.2.0.3.0 - Production
Start Date 30-JUL-2010 11:36:11
Uptime 0 days 1 hr. 4 min. 5 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /uat06/asm_home/network/admin/listener.ora
Listener Log File /uat06/asm_home/network/log/asm.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.199.141)(PORT=6881)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
Service "ASM" has 1 instance(s).
Instance "ASM", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Why is it showing status "BLOCKED" if i check the listener status.
Maybe you are looking for
-
All my update attempts have failed thus far. What follows is the latest log form the attempt: 02/25/15 15:14:18:116 | [INFO] | | OOBE | DE | | | | 18189180 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* 02
-
Hi, I have updated the firmware on my N80, but now PC suite cannot detect the phone, however, I can connect to the internet even if the phone is not detected. I installed the updated PC suite, uninstalled it, and reverted to the older version, nothin
-
Complex query tuning - optimalisation issue
Hi folks, in our database I found view that takes too long to run and I would like to to tune it up as much as possible. Here is a query from view and some statistics: 1. Query: select /*+ ORDERED */ n.shrtckn_pidm, i.spriden_id, i.spriden_fi
-
T43p Running System Update results in popup to install "Warbirds classic"???
Since running System Updates beginning in late March '09, during the downloading of any updates, sudden there appears a popup screen requesting that I OK the installation of something called "Warbirds Classic" or "Classic Warbirds". I have absolutel
-
Explorer.exe crashing - twinui.dll?
With some relative frequency (several times an hour) explorer.exe is faulting and restarting. I only noticed because the system tray repaints. I am not sure if this is related to the applications I have installed, or is unrelated. Has anyone else