Action Required: Error in Workflow , ORA-20002: [WFMLR_DOCUMENT_ERROR]'
Hi,
While executing custom workflow on oracle EBS version : R 12.0.6
i am getting the error like
An Error occurred in the following Workflow.
Item Type = ATLCUSMS
Item Key = ATLCUSMS-795
User Key =USERKEY: 525
Error Name = WF_ERROR
Error Message = [WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: [WFMLR_DOCUMENT_ERROR]' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK=
ATL_CUST_MASTER_APPROVAL.CUST_NOTIF_ATTACH_PROCEDURE(, text/html)
Wf_Notification.GetAttrblob(6134628, ATUL_CUST_ATTACHMENT, text/html)
WF_XML.GetAttachment(6134628, text/html)
WF_XML.GetAttachments(6134628, http://apps.atul.co.in:8024/pls/clonedb, 10602)
WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 6134628)
WF_XML.Generate(oracle.apps.wf.notification.send, 6134628)
WF_XML.Generate(oracle.apps.wf.notification.send, 6134628)
Wf_Event.setMessage(oracle.apps.wf.notification.send, 6134628, WF_XML.Generate)
Wf_Event.dispatch_internal()
Error Stack =
Activity Id = 267938
Activity Label = ATLCUSMSPR:ATL_CUST_SALESPER_NT
Result Code = #MAIL
Notification Id = 6134628
Assigned User = KANTILAL_LPRAJAPATI
Please help if anybody got the answer.
Regards,
Vijay
Hi Vijay;
Please see:
Error "Wfe_dispatch_gen_err" When Attaching Blob Document To A Notification [ID 885474.1]
Purchase Order Workflow Errors With ERROR_MESSAGE=3835 ORA-20002: [WFMLR_DOCUMENT_ERROR]' PDF_ATTACHMENT_SUPP When Trying to Email PO Document [ID 1069009.1]
Unable to Get the PO as Attachment When PO Communicate Option is Used - System Failed to Generate the PDF Document. Error message 3835 at EMAIL_PO_PDF_SUPP [ID 1056167.1]
Regard
Helios
Similar Messages
-
Failed Activity
Notify Requester of Confirm Receipt SSP5 - initial notice
Activity Type
Notice
Error Name
WF_ERROR
Error Message
[WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: 2018: Unable to generate the notification XML. Caused by: 2020: Error when getting notification content. Caused by: sqlerrm wf_notification.GetAttrDoc2(452560, PO_RCV_NOTIF_MSG, text/html) Wf_Notification.GetAttrDoc(452560, PO_RCV_NOTIF_MSG, text/html) Wf_Notification.GetText(452560, text/html) Wf_Notification.GetBody(452560, text/html) WF_NOTIFICATION.GetFullBody(nid => 452560, disptype => text/html) WF_MAIL.GetLOBMessage3(nid => 452560, r_ntf_pref => MAILHTML)' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK= WF_MAIL.GetLOBMessage3(452560, WFMAIL, 2020: Error when getting notification content. Caused by: sqlerrm wf_notification.GetAttrDoc2(452560, PO_RCV_NOTIF_MSG, text/html) Wf_Notification.GetAttrDoc(452560, PO_RCV_NOTIF_MSG, text/html) Wf_Notification.GetText(452560, text/html) Wf_Notification.GetBody(452560, text/html) WF_NOTIFICATION.GetFullBody(nid => 452560, disptype => text/html) WF_MAIL.GetLOBMessage3(nid => 452560, r_ntf_pref => MAILHTML), Step -> Getting text/html body) WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 452560) WF_XML.Generate(oracle.apps.wf.notification.send, 452560) WF_XML.Generate(oracle.apps.wf.notification.send, 452560) Wf_Event.setMessage(oracle.apps.wf.notification.send, 452560, WF_XML.Generate) Wf_Event.dispatch_internal()
Error StackHi Klaus,
I just pick the gateway 11.2.0.3 patch to the installation. Here I got error and patch installation failed.
[oracle@sjcgnm62v2db1 13092292]$ opatch apply
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /home/oracle/11g/product/11
Central Inventory : /home/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location : /home/oracle/11g/product/11/cfgtoollogs/opatch/opatch2013-11-26_12-41-27PM.log
Applying interim patch '13092292' to OH '/home/oracle/11g/product/11'
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckApplicable" failed.
The details are:
Patch 13092292: Required component(s) missing : [ oracle.rdbms.tg4db2, 11.2.0.3.0 ]
[ Error during Prerequisite for apply Phase]. Detail: ApplySession failed during prerequisite checks: Prerequisite check "CheckApplicable" failed.
Log file location: /home/oracle/11g/product/11/cfgtoollogs/opatch/opatch2013-11-26_12-41-27PM.log
Recommended actions: This patch requires some components to be installed in the home. Either the Oracle Home doesn't have the components or this patch is not suitable for this Oracle Home.
OPatch failed with error code 39
[oracle@sjcgnm62v2db1 13092292]$
Pl help. -
Getting ORA-20002: 3825: Error '-4061-ORA-04061: Error from business event
Hi,
I have defined custom subscription to the iRecruitment business event oracle.apps.per.api.assignment.update_apl_asg . In this custom subscription i am launching a custom workflow to send Notification about offer acceptance or Application Submission information.
The subscription package is in my custom schema. When i do transaction to invoke the subscription i am getting below error.
ORA-20002: 3825: Error '-4061 - ORA-04061: existing state of has been invalidated ORA-04061: existing state of package
"XXPJ.XXPJ_IREC_EXT_COMPONENTS_PK" has been invalidated ORA-04065: not executed, altered or dropped package "XXPJ.PT in Package irc_party_swi Procedure
registered_user_application.
I need to bounce the Workflow services and Apache server to clear this error and functionality work for some time, again after doing 3-4 transaction i get the same error.
Any help on this appreciated.
Regards,
RamFrom error: "existing state of has been invalidated ORA-04061" It only can happen when current db session finds this package as INVALID. Now when which cases it can find ir INVALID:
1) One case is that: some other db session "really" compiled your current package. Please note: even if the status is VALID but other db session will see that as INVALID in first attempt and in second attempt, current db session will try to recompile that on-the-fly.
2) Or Some other db session compiled or altered dependent objects, I mean objects on which your current package is dependent on. -
ORA-20002: 501 Bad syntax error
Hi,
I intend to send a simple smtp mail using the builtin UTL_SMTP package.
But i get the following error:-
ORA-20002: 501 Bad syntax error
Here is my code:-
CREATE OR REPLACE PROCEDURE mail
IS
BEGIN
DECLARE
v_connection UTL_SMTP.CONNECTION;
BEGIN v_connection := UTL_SMTP.OPEN_CONNECTION(<my host here>,25);
dbms_output.put_line('Connection Opened');
UTL_SMTP.HELO(v_connection,<my host here>);
dbms_output.put_line('After calling helo');
UTL_SMTP.MAIL(v_connection,'[email protected]');
dbms_output.put_line('Sender set');
UTL_SMTP.RCPT(v_connection,'[email protected]');
dbms_output.put_line('Recipient Set');
UTL_SMTP.DATA(v_connection,'Sent From PL/SQL');
dbms_output.put_line('Message body set');
UTL_SMTP.QUIT(v_connection);
dbms_output.put_line('Connection Closed');
end;
END;
Here is the output:-
SQL> exec mail
Connection Opened
After calling helo
BEGIN mail; END;
ERROR at line 1:
ORA-20002: 501 Bad address syntax
ORA-06512: at "SYS.UTL_SMTP", line 86
ORA-06512: at "SYS.UTL_SMTP", line 204
ORA-06512: at "ADMIN.MAIL", line 13
ORA-06512: at line 1
I tried sending mails to my smtp server via java mailing API and i am
successful. So i am wondering wat i am doing wrong up there in Oracle.
I have JServer enabled, i also ran the initplsj.sql successfully.
Please help.
Regards,
Leo.Hi APC,
Yep HELO returns 250. Here is the code i use followed by the output. I use valid e-mail addresses(changed them here cz they belong to real ppl :) ). Again, i am able to send mails via java mailing API's, to the same recipietn from same sender via same smtp server.
Code :------
CREATE OR REPLACE PROCEDURE mail
IS
v_connection UTL_SMTP.CONNECTION;
value UTL_SMTP.reply;
PROCEDURE send_header(name IN VARCHAR2, header IN VARCHAR2) AS
BEGIN
UTL_SMTP.write_data(v_connection, name || ': ' || header || utl_tcp.CRLF);
END;
BEGIN
v_connection := UTL_SMTP.OPEN_CONNECTION('smtp.server',25);
dbms_output.put_line('Connection Opened');
dbms_output.put_line('before calling helo');
value := UTL_SMTP.HELO(v_connection,'smtp.server');
dbms_output.put_line('after calling helo');
dbms_output.put_line('code ' || value.code);
dbms_output.put_line('before Sender is set');
value := UTL_SMTP.MAIL(v_connection,'[email protected]');
dbms_output.put_line('code ' || value.code);
dbms_output.put_line('text ' || value.text);
UTL_SMTP.RCPT(v_connection,'[email protected]');
dbms_output.put_line('Recipient Set');
UTL_SMTP.open_data(v_connection);
send_header('From','"Sender" <[email protected]>');
send_header('To','"Recipient" <[email protected]>');
send_header('Subject','Hello');
UTL_SMTP.write_data(v_connection, UTL_TCP.CRLF || 'Hello, world!');
UTL_SMTP.close_data(v_connection);
dbms_output.put_line('Message body set');
UTL_SMTP.QUIT(v_connection);
dbms_output.put_line('Connection Closed');
END;
Output:--------
Connection Opened
before calling helo
after calling helo
code 250
before Sender is set
code 501
text Bad address syntax
Looking forward to hearing from youself. :)
Reagrds,
Leo. -
ORA-20002: [WF_NO_USER] Error
Hi,
When i am trying to terminate the UMX roles. I am getting the below error,
ORA-20002: [WF_NO_USER] NAME=HASD ORIG_SYSTEM=NULL ORIG_SYSTEM_ID=NULL
Please suggest what needs to be done for this.
Regards,
Mohan AHi,
ORA-12541: TNS:no listener
Many reason but first thing need to check is "Is your listener is up and running on the server"
lsnrctl statusregards,
Taj -
I am using numbers as a CRM and one of my columns is called 'Next Action Required' i.e
Next Action Required
Email Douglas on the 02-12-14 about information needed for tour
Call Thomas 0446 393 about booking trip
Thank you in anticipation
DougUtterly bizarre. I can't see your two follow-up posts when I'm logged in. However...
Things would be simple if Apple implemented Data Detectors for dates in Numbers, as they have in applications like TextEdit and Script Editor. Then you’d have a system-level means of quickly moving from a selected date in your CRM spreadsheet to Calendar.
Until that happy day arrives, though, we can approximate it with AppleScript and Automator.
First, make sure your Numbers table is called CRM and your column has the header Next action required. (You can change these if you want but you’ll also have to modify the script.) This is the basic setup:
Then, launch Automator and create a new workflow. From the Choose a type… dialog, specify Service.
At the top of the workflow, “Services receives selected…” should be set to text in Numbers.app. (You'll need to choose Other... from the pop-up and then navigate to Numbers.)
In the Library menu at the left, click on Utilities, then drag a Run AppleScript action into the main Automator pane. Delete all the boilerplate text from the script.
It should look like this:
Now copy and paste the script below into the Run AppleScript action.
on run {date_string}
tell application "Numbers"
tell document 1
tell active sheet
try
set crm_table to (item 1 of (every table whose name is "CRM"))
on error
display dialog "No CRM table in this sheet"
return
end try
tell crm_table
try
set the_selection to selection range
set the_row to row 1 of the_selection
on error
display dialog "Select some text in a cell"
return
end try
set the_col to item 1 of (column of the_selection)
set header_cell to cell 1 of the_col
if value of header_cell is "Next action required" then my run_calendar(date_string)
end tell
end tell
end tell
end tell
end run
on run_calendar(date_string)
try
set date_string to date_string as string
set real_date to date (date_string)
on error
set real_date to (current date)
end try
tell application "Calendar"
activate
switch view to day view
try
view calendar at real_date
on error the_err
display dialog the_err
end try
end tell
end run_calendar
Click the little hammer at the top to make sure that the script compiles (indents and colours in). If it doesn’t, you may need to sort out some line breaks in the copied and pasted script.
Now save the workflow as Go to date in Calendar. Quit Automator.
So what does the script do? Basically, it looks at the selected text in a Numbers cell and checks to see that the table name is “CRM” and the column header is “Next Action Required”. It then tries to convert the selected text into a valid date. If it can, it takes you to that date in Calendar. If it can’t, it takes you to today’s date. In both cases it switches Calendar to day view. You have to bear in mind that if you select all of “10/10/14 Call John re contract” it won’t understand that part of this is a date, and won’t go to October 10. You'd have to select just "10/10/14"
To run the Service, right-click or control-click on the selected text and go down to Services, then choose Go to date in Calendar:
Alternatively, run it from Services in the main Numbers menu.
You can set up a keyboard shortcut for any Service in System Preferences - Keyboard - Shortcuts. Post back if you need more info about this.
Tested with Numbers 3.5 (2109). This will not work with Numbers '09.
Hope this works for you, let us know how you get on.
H -
Exp 报EXP-00008: ORACLE error 904 encountered;ORA-00904错误
环境:RAC11gR2+Redhat6.1
[oracle@bppfedb1 mouse]$ exp BPPF_EAS/ApNCNOZqGx BUFFER=64000 FILE='/home/oracle/mouse/exp_bppf_tvs20121126.DMP' log='/home/oracle/mouse/exp_bppf_tvs20121126.log' OWNER=BPPF_EAS
Export: Release 11.2.0.3.0 - Production on Tue Nov 27 00:12:16 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
OLAP, Data Mining,
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses ZHS16GBK character set (possible charset conversion)
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user BPPF_EAS
. exporting PUBLIC type synonyms
EXP-00008: ORACLE error 904 encountered
ORA-00904: : invalid identifier
EXP-00000: Export terminated unsuccessfully
使用
expdp BPPF_EAS/ApNCNOZqGx directory=DATA_PUMP_DIR dumpfile=exp_bppf_tvs20121126.dmp schemas=BPPF_EAS logfile=exp_bppf_tvs20121126.log
换用expdp可以成功
尝试了几台服务器都遇到这个问题,暂时没有找到问题的原因问题已解决:
ORACLE error 904 问题是因为回收了public 的dbms_java执行权限,重新授予解决。
trace=y需要的权限问题: 应该需要grant dba to xxx; 单exp_full_database好像不行,下面是测试的情况
when the Data Pump TRACE parameter is used in Oracle10g Release 2 or higher, then the user who connects to the database and runs the export DataPump job needs to have the DBA role or the EXP_FULL_DATABASE role (the same applies to Import DataPump with TRACE parameter: DBA or IMP_FULL_DATABASE role required), e.g.:
GRANT exp_full_database TO scott;
-- or:
GRANT dba TO expdp_role;
测试:
oracle@linux:~/mouse> sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 5 07:23:00 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected.
SQL> drop user mouse cascade;
User dropped.
SQL> create user mouse identified by mouse_2012
2 default tablespace users
3 temporary tablespace temp
4 quota unlimited on users ;
grant connect to mouse;
grant resource to mouse;
grant select any table to mouse;
grant select any dictionary to mouse;
grant exp_full_database to mouse;
User created.
SQL>
Grant succeeded.
SQL>
Grant succeeded.
SQL>
Grant succeeded.
SQL>
Grant succeeded.
SQL>
Grant succeeded.
SQL>
SQL>
SQL> conn mouse/mouse_2012
create table test as select * from dba_users;Connected.
SQL>
Table created.
SQL> !
oracle@linux:~/mouse> exp mouse/mouse_2012 tables=test file=test.dmp feedback=100000 buffer=10000000 indexes=y triggers=y trace=y;
Export: Release 11.2.0.1.0 - Production on Wed Dec 5 07:24:35 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
EXP-00056: ORACLE error 1031 encountered
ORA-01031: insufficient privileges
EXP-00000: Export terminated unsuccessfully
oracle@linux:~/mouse> exit
exit
SQL> conn /as sysdba
Connected.
SQL> grant dba to mouse;
Grant succeeded.
SQL> !
oracle@linux:~/mouse> exp mouse/mouse_2012 tables=test file=test.dmp feedback=100000 buffer=10000000 indexes=y triggers=y trace=y;
Export: Release 11.2.0.1.0 - Production on Wed Dec 5 07:24:50 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses ZHS16GBK character set (possible charset conversion)
About to export specified tables via Conventional Path ...
. . exporting table TEST
33 rows exported
Export terminated successfully without warnings
继续跟踪 -
Hi Team,
I am running one conc programme.
After running I am getting below error. I checked the issue on metalink and other, seems that it is an size related issue. I have increased the size of formula columns and placeholdder too.
But still getting issue.
My requirement is to get comma seperated values using SQL query itself. Neither i wanted to create layout of the report , since it is a XML publisher report and nor I am including it on RTF template.
I want the CF_10 formula column to be populated with comma seperated values.
MSG-00187: From Date 01-Sep-2014
REP-1401: 'cf_10formula': Fatal PL/SQL error occurred.
ORA-06502: PL/SQL: numeric or value error
And Here is my code for CF_10
function CF_10Formula return Number is
begin
SELECT NVL(TO_CHAR(sum(Amount),'99,99,99,999'),0) into :CP_5 --NVL(ROUND(sum(Amount)),0) into :CP_5
-- xxhw_Coll_cat(category) "Intercat Catg"
FROM hhxw_Region_col_v
WHERE Category IN ('Intercompany - CATV')
AND trunc(gl_date) BETWEEN TO_DATE(:P_FROM_DATE, 'DD/MM/RRRR') AND TO_DATE(:P_TO_DATE, 'DD/MM/RRRR');
RETURN ROUND(:CP_5);
end;
Anyone please suggest me.
Regards,
SachinHi,
1)Why are you selecting the value into a report item? Select into a local variable and return that
RETURN :CP_5 --> This one!!
2)And you should avoid applying functions to DB columns in where clauses wherever possible, so oracle can use indexes on them if applicable:
AND gl_date >= To_date(:P_FROM_DATE, 'DD/MM/RRRR')
AND gl_date < To_date( :P_TO_DATE, 'DD/MM/RRRR') + 1;
I think you are taking 2 column in the Layout CF_10 and CP_5 right? if so, then use below Query.
FUNCTION cf_10formula
RETURN NUMBER
IS
v_amount NUMBER:null;
IS
BEGIN
BEGIN
SELECT nvl(round(SUM(amount)), 0)
INTO v_amount --> Retruns the value for CF_10 column
FROM hhxw_region_col_v
WHERE category IN ( 'Intercompany - CATV' )
AND gl_date >= to_date(:P_FROM_DATE, 'DD/MM/RRRR')
AND gl_date < to_date( :P_TO_DATE, 'DD/MM/RRRR') + 1;
:CP_5 := nvl(trunc(v_amount),0); --> Retruns the value for CP_5 column
EXCEPTION
WHEN OTHERS THEN
v_amount := 0;
srw.message(1003,'Error in Getting :' ||p_from_date);
END;
END;
And
If you've got a number function returning into a number field then all you should need to do to make the comma appear is to change the number format mask in field.
From 40000 to 40,000 -
Hi All,
I am trying to run a report containing the images stored in blob column in database 10g, while running the report I got following error ..
ORA-24801: illegal parameter value in OCI lob function
Cause: One of the parameter values in the OCI lob function is illegal.
Action: Check every parameter in the OCI Lob function call to make sure they are correct. Offsets should be greater than or equal to one.
I didn't understand with this the cause and the solution of error....Any body could please tell what exactly it means and what we should do.
Any help will be highly appriciated.
Best RegardsHi Don,
The reason why i posted the item on 'data Connectivity issues' is because i suspect the problem is with the connection string.Though i had provided the correct connection string,re-writing the connection string with the same info might help to fix the issue with loading the report.
Does it mean that there is a problem in the connectivity?
I have a risk here that i cant re-write the connection string..i.e to open the RPT file in VS2005 and bind it.The production web server & database server sits in a third party environment and it is not in the company network.So i cant connect to this server to re-write from any other severs in the network.
Is there any fix which can applied to the server to get this issue resolved?
Cheers
Nithya. -
Hi,
I am getting the following error :
SQL> select MinDistance(TT) from egg1;
select MinDistance(TT) from egg1
ERROR at line 1:
ORA-06521: PL/SQL: Error mapping function
ORA-06522: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/custagg.so:
undefined symbol: ODCIAggregateInitialize
I am compiling my C program with OCI using the following command :
g++ -Wall -c custagg.c -o custagg.o -I$ORACLE_HOME/rdbms/public -I/usr/lib
I am linking to get a shared library custagg.so file with following command :
ld -shared -o custagg.so custagg.o $ORACLE_HOME/lib/l*.so ../../usr/lib/libstdc++.s*
I am not getting any errors during these two phases.
And when i am calling the extproc custagg(Mindistance) which i implemented using ODCI(oracle data catridge interface) ...I am getting the error undefined symbol : ODCIAggregateInitialize
So can any one please let me know what shared libraries are required to access the ODCI services and also am I compiling and linking it the right way or am I missing any libraries.
I have the oci.h & odci.h and several other header files in my :
$ORACLE_HOME/rdbms/public
And while linking i am using : $ORACLE_HOME/lib/*.so files.
So I don't know whether my directory is missing some shared files related to ODCI : can any one please let me know which files or shared libraries I am missing :
Below are list of files in my : $ORACLE_HOME/lib :
custagg123.o libclntsh.so libdbcfg10.so libjox10.so libocci.so.10.1 liborasdkbase.so libskgxpd.so libunwind.so.5
custagg.so libclntsh.so.10.1 libemmas10.so libldapjclnt10.so libocijdbc10.so liborasdkbase.so.10.2 libskgxpu.so libxdb.so
facility.lis libclsra10.so libhasgen10.so libnjni10.so libocr10.so liborasdk.so libsqlplus.so shell.so
hsdb_odbc.so libcorejava.so libheteroxa10.so libnjssl10.so libocrb10.so liborasdk.so.10.2 libsqora.so.10.1 sysliblist
hsdb_ora.so libcoresh10.so libhsbase.so libnnz10.so libocrutl10.so libqsmashr.so libsrvm10.so
lclasses12.zip libcprts.so.5 libhsnav.so libnque10.so libodm10.so libskgxn2.so libsrvmhas10.so
libagtsh.so libcxa.so.3 libimf.so libntcpaio10.so libodmd10.so libskgxns.so libsrvmocr10.so
libagtsh.so.1.0 libcxa.so.5 libirc.a libocci.so libons.so libskgxp10.so libuini10.so
Please reply to my queries.
Please let me know if you want to have a look at the symbols of my object file
Thanks & Regards,
-NNYour issue may relate to XE and it may relate to OCI but it does not relate to SQL and PL/SQL. Consider posting your question in a forum where it will be on topic.
When you do include full version information (3 decimal places) and the code that is generating the exception. -
Hi,
I am getting the following error :
SQL> select MinDistance(TT) from egg1;
select MinDistance(TT) from egg1
ERROR at line 1:
ORA-06521: PL/SQL: Error mapping function
ORA-06522: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/custagg.so:
undefined symbol: ODCIAggregateInitialize
I am compiling my C program with OCI using the following command :
g++ -Wall -c custagg.c -o custagg.o -I$ORACLE_HOME/rdbms/public -I/usr/lib
I am linking to get a shared library custagg.so file with following command :
ld -shared -o custagg.so custagg.o $ORACLE_HOME/lib/l*.so ../../usr/lib/libstdc++.s*
I am not getting any errors during these two phases.
And when i am calling the extproc custagg(Mindistance) which i implemented using ODCI(oracle data catridge interface) ...I am getting the error undefined symbol : ODCIAggregateInitialize
So can any one please let me know what shared libraries are required to access the ODCI services and also am I compiling and linking it the right way or am I missing any libraries.
I have the oci.h & odci.h and several other header files in my :
$ORACLE_HOME/rdbms/public
And while linking i am using : $ORACLE_HOME/lib/*.so files.
So I don't know whether my directory is missing some shared files related to ODCI : can any one please let me know which files or shared libraries I am missing :
Below are list of files in my : $ORACLE_HOME/lib :
custagg123.o libclntsh.so libdbcfg10.so libjox10.so libocci.so.10.1 liborasdkbase.so libskgxpd.so libunwind.so.5
custagg.so libclntsh.so.10.1 libemmas10.so libldapjclnt10.so libocijdbc10.so liborasdkbase.so.10.2 libskgxpu.so libxdb.so
facility.lis libclsra10.so libhasgen10.so libnjni10.so libocr10.so liborasdk.so libsqlplus.so shell.so
hsdb_odbc.so libcorejava.so libheteroxa10.so libnjssl10.so libocrb10.so liborasdk.so.10.2 libsqora.so.10.1 sysliblist
hsdb_ora.so libcoresh10.so libhsbase.so libnnz10.so libocrutl10.so libqsmashr.so libsrvm10.so
lclasses12.zip libcprts.so.5 libhsnav.so libnque10.so libodm10.so libskgxn2.so libsrvmhas10.so
libagtsh.so libcxa.so.3 libimf.so libntcpaio10.so libodmd10.so libskgxns.so libsrvmocr10.so
libagtsh.so.1.0 libcxa.so.5 libirc.a libocci.so libons.so libskgxp10.so libuini10.so
Please reply to my queries.
Please let me know if you want to have a look at the symbols of my object file
Thanks & Regards,
-NNIt's only a quick guess but have you checked your tnsnames.ora file to ensure you've opened the environment to find the libraries? If you set the EXTPROC_DLLS=ANY, you open the database to security issues but it should tell you if this cause because you can't access the library that contains the symbol.
SID_LIST_CALLOUT_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = <oracle_home_directory>)
(PROGRAM = extproc)
(ENV = "EXTPROC_DLLS=ONLY:
<oracle_home_directory>/customlib/writestr1.so
,LD_LIBRARY_PATH=<oracle_home_directory>/lib")
) -
EXP-00056: ORACLE error 4021 encountered ORA-04021: timeout occurred while
hi all oracle gurus ,
i have this problem which i am facing its like this.i have a batch file that runs export every night one week back it was all okay .few days back when i looked the log files it gives me this error ---EXP-00056: ORACLE error 4021 encountered
ORA-04021: timeout occurred while waiting to lock object
what should i do this is a production database runing in windows platform and there is no backup pls help me .....
export log file -------
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user PILOT
. exporting foreign function library names for user FINANCE
. exporting foreign function library names for user MBCNEWS
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user PILOT
. exporting object type definitions for user FINANCE
. exporting object type definitions for user MBCNEWS
About to export PILOT's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
EXP-00056: ORACLE error 4021 encountered
ORA-04021: timeout occurred while waiting to lock object
ORA-06512: at "SYS.DBMS_METADATA", line 1511
ORA-06512: at "SYS.DBMS_METADATA", line 1548
ORA-06512: at "SYS.DBMS_METADATA", line 1864
ORA-06512: at "SYS.DBMS_METADATA", line 3707
ORA-06512: at "SYS.DBMS_METADATA", line 3689
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
robyavthis is a production database runing in windows platform and there is no backup
what should iWell first of all you should stop using EXP for backups, it's quite unsuitable, and start using RMAN instead. Find out more.
If you have a Metalink account you shoudl read Note:298968.1. But teh headline is there is a bug in 10gR1 which is fixed in 10gR2. This may not help you much. The workaround is to try running the export again later, which may not be any more helpful.
Cheers, APC -
Error FRM-40735, ORA-04062 While Making Payments
Hi, while making payments it raised following errors:
FRM-40735:POST-FORMS-COMMIT trigger raised unhandeled exception ORA-04062these are steps in navigation:
invoice >> action 1...pay in full>>>payment method (bill payables)
does anyone know how to overcome this error ??
thxWas this working before? If yes, any changes been done recently?
Do you have any invalid objects in the database?
Please see these docs.
Receipts Workbench Error: Listing of ORA Errors [ID 1364345.1]
Receipts Workbench Error: Listing of FRM Errors [ID 1361887.1]
Thanks,
Hussein -
I am performing a cross platform migration aix to Linux from release 11.2.0.2 to 11.2.0.4. I am using this doc
Reduce Transportable Tablespace Downtime using Cross Platform Incremental Backup (Doc ID 1389592.1).
I am using the db_file_transer method and I have hit this error
Error:
/home/oracle/local/db_convert/dest_rman/xxttconv_i3q0t1ha_1_1_4.sql execution failed
ERROR IN CONVERSION ORA-19994: Message 19994 not found; product=RDBMS;
facility=ORA
ORA-19600: input file is backup piece
(/oraback/nfclpat1/i2q0t1ha_1_1)
ORA-19601: output file is backup piece
(/oraback/nfclpat1_tmp/xib_i2q0t1ha_1_1_5_28)
CONVERTED BACKUP PIECE/oraback/nfclpat1_tmp/xib_i2q0t1ha_1_1_5_28
PL/SQL procedure successfully completed.
I have searched and do not have anything to go on.
Can anyone who has seen this give me some direction?As per Oracle documentation on given error code, Please see if following action helps.
ORA-19994: cross-platform backup of compressed backups to different endianess is not supported
Cause: A cross-platform backup was requested for a compressed backup to a different endianess from the current platform.
Action: Do not specify a compressed backup or specify the same endian platform. -
Hello Friends,
I have developed a custom sequential workflow in SharePoint Server 2010 using VS 2010. My workflow gets activated and then creates a new task in the Tasks List.
But "Error Occurred" gets displayed in the Workflow column in the default view of my document library instead of "In Progress".
I debugged my code and there are no errors in it. But I found the below error in \14\LOGS\:
"SharePoint Foundation Workflow Infrastructure Error: 88xr Unexpected WinWF Internal Error,terminating workflow Id#03888be1-28c8-409d-bc65-7115bc17edfa"
I have set the properties correctly for the workflow activities in VS 2010.
Can anybody help me solve this error?
Thanks in advance...
Regards,Gautam Kaikini.I am having the same issue, here is some of the logging errors I am seeing. If anyone has any ideas I would be forever in your debt,
02/24/2011 11:32:47.52 w3wp.exe (0x0A14)
0x0F40
SharePoint Foundation Workflow Infrastructure
88xr Unexpected
WinWF Internal Error, terminating workflow Id# 4128e252-208e-4d6c-8772-12c51959038e
616e0e48-457e-4620-8191-dbe40c9af587
02/24/2011 11:32:47.52 w3wp.exe (0x0A14)
0x0F40
SharePoint Foundation Workflow Infrastructure
98d4 Unexpected
Microsoft.SharePoint.SPException: The specified user or domain group was not found. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated. at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection
sourceAccounts, Type targetType, Boolean forceSuccess) at System.Security.Principal.NTAccount.Translate(Type targetType) at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedSuffix)
--- End of inner exception stack trace --- at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedSuffix) at Microsoft.SharePoint.Utilities.SPUtility.GetFullUserKeyFromFullName(String
fullName) at Microsoft.SharePoint...
616e0e48-457e-4620-8191-dbe40c9af587
02/24/2011 11:32:47.52* w3wp.exe (0x0A14)
0x0F40
SharePoint Foundation Workflow Infrastructure
98d4 Unexpected
....SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous) at Microsoft.SharePoint.SPSite.GetSPRequest()
at Microsoft.SharePoint.SPSite.get_Request() at Microsoft.SharePoint.SPSite.OpenWeb(Guid gWebId, Int32 mondoHint) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForWorkflow(SPWorkflow wf, SPWorkflowUserContext
runAsUser) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.get_Web() at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForListItemService() at Microsoft.SharePoint.Workflow.SPWinOEWSSService.UpdateModerationStatus(Guid
id, Guid listId, SPItemKey itemKey, SPModerationStatusT...
616e0e48-457e-4620-8191-dbe40c9af587
02/24/2011 11:32:47.52* w3wp.exe (0x0A14)
0x0F40
SharePoint Foundation Workflow Infrastructure
98d4 Unexpected
...ype newModerationStatus, String comments) at Microsoft.Office.Workflow.Actions.SetTaskProcessItemModerationStatus.DoUpdate(ActivityExecutionContext context) at Microsoft.SharePoint.WorkflowActions.WaitForDocumentUnlockActivity.Execute(ActivityExecutionContext
executionContext) at Microsoft.Office.Workflow.Actions.SetTaskProcessItemModerationStatus.Execute(ActivityExecutionContext context) at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext
executionContext) at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Schedule...
616e0e48-457e-4620-8191-dbe40c9af587
02/24/2011 11:32:47.52* w3wp.exe (0x0A14)
0x0F40
SharePoint Foundation Workflow Infrastructure
98d4 Unexpected
...r.Run() 616e0e48-457e-4620-8191-dbe40c9af587
Thanks in advance!
Maybe you are looking for
-
Animation slides skip content in published flash
Dear helpers and experts, I may be new to Captivate, but have worked with all its predecessors... My simple demonstration consists of 6 slides: a text slide; an animation slide built from an avi file (123 sec); a text slide; an animation slide built
-
Add Row in table and copy the properties from previous row
Hello, i have a table with just one row (and 7 columns). The cells (columns) are all of different types, f.e. ring, numeric, string.....On runtime the user can add more rows to the table. I'm looking for a function to copy a row with all the cell pro
-
Problem in starting the websphere application server
After installation when i created the server and tried to start it, The server was in stopped state only. When i checked the logs LoggingUtil.log. The exception logged there was ======================= <String logging.util.agent_idref="com.ibm.etools
-
Dear Experrts, Please tell me in the pricing procedure,from where the value for TAXES ON PO(JEXS) in the PO is being picked up? Edited by: ARITRA MUKHERJEE on Jul 3, 2009 11:18 AM
-
It Won't Let Me Download The Full Game. It ask Me To Answer Questions Since It Was My First Time Buying A Game On My IPod But I Have Bought Games On It And I Don't Know The Answer To The Questions!