ORA-06510
Hi
I have been working as DBA for production database.
The following error has been encountered.
ORA-06510: PL/SQL: unhandled user-defined exception
Cause: A user-defined exception was raised by PL/SQL code, but not handled.
Action: Fix the problem causing the exception or write an exception handler for this condition. Or you may need to contact your application administrator or DBA.
My question to u all is as a DBA how shud we write an exception handelr for this type of condition.
Thanks in advance
KK
As a DBA you shouldn't write an exception handler for this error.
The application developers should write an exception handler for the error or not if they just want to leave the message as you've seen it.
That error will have another error associated with it giving you more of a clue about which exception hasn't been handled
Similar Messages
-
ORA-06510 error in portal install
The portal install fails at 50% and the following is from the
portal install.log:
ORA-06510: PL/SQL: unhandled user-defined exception
Errors encountered in the Install process. Installation Aborted.I also have this problem. Portal configuration/installation crashes at
about 50%.
Maybe it is because my installation lasted more than 2 hours as it
is said in installation program. But on the other hand, I also get no-
data-found error and therefore this should not happen because of
some kind of timeout. Because of this no-data-found I get core
dump in database.
Technical details:
I am using Oracle9i 9.0.1 DB on SuSE Linux 7.2.
DB alert log contains:
ORA-07445: exception encountered: core dump [kzrtevw()+323]
[SIGSERV] Address not mapped to object [0x4] [] []
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWSEC_API", line 433
ORA-01403: no data found
Trace file contains current SQL statement:
INSERT INTO WWSEC_MEMBER$ ...
How can NO_DATA_FOUND happen on INSERT?
Portal configuration assistant log file shows that error happened in
step 14: installing seed data for all layers and it ends with error
ORA-03113: end-of-file on communication channel (standard client
error when core dump occurs).
Any ideas how to solve this problem?
Aldis -
Error : ORA-06510: PL/SQL: unhandled user-defined exception
Hi,
Please help on this Error.
Here is my code for Trigger
Code for Trigger
CREATE OR REPLACE TRIGGER TRG_EXCEP AFTER INSERT ON TEST FOR EACH ROW
DECLARE
vInt NUMBER := 0;
vErr EXCEPTION;
BEGIN
vInt := :OLD.TEST_ID;
IF vInt > 10 THEN
INSERT INTO TEST1 VALUES (:NEW.TEST_ID,:NEW.TEST_NAME);
ELSE
RAISE vErr;
END IF;
EXCEPTION
WHEN vErr THEN
INSERT INTO TEST1 VALUES (0,:NEW.TEST_NAME);
END;
While inserting in to the table TEST iam getting the following error
Error on line 0
INSERT INTO TEST VALUES (147541,'Mm',SYSDATE)
ORA-00001: unique constraint (DB_TEST.SYS_C005327) violated
ORA-06512: at "DB_TEST.TRG_EXCEP", line 13
ORA-06510: PL/SQL: unhandled user-defined exception
Someone help me please ...............
Thanks,
Murali.VHi,
I made the mistake here
INSERT INTO TEST1(id,name) VALUES (0,:NEW.TEST_NAME);
where i defined the id as primary key.
But the another problem for me now is while compiling the trigger after i modified,
i get this error
11:37:05 Error: TRIGGER DB_TEST.TRG_EXCEP
On line: 7
PLS-00553: character set name is not recognized
Please help.
Thanks,
Murali.V -
ORA-06510 Message error in Process Modeller Designer
HI�
I'M DAVE
I HAVE SOME PROBLEMS USING DESIGNER 6i.
I log on to Windows Designer tools then I open Process Modeller Tool and I try to modify the previuous model process but, when I add a new process in the previous PM1 SATISFY CUSTOMER ORDER diagram, the GUI for Process Modeller is crashed, and displays the next message: ORA-06510.
I really don't know the reason. The error message manuals tells me I should answer to the DBA.
ANY BODY CAN HELP ME?
THANK YOU�
DAVE
[email protected]I have found this problem myself,
the only workaround I found is to not run more that 5 mappings in parallel.
I speculate that this is caused by the amount off cursors that are opened to run everything in parallel,
If so, you might try to increase the parallel settings of your database.
cheers
Robbert -
Ora-06510 ora-06512 unhandled user-defined exceptions
hi,
i try to execute command
exec wwv_context.sync but i get following errors
16:35:45 Error executing statement: ORA-06550: row 2, column 1:
16:35:45 PLS-00201:identifier 'WWV_CONTEXT.SYNC' must be declared
16:35:45 ORA-06550: row 2, column 1
please help.What's the status for this object?
select status from dba_objects where object_name ='<your_object>'; -
Ora-00604 error while taking tkprof of a trace file
Sorry i am giving the full erro but omitting exact table names
Hi ,
I have an error while taking tkprof of a trace file.
I gave the following command ---
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela explain= /
error is --
Error in create table of EXPLAIN PLAN table : unix_session_user.prof$paln_table
ORA-00604: error occurred at recursive SQL level 1
ORA-20001: Step-6:DDL
Event Security. You are not permitted to perform the requested structural
changes to PROF (TABLE)
Event triggered : CREATE
ora_login_user
(session_user) : unix_session_user(dummy)
Search : select count(*) from
tabl(dummy table name) where obj_name like '%\%%' escape '\' and obj_type =
'TABLE' and obj_type = 'USER' and ( event_CREATE = 'Y' or status =
'Override')
ORA-06512: at line 162
ORA-06510: PL/SQL: unhandled
user-defined exception
EXPLAIN PLAN option disabled.
i searched for the error and in oracle forum i found a solution .. http://forums.oracle.com/forums/thread.jspa?threadID=844287&tstart=0
but after giving the table option it is giving the same error
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=old_schema.plan_table explain= /
it again gave the same error.
In both two cases it gives elapsed time results,library cache missing etc but before giving this it throws ORA-00604 error as stated above
then i again correct the tkprof statement ..
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=new_schema.plan_table explain= /
say this schema name here i used is dummy schema name.
My question is did this error came as we had not sufficient previlages in the old_schema but that previleges we have in new_schema?
My databse version is 9.2.0.4.0
Thanks in advance
Edited by: bp on Feb 3, 2009 11:36 PM
Edited by: bp on Feb 3, 2009 11:40 PMPlease post here full error message, there should be lines with ORA-00604 and then some other ORA as well.
And are there any trace files generated during this error?
And as You can see from error description, probably You will have to contact with Oracle support in order to solve this case:
oerr ora 00604
00604, 00000, "error occurred at recursive SQL level %s"
// *Cause: An error occurred while processing a recursive SQL statement
// (a statement applying to internal dictionary tables).
// *Action: If the situation described in the next error on the stack
// can be corrected, do so; otherwise contact Oracle Support. -
FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-
Hi,
In R12 When trying to search existing users through Sysadmin or any other user ...we are getting the below errror...
ORA-01403: no data found
FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06510
This error is not happening when we search for the SYSADMIN user....
Any idea why this error happening...
Also another error which is faced by users other than SYSADMIN is the below one when changing the responsability...
APP-FND-01926---The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception:User Defined Exception
Thanks
Joseph
Edited by: 783717 on Sep 27, 2010 10:49 PMHi,
In R12 When trying to search existing users through Sysadmin or any other user ...we are getting the below errror...
ORA-01403: no data found
FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06510
This error is not happening when we search for the SYSADMIN user....
Any idea why this error happening...What changes have been done recently?
Please run AutoConfig and make sure it completes successfully.
Also another error which is faced by users other than SYSADMIN is the below one when changing the responsability...
APP-FND-01926---The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception:User Defined ExceptionCan you find any errors in the database log file?
Please compile CUSTOM.pll (and other files) as per these docs and try again (as you are on R12 use frmcmp_batch.sh instead of f60gen).
APP-FND-01926, ORA-06508 [ID 797242.1]
APP-FND-01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-06508: PL/SQL: [ID 831159.1]
APP-FND-01926 when logon changed ORA-06508 [ID 334295.1]
Thanks,
Hussein -
OBIEE/EBS R12 - works, except for one user - ORA-06512 error
OBIEE 10.3.1.4 / EBS 12.0.4
Oracle 11g
HPUX 11.31 64 bit Itanium
We are successfully using EBS integration with OBIEE, but for one user that we have created it doesn't work. When they try to access OBIEE from EBS we get this error in NQServer.log:
*[nQSError: 13011] Query for Initialization Block 'EBS Security Context' has failed.*
*[nQSError: 17001] Oracle Error code: 6510, message: ORA-06510: PL/SQL: unhandled user-defined exception*
ORA-06512: at "APPS.APP_SESSION", line 313
at OCI call OCIStmtExecute: call / 101507300 */ APP_SESSION.validate_icx_session('NIOWQbvOlCFpGilcGDvlBIY-:S').*
*[nQSError: 17011] SQL statement execution failed.*
This is when the query is run against EBS to authenticate the user:
select FND_GLOBAL.RESP_ID,
FND_GLOBAL.RESP_APPL_ID,
FND_GLOBAL.SECURITY_GROUP_ID,
FND_GLOBAL.RESP_NAME,
FND_GLOBAL.USER_ID,
FND_GLOBAL.EMPLOYEE_ID,
FND_GLOBAL.USER_NAME from dual
It is only for one user that has the problem. All others users work fine.
Has anyone else seen this problem?
Our EBS DBA has checked that the above sql can be run with the session set to the problem user, and compared with a user who can successfully connect to OBIEE. The results were the same for both.I was on the wrong lines with this one.
The error in the NQServer.log was not from the problem user, it was a separate user.
The real cause of a specific user not being able to login was a corrupt web catalog (which we're still trying to resolve) -
ORA-04030: out of process memory when trying ....
Hi!
Environment: Oracle Database 10.2.0.5.0 on Windows Server 2003 SP1. Memory: 4GB Ram. /3GB and PAE not set in boot.ini
There is a job that runs at night that triggered this message. We assume that not enough OS memory was free for this
process? Any recommendations greatly appreciated. Thanks!
SGA
Total System Global Area 734003200 bytes
Fixed Size 1305424 bytes
Variable Size 213910704 bytes
Database Buffers 511705088 bytes
Redo Buffers 7081984 bytesExcerpt of alert log:
Wed Oct 19 01:00:51 W. Europe Daylight Time 2011
Process startup failed, error stack:
Wed Oct 19 01:00:51 W. Europe Daylight Time 2011
Errors in file h:\oracle\admin\trwprod\bdump\trwprod_psp0_3392.trc:
ORA-27300: OS system dependent operation:CreateThread failed with status: 8
ORA-27301: OS failure message: Not enough storage is available to process this command.
ORA-27302: failure occurred at: ssthrddcr
Wed Oct 19 01:00:52 W. Europe Daylight Time 2011
Process m001 died, see its trace file
Wed Oct 19 01:00:52 W. Europe Daylight Time 2011
ksvcreate: Process(m001) creation failed
Wed Oct 19 02:00:07 W. Europe Daylight Time 2011
Errors in file h:\oracle\admin\trwprod\bdump\trwprod_j007_1320.trc:
ORA-12012: Fehler beim autom Ausführen von Job 21
ORA-04030: Zu wenig Prozessspeicher für Versuch 123404 Bytes zuzuweisen (QERHJ hash-joi,kllcqas:kllsltba)
ORA-06512: in "WKSYS.WK_JOB", Zeile 443
ORA-04030: Zu wenig Prozessspeicher für Versuch 123404 Bytes zuzuweisen (QERHJ hash-joi,kllcqas:kllsltba)
ORA-06510: PL/SQL: Unbehandelte benutzerdefinierte Exception
ORA-06512: in "WKSYS.WK_JOB", Zeile 766
ORA-04030: Zu wenig Prozessspeicher für Versuch 123404 Bytes zuzuweisen (QERHJ hash-joi,kllcqas:kllsltba)
ORA-06512: in Zeile 1Excerpt of trace log
Wed Oct 19 02:37:09 W. Europe Daylight Time 2011
Process m000 died, see its trace file
Wed Oct 19 02:37:09 W. Europe Daylight Time 2011
ksvcreate: Process(m000) creation failed
Wed Oct 19 02:51:03 W. Europe Daylight Time 2011
Thread 1 advanced to log sequence 3210 (LGWR switch)
Current log# 3 seq# 3210 mem# 0: K:\ORACLE\ORADATA\TRWPROD\REDO03A.LOG
Current log# 3 seq# 3210 mem# 1: L:\ORACLE\ORADATA\TRWPROD\REDO03B.LOG
Wed Oct 19 07:37:00 W. Europe Daylight Time 2011
Thread 1 advanced to log sequence 3211 (LGWR switch)
Current log# 1 seq# 3211 mem# 0: K:\ORACLE\ORADATA\TRWPROD\REDO01A.LOG
Current log# 1 seq# 3211 mem# 1: L:\ORACLE\ORADATA\TRWPROD\REDO01B.LOG
======================================================
PRIVATE MEMORY USAGE FOR LARGEST PROCESS
Begin memory detail for largest PGA user, pid 37
============================
Begin PGA memory detail dump
============================
Dumping only 0 of 1 process heap scans requested
============================
End PGA memory detail dump
============================
End of memory detail for pid 37
(if there was no memory detail for pid 37, it probably timed out and
may appear in the trace file for pid 37)
Died during process startup with error 4030 (seq=155312)
OPIRIP: Uncaught error 4030. Error stack:
ORA-04030: out of process memory when trying to allocate 1636 bytes (pga heap,ldm context)I too believe that this is a memory issue, but need to get confirmed.
Can you tell us what is the bit-version (32 or 64 bit?) of windows?
Generally when we get ora-04030 error, we have some recommendations. see this link
http://www.dba-oracle.com/t_ora_04030_out_process_memory.htm
I also faced same problem and I archived that in my blog
http://pavandba.com/2009/10/30/handling-ora-04030-ora-600723-on-32-bit-windows-machine/ -
ORA-07445 and XDB.DBMS_XMLDOM
Hi,
I am receiving the following messages in the alert log:
Errors in file d:\oracle\ora10g\dumps\udump\prod_ora_5116.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x3681AB1] [] [] [] []
ORA-06510: PL/SQL: unhandled user-defined exception
When I review the trace file, I see this:
*** SERVICE NAME:(SYS$USERS) 2006-07-26 13:06:10.246
*** SESSION ID:(80.5257) 2006-07-26 13:06:10.246
*** 2006-07-26 13:06:10.246
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x3681AB1] [] [] [] []
ORA-06510: PL/SQL: unhandled user-defined exception
Current SQL statement for this session:
BEGIN Pack_Core_Api_Main.Proc_Core_Api_Main(:1,:2); END;
----- PL/SQL Call Stack -----
object line object
handle number name
8F21A048 4644 package body XDB.DBMS_XMLDOM
8F21A048 4667 package body XDB.DBMS_XMLDOM
8F196B1C 1516 package body OSIBANK.PACK_CORE_API_PERSONMAINT
8D03B614 361 package body OSIBANK.PACK_CORE_API_ROUTER
8D03B614 128 package body OSIBANK.PACK_CORE_API_ROUTER
8F239C6C 134 package body OSIBANK.PACK_CORE_API_MAIN
8DB36A64 1 anonymous block
--- snip ---
It seems to me the exception/error is occurring in package body XDB.DBMS_XMLDOM, but I am not certain.
My database is ORACLE V10.1.0.2.0.
Any thoughts?
Thank you,
BretI am in the process of trying to find out just that....where it's called from and what is sent to it. Here is the next bit from the trace file though. Please let me know if you'd like to see more of it.
Thank you,
Bret
*** SERVICE NAME:(SYS$USERS) 2006-07-26 13:06:10.246
*** SESSION ID:(80.5257) 2006-07-26 13:06:10.246
*** 2006-07-26 13:06:10.246
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [0x3681AB1] [] [] [] []
ORA-06510: PL/SQL: unhandled user-defined exception
Current SQL statement for this session:
BEGIN Pack_Core_Api_Main.Proc_Core_Api_Main(:1,:2); END;
----- PL/SQL Call Stack -----
object line object
handle number name
8F21A048 4644 package body XDB.DBMS_XMLDOM
8F21A048 4667 package body XDB.DBMS_XMLDOM
8F196B1C 1516 package body OSIBANK.PACK_CORE_API_PERSONMAINT
8D03B614 361 package body OSIBANK.PACK_CORE_API_ROUTER
8D03B614 128 package body OSIBANK.PACK_CORE_API_ROUTER
8F239C6C 134 package body OSIBANK.PACK_CORE_API_MAIN
8DB36A64 1 anonymous block
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
qmxdAdoptNode+1819 CALLrel qmxRemoveChild+0 1E237380 0 0 1E237380 995FD5C
1E237380 995B7AC 9958C40 0 1
qmxdplsdocadoptno CALLrel _qmxdAdoptNode+0 C57E6C0 995B7AC 0 9958C40
de+174
_spefcpfa+357 CALLreg 00000000
spefmccallstd+661 CALLrel spefcpfa+0
pextproc+88 CALLrel spefmccallstd+0 1F26D450 1F26D380 1F26D248
1F26D1C0 A26B15C
peftrusted+138 CALLrel pextproc+0 1F26D450 1F26D380 1F26D248
1F26D1C0
_psdexsp+115 CALLreg 00000000 0
_rpiswu2+368 CALLreg 00000000 1F26D15C
psdextp+439 CALLrel rpiswu2+0 99890D4C 27 1F26D110 2
1F26D0F4 27 1F26D130 0
214B410 0 1F26D15C 0
_pefccal+361 CALLreg 00000000 1F26D818 1F26D380 1F26D248 0
20003 1F26D450 60B103F0
pefcal+125 CALLrel pefccal+0 1E237380
pevmFCAL+191 CALLrel _pefcal+0
pfrinstrFCAL+70 CALLrel pevmFCAL+0
pfrrunno_tool+51 CALL??? 00000000
pfrrun+1834 CALLrel pfrrun_no_tool+0 D56E5A8 8EAD2CFA D56E5E4
plsqlrun+1051 CALLrel _pfrrun+0 D56E5A8
peicnt+179 CALLrel plsql_run+0 D56E5A8 1 0
kkxexe+477 CALLrel peicnt+0
opiexe+4896 CALLrel kkxexe+0 8DB36A64
kpoal8+1705 CALLrel opiexe+0 49 3 1F26E070
_opiodr+977 CALLreg 00000000 5E 14 1F26E7D0
_ttcpip+1827 CALLreg 00000000 5E 14 1F26E7D0 0
_opitsk+1098 CALL??? 00000000
opiino+938 CALLrel opitsk+0 0 0 1E23DD30 97EFDF8 B9 0
_opiodr+977 CALLreg 00000000 3C 4 1F26FBC0
opidrv+479 CALLrel opiodr+0 3C 4 1F26FBC0 0
sou2o+45 CALLrel opidrv+0 3C 4 1F26FBC0
opimai+237 CALLrel sou2o+0
OracleThreadStart@ CALLrel opimai+0
4+899
77E66060 CALLreg 00000000
--------------------- Binary Stack Dump ---------------------
-- snip --- -
AUD-00706 and ORA-29400 when inserting an MP3 file
I can't seem to be able to load any MP3 files. I keep getting the following errors:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "ORDSYS.ORDAUDIO", line 1100
ORA-29400: data cartridge error
AUD-00706: unsupported or corrupted input format
ORA-06512: at "ORDSYS.ORDAUDIO", line 1058
ORA-06512: at line 11
I read somewhere that Oracle did confirm this as a problem and that it was fixed on Oracle9i Release 2, however I'm running 9.2.0.6.0. I'm using PL/SQL to load the file. WAV files work just fine.
Has anyone run into this problem? If so I would really appreciate your help.
Thanks!
-AlanThis should work.
Can you send me a MP3 that causes this exception? (Lawrence.Guros at oracle.com)
Larry -
ORA-01000: maximum open cursors exceeded with Thin and OCI
Hi I have this ERROR :
ORA-01000: maximum open cursors exceeded
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at line 1
and all the connections show this error, I run the weblogic.Admin RESET_POOL utility
and the problem are fixed !!
Why show this error ?
why with RESET_POOL utility resolve the problem ?
the Oracle Version is Oracle 8.1.7.0 32bits on Solaris 8Mitesh:
I using testConnOnReserve=true and testReleasedConnections=true specify testTableName
when the errors appear , but increse the open_cusror value to 1200, i think is
not the solution, because the DB and Stored Procedure is used by Cold Fusion ,
is the same Application, in Cold Fusion not show this error u other errors with
380 users on the application.
I check to increse the open_cusror and test the application.
thanks
Roberto
Mitesh Patel <[email protected]> wrote:
You should do couple of things here.
First of all you can increse the open_cusror value to 1200 if it is ok
with you.
Secondly, make sure you are using testConnOnReserve=true and specify
testTableNAme
in your config.xml for your connection pool defination.
Thanks,
Mitesh
Roberto Hernandez wrote:
Mitesh Patel,
WLS 6.1 sp3 on Solaris 8, in init.ora file
session_cached_cursors = 30 and Open_Cursors = 600
Any Idea to resolve the Error and not use manual RESET_POOL utility?
thanks
Mitesh Patel <[email protected]> wrote:
This is know bug from oracle.
XAResource.recover repeatedly returns the same set of in-doubt
Xids irrespective of the input flag. According to the XA spec, the
Transaction Manager should initially call XAResource.recover with
TMSTARTRSCAN and then call XAResource.recover with
TMNOFLAGS repeatedly until no Xids are returned. This Oracle
bug could lead to infinite recursion and subsequent running out
of Oracle cursors with error "ORA-01000: maximum open cursors
exceeded."
What version of weblogic are you using? What is value for max cursors
in init.ora file
in your dbserver?
Resets the named database ConnectionPool by shutting down and
reestablishing all the allocated connections. This method should
only be called when the connection pool is known to be in a bad
state, for example when the database has been restarted.
By using Reset you are cleaning all bad connections and associated
cursors
with it. That
is why it resolves ora-1000 for you.
Mitesh
Roberto Hernandez wrote:
Hi I have this ERROR :
ORA-01000: maximum open cursors exceeded
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at line 1
and all the connections show this error, I run the weblogic.Admin
RESET_POOL
utility
and the problem are fixed !!
Why show this error ?
why with RESET_POOL utility resolve the problem ?
the Oracle Version is Oracle 8.1.7.0 32bits on Solaris 8 -
While running the following PL/SQL generated by OWB/OLAP bridge using OWB 9.0.4, I get the PL/SQL program error
PL/SQL:
begin
dbms_awm.create_awcube (USER, 'BIBDEMO_STKPRICE_CUBE', USER, 'BIBDEMO_AW', 'AW_BIBDEMO_STKPRICE_CUBE');
begin
dbms_awm.create_awcubeload_spec ('BIBDEMO_STKPRICE_CUBE', USER, 'BIBDEMO_STKPRICE_CUBE', 'LOAD_DATA');
exception when others then null;
end;
dbms_awm.refresh_awcube (USER, 'BIBDEMO_AW', 'AW_BIBDEMO_STKPRICE_CUBE', 'BIBDEMO_STKPRICE_CUBE');
exception when others then cwm_utility.dump_error(); raise program_error;
end;
ERROR:
ERROR at line 1:
ORA-06501: PL/SQL: program error
ORA-06512: at line 4
ORA-06510: PL/SQL: unhandled user-defined exception
fyi: I am using Oracle9i with 9.2.0.3 patch
The DBMS_AW statement to create/populate the dimesntions works fine
Here is the PL/SQL for the dimensions
begin
dbms_awm.create_awdimension (USER, 'STOCK', USER, 'BIBDEMO_AW', 'AW_STOCK');
begin
dbms_awm.create_awdimload_spec ('STOCK', USER, 'STOCK', 'FULL_LOAD');
exception when others then null;
end;
dbms_awm.refresh_awdimension (USER, 'BIBDEMO_AW', 'AW_STOCK', 'STOCK');
dbms_awm.create_awdimension (USER, 'DAY', USER, 'BIBDEMO_AW', 'AW_DAY');
begin
dbms_awm.create_awdimload_spec ('DAY', USER, 'DAY', 'FULL_LOAD');
exception when others then null;
end;
dbms_awm.refresh_awdimension (USER, 'BIBDEMO_AW', 'AW_DAY', 'DAY');
dbms_awm.create_awdimension (USER, 'STKMEAS', USER, 'BIBDEMO_AW', 'AW_STKMEAS');
begin
dbms_awm.create_awdimload_spec ('STKMEAS', USER, 'STKMEAS', 'FULL_LOAD');
exception when others then null;
end;
dbms_awm.refresh_awdimension (USER, 'BIBDEMO_AW', 'AW_STKMEAS', 'STKMEAS');
exception when others then cwm_utility.dump_error(); raise program_error;
end;
I am just trying the recreate the BIBDEMO_STKPRICE_CUBE in analytical workspace. Would be helpful if someone could send me the complete PL/SQL for creating the analytical workspace and views for this cube using DBMS_AW package.
Thanks
PanneerPanneer,
Unfortunately you will need a patch on top of database version 9.2.0.3 in order to make this functionality work. This patch has not been released yet, but is currently in QA. We are hoping that the patch will be available in June. Stay tuned...
Thanks,
Mark. -
Setproperties on new ORDDOC gives ORA-6512?
Hello,
I am attempting to convert the CLOBs in an existing table into ORDDOCs in a new table.
I seemed to be almost there. I allocated a new ORDDOC using INIT(), and used writeToSource() on the doc pointer to transfer the text (which I first converted to RAW). The application that accepts this now lists the new document, and displays the text contents.
I now need to set the size (and MIME type, even though the app seems to understand that it's a text document). I called setproperties after writeToSource, and get a set of ORA-6510/ORA-6512 errors. (Included below)
I'd really appreciate any advice!
Thanx and regards,
Arn.
DEV1> l
1 DECLARE
2
3 srcRec arn5%ROWTYPE;
4 doc ORDSYS.ORDDOC;
5 ctx RAW(4000) :=NULL;
6 userArg RAW(4000);
7 len INTEGER;
8 comtxt VARCHAR2(32767);
9 comraw RAW(32767);
10 res integer;
11 doc2 ORDSYS.ORDDOC;
12
13 BEGIN
14
15 DELETE FROM assessment_document
16 WHERE DOC_NO = 0;
17
18 DELETE FROM media_document
19 WHERE DOC_NO = 0;
20
21 INSERT INTO assessment_document VALUES( 1, 0 );
22
23 INSERT INTO media_document VALUES(
24 0, 'comment3.txt', 758197915, SYSDATE, 758197915, SYSDATE,
25 ORDSYS.ORDDOC.INIT()
26 ) RETURNING DOC_OBJ INTO doc;
27
28 SELECT *
29 INTO srcRec
30 FROM arn5
31 WHERE a=0;
32
33 len := LENGTH( srcRec.b );
34 --res:= doc.openSource(userArg, ctx);
35
36 comtxt := dbms_lob.substr(srcRec.b);
37 doc.writeToSource(ctx, 1, len, utl_raw.cast_to_raw(comtxt));
38 doc.setProperties(ctx,true);
39
40 COMMIT;
41* END;
DEV1> /
DECLARE
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "ORDSYS.ORDDOC", line 337
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at line 38Lawrence, thanx for your prompt reply.
I'll try restating my requirements and problems, and hopefully that will help.
We have an existing table containing text comments in CLOBs. I need to convert the contents of each CLOB into a separate new ORDDOC object in a new table. After this, I will also create a JSP screen that will allow new comments to be submitted, which will also be saved in the DB as ORDDOC objects.
The script I provided was my attempt at the conversion, using doc.writeToSource(). My first question is, is this the right way to go about converting CLOBs to ORDDOCs?
I have a screen that lists documents in the DB. This list includes the document size, which I determine using getContentLength(). For "real" documents - that is, sourced from external files and uploaded using the browser, such metadata is automatically captured. For my new document that is sourced from the CLOB, this information (content length, MIME type) is not automatically captured. I therefore need to set it somehow. I attempted to use setproperties, as althought setMimeType works, there is no setContentLength function.
After your reply, we looked into writing our own plugin, but could not glean from the documentation how to go about this - eg, where and how content length is set.
I hope you can provide further advice on this problem.
Thanx again, and regards,
Arn. -
ORA-06512: na "PORTAL30.WWSEC_OID",
Hi,
In Windows 2000 when I try run the ptlasst.bat for syncronize the MIDTIER and the OID I receive the following errors in logs:
INSTALL_ERROR: Exception while getting User base count: ORA-06510: PL/SQL:
ORA-06512: na "PORTAL30.WWSEC_OID", line 957
ORA-06512: na "PORTAL30.WWSEC_OID", line 1124
ORA-06512: na "PORTAL30.WWSEC_OID", line 8804
Can anyone help me?
Thanks,
CarlosCezar,
This question is best suited to the Oracle9iAS SSO and Portal Security forum.
Thanks
Maybe you are looking for
-
Error in executing a process for compilation for jsp
We have an iView which has jsp pages in it. We deployed the par & try toaccess the iview & we get an exception. The issue is that the iview has a jsp page. At the run time, this jsp is converted into a .java file without problem. But EP engine is hav
-
Hello, referred to the Adobe Toolscript PDF I tried to add an scrollbar to my dialog. I dont clearly understand how this works. In my snippet the scroll is added to the dialog but I cant manage to add content to it. Hopefully someone here can help me
-
Weird Preview, Help!!!
I accidently hit a button and now its in this werid preview where only the image is lit up. Its really annoying and I need to know what button to push to get it back. Thank you!!
-
HTTP 401 Authorization error in DMS KPro implementation
Experts, We had setup the DMS KPro with Http Content Server. Getting error '401' HTTP Authorization. Please suggest on action to be taken - We are stuck up. CSADMIN - not allowing even if 'Everyone' authorization given in the OS. Any suggestions? Tha
-
Hello there, Everytime I restart my pc wifi-menu just doesn't work I also tried 1.netctl-auto profile, 2.wpa_supplicant, 3.wicd, 4.NetworkManager but nothing works... Then after hours of strug