ORA-00119, ORA-00132, ORA-01078 problems in dbca -datafileDestination /u02
Hello,
I have gone through the entire 9i RAC procedure for Redhat AS 2.1 - i am now running dbca -datafileDestination /u02 as the last step - but i get these errors below, and if i ignore i get lots of ORACLE not available errors
ORA-00119: invalid specification for system parameter remote_listener
ORA-00132: syntax error or unresolved network name 'LISTENERS_ORCL'
ORA-01078: failure in processing system parameters
Any ideas?
Thanks,
B.
I have used Mr Puschitz's document.
the problem was solved by starting listeners called LISTENER_ORCL on both nodes
thanks for the response
B
Similar Messages
-
ORA-00119,ORA-00132 during duplicate target database for standby in 11gR2
I am running
duplicate target database for standby from active database
command from RMAN.
I went thru step-by-step on how to create a standby database from the textbook i got from my Oracle Univ. 11g Data Guard course. I set up all the listener.ora and tnsnames.ora files using netmgr, but I'm getting local_listener error.
Here's what I am running in rman:
run {
allocate channel prmy1 type disk;
allocate channel prmy2 type disk;
allocate channel prmy3 type disk;
allocate channel prmy4 type disk;
allocate auxiliary channel stby type disk;
duplicate target database for standby from active database
spfile
parameter_value_convert 'kyledb','kylerep'
set db_unique_name='kylerep'
set db_file_name_convert='/kyledb/','/kylerep/'
set log_file_name_convert='/kyledb/','/kylerep/'
set control_files='/oradata/kylerep/control01.ctl'
set log_archive_max_processes='4'
set fal_client='kylerep'
set fal_server='kyledb'
set standby_file_management='AUTO'
set log_archive_config='dg_config=(kyledb,kylerep)'
set log_archive_dest_1='service=kyledb ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=kyledb'
And here's the error i get:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/12/2010 17:33:28
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_KYLEDB'
result of
SQL>show parameter local_listener;
is
NAME TYPE VALUE
local_listener string LISTENER_KYLEDB
entry in my listener.ora is
SID_LIST_KYLEDB_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = kyledb.kyledev.usms.doj.gov)
(ORACLE_HOME = /app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = kyledb)
ADR_BASE_KYLEDB_LISTENER = /app/oracle
KYLEDB_LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = kyledev.usms.doj.gov)(PORT = 7898))
and entry in tnsnames.ora file is
KYLEREP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = kyledbdev.usms.doj.gov)(PORT = 7898))
(CONNECT_DATA =
(SERVICE_NAME = kylerep.kyledbdev.usms.doj.gov)
KYLEDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = kyledev.usms.doj.gov)(PORT = 7898))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = kyledb.kyledev.usms.doj.gov)
LISTENER_KYLEDB =
(ADDRESS = (PROTOCOL = TCP)(HOST = kyledev.usms.doj.gov)(PORT = 7898))
Can anyone help me figure out what went wrong?
Thanks in advance....I had the same problem,
I Define TNS_ADMIN environment on script an resolve my problem.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 10/08/2010 17:21:15
RMAN-04014: startup failed: ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_DESENV2'
In my shell increase the Environment:
## VARIAVEIS
export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db1
export PATH=$ORACLE_HOME/bin:$PATH
export TNS_ADMIN=/u01/app/oracle/product/10.2.0/asm1/network/admin
export ORACLE_SID=$1
## CHAMADA RMAN
rman target / log=/u02/backup/db$1/bkp_cold-$1.log cmdfile=/home/oracle/script/rman/cold_backup/cold_backup.rcv
After this:
RMAN> run{
2> shutdown immediate;
3> startup force mount;
4> backup database include current controlfile tag 'BKP_COLD_FULL';
5> alter database open;
6> delete obsolete;
7> }
8>
9>
using target database control file instead of recovery catalog
database closed
database dismounted
Oracle instance shut down
Oracle instance started
database mounted
Total System Global Area 1073741824 bytes
Fixed Size 2089400 bytes
Variable Size 264244808 bytes
Database Buffers 801112064 bytes
Redo Buffers 6295552 bytes
Hope this helps and sorry for my terrible English! =) -
Hi experts,
Till yesterday the database runs fine but today it throws error as,
#sqlplus sys/pass as sysdba
Connected to Idle instance.
sql>startup
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_ELA'
sql>
I cant bring it up,any type of suggestions are welcome.Following were the info
Listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = sumo)(PORT = 1522))
tnsnames.ora
ELA =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.10)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ELA)
LISTENER_ELA =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.10)(PORT = 1522))
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
/etc/hosts file
127.0.0.1 sumo localhost
sqlnet.ora
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
Thanx in advance,
Senthilchange host name to SUMO in TNS names.ora.
export $ORACLE_SID=<DB SID>CMD> tnsping <servicename>
Outout for above
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = sumo)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ELA))) LISTENER_ELA = (ADDRESS = (PROTOCOL = TCP)(HOST = sumo)(PORT = 1522))
TNS-12533: TNS:illegal ADDRESS parameters -
Get ora-00119 erro when using DBCA to create database?
Hi, friends:
when using DBCA to create database, after finishing all steps and let DBCA to create database automatically, bump into an error:
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132:syntax error or unresolved network name 'LISTENER_mysid'
ORA-01078: failure in processing system parameter
this is 10.2.0.3 version oracle, the server is sun10, no other instace created yet.
just Oracle software installed.
Can any friends help?
thanks a lot in advance!See on metalink:
ORA-119, ORA-132 ORA-1078 Received From DBCA After Applying 10.2.0.3 Patchset
Doc ID: Note:433817.1
There's an entry LOCAL_LISTENER created in pfile/spfile, that's a bug.
Werner -
I am trying to install Oracle 11i Release 1 database(dbname : ADTASK) in my Unix machine .
After creating ORACLE_HOME i was trying with installing the database using DBCA . The unix machine already contains a few databases installed in them .
When I started with database creation it gave me the following error
ORA-00119 Invalid Specification for system parameter LOCAL_LISTENER
ORA-00132 : syntax error or unresolved network name 'LISTENER_ADTASK'
ORA-01078 : failure in processing system parameters
The listener.ora file is present at ORACLE_HOME/network/admin
but when i use lsnrctl to start the listener it checks the following directory for the listener.ora file
TNSLSNR for Linux: Version 11.1.0.3.0 - Beta
System parameter file is /etc/listener.ora
What should be done to resolve the same ?
How can i make it look for listener.ora file in the ORACLE_HOME/network/admin directory ?I modified a few entries and then I tried starting the listener
but got this error
TNS-01150: The address of the specified listener name is incorrect
NL-00303: syntax error in NV string
I even tried with tnsping but i got the erro
Used parameter files:
TNS-03505: Failed to resolve name
Listener.ora file
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=adorcl)
(ORACLE_HOME=/SLOTS/slot04/appmgr/pramohan/Ora11g_Home))
(SID_DESC=
(SID_NAME=PLSExtProc)
(ORACLE_HOME=/SLOTS/slot04/appmgr/pramohan/Ora11g_Home)
(PROGRAM=extproc)))
LISTENER_ADORCL=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=ap6305rt.us.oracle.com)(PORT=1522))
(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))))Let me know what is the error -
SRVCTL START DATABASE FAILS WITH ORA-00119
Hi,
My DB version is 11.2.0.2.3
I am able to start the DB thorough sqlplus as conventional way.But when I am trying to start using SRVCTL it gives the following errors:
CRS-5017: The resource action "ora.****.db start" encountered the following error:
SRVCTL START DATABASE FAILS WITH ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_local'
Can you please suggest for any workaround.
ThanksDid you check the TNS_ADMIN? Where does it point to?
Also check if you have all the network files placed under the directory pointed to by TNS_ADMIN.
sqlnet.ora
listener.ora
tnsnames.ora -
Hello,
Q1) while I tried to start RAC instances today I got the following error:
coxnode1> srvctl start instance -d M90TEST -i m90test1,m90test2 -o open
PRKP-1001 : Error starting instance m90test1 on node cosxaorj1
CRS-0215: Could not start resource 'ora.m90test.m90test1.inst'.
After digging further from the log, I got this:
LOG:
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Apr 7 03:53:59 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Enter user-name: Connected to an idle instance.
SQL> ORA-01078: failure in processing system parameters
ORA-00119: invalid spec'
2009-04-07 03:54:00.831: [ RACG][2540875008] [30133][2540875008][ora.m90test.m90test1.inst]: end for resource = ora.m90test.m90test1.inst, action = start, status = 1, time = 2.370s
node1 and node2 are using same spfile, wondering how node2 came up and why node1 did not.
I tried to make a text copy of spfile stored in ASM(from node2) to check if there are any typo errors - everything looks fine.
wt could I be missing...
2) how do I shutdown/start ASM instances on RAC.
srvctl start instance -d ASM -i ASM1,+ASM2 -o open -- this does not seem to be working...
thanks!
newbieHi,
1) Probably cluster parameters was setted with same value, verify these parameters.
*.cluster_database_instances=2
*.cluster_database=true
orcl1.instance_number=1
orcl2.instance_number=2
orcl1.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.22.1) (PORT = 1521))'
orcl2.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.22.2) (PORT = 1521))'
orcl2.thread=2
orcl1.thread=1
orcl1.undo_tablespace='UNDOTBS_01'
orcl2.undo_tablespace='UNDOTBS_02'
Investigate instance alert.log error messages to see what parameters are misconfigured.
2) The ASM instance connect be open, the instance type works on mount mode only
srvctl start asm -n your_node_name1
srvctl start asm -n your_node_name1
Best Regards,
Rodrigo Mufalani
http://mufalani.blogspot.com -
Getting ORA-01000 : maximum open cursors exceeded problem
I am getting ORA-01000 : maximum open cursors exceeded problem in my piece of java code when the
load is high .Open cursors is set to 1000 still getting the same problem .
Basically i have to select some rows from a table which i am doing in A() function and process it and insert into
another table which i do it in another function B() there is a update statement also in this fun.
There is a particular business logic for which i need to call B() from the A() function
which happens to be in the select result set like below
A()
query ="Select * from temp";
while(rs.next)
B();
All the result sets are properly being closed that too in finally block.
I dont see any other problem with code .Still I am gettin this cursor problem.
Is some thing wrong with the design like calling a
insert from a result set while loop or the update statementThe code below is deleting fine. Check your $id is valid. I wonder if ADOdb has some quirks with binding and variable creation/destruction, similar to #1 in http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#bindvars
<?php
See ADOdb Tutorial for Oracle: http://phplens.com/lens/adodb/docs-oracle.htm
drop table mytab;
create table mytab (city varchar2(20), country_id varchar2(20));
insert into mytab values ('SF', 'US');
insert into mytab values ('Sydney', 'AU');
insert into mytab values ('London', 'UK');
commit;
require_once("/home/cjones/public_html/php/adodb5/adodb.inc.php");
$db = ADONewConnection("oci8");
$db->Connect("//localhost/XE", "hr", "hrpwd");
echo "Before:\n";
$rs = $db->Execute("select city from mytab");
while ($arr = $rs->FetchRow()) {
echo $arr['CITY'] . "\n";
$s = $db->Prepare("delete from mytab where country_id = :ci");
$db->Parameter($s, $ci, 'ci');
foreach (array('US', 'AU') as $ci) {
$db->Execute($s);
echo "After:\n";
$rs = $db->Execute("select city from mytab");
while ($arr = $rs->FetchRow()) {
echo $arr['CITY'] . "\n";
?>There's another sample in the ADOdb OCI8 driver:
Usage:
$stmt = $DB->Prepare("insert into table (col0, col1, col2) values (:0, :1, :2)");
$DB->Bind($stmt, $p1);
$DB->Bind($stmt, $p2);
$DB->Bind($stmt, $p3);
for ($i = 0; $i < $max; $i++) {
$p1 = ?; $p2 = ?; $p3 = ?;
$DB->Execute($stmt);
}For queries I know this works. I haven't seen any examples that prepare once.
$rs = $db->Execute("select city from mytab where country_id = :ci", array('ci' => 'UK'));
while ($arr = $rs->FetchRow()) {
echo $arr['CITY'] . "<br>\n";
} -
ORA-06512 and/or ORA-00936 ... simple procedure problem probably
I'm passing in codes like the following to the stored procedure (below):
",IRE,UK,FR,SCOT,WALES" (a string of words seperated by a ',')
Problem is I get the following error:
ORA-00936: missing expression ORA-06512: at "APPNAME.PKG_TOOL", line 132 ORA-06512: at line 1
I googled the two ORA's but am still stumped. I'd appreciate any help at all as I'm still not overly familiar with SQL.
PROCEDURE sp_check_code_Exist(p_CodeList IN varchar, p_cursorSMB IN OUT cursorSMB) IS
thissql varchar(1000);
BEGIN
thissql := thissql || 'select * from codes_data c where ';
thissql := thissql || 'c.code in ('|| p_CodeList ||') ';
open p_cursor FOR thissql;
begin
Execute immediate thissql;
end;
END sp_check_code_Exist;I know this is digressing a bit from the thread heading but I'd like to know if I really will be screwed if I don't optimise.
The machine that this is being hosted on will be a top notch machine with a very fat line and will have probably only thousands of codes.
This is the code as it stands now
PROCEDURE sp_check_GenericCodes(p_GenericsList IN varchar, p_cursorSMB IN OUT cursorSMB) IS
thissql varchar(1000);
BEGIN
thissql := thissql || 'select distinct generic_code from emc_codes_data ed where ';
thissql := thissql || 'ed.generic_code in ('||p_GenericsList||')';
open p_cursorSMB FOR thissql;
END sp_check_GenericCodes;So all I'll be returning is a few thousand words which will then be sorted alphabetically and will be then compared to another string which will be sorted alphabetically, to see if there is any missing code, and if there are then those codes will be spit out to an admin who will realise he made a mistake and where the mistake is.
This is how its all called:
public string checkGenericCodesExist(string codesList)
OracleDataReader rdr = null;
DBConnect dbConnLocal = null;
OracleCommand cmd = null;
string sRetVal = null;
string CurrentFunction = "PPTEngine.clsPart.genericCodeExsists";
try
dbConnLocal = new DBConnect(CurrentFunction, "Pkg_SMBTool.sp_check_GenericCodes", m_Stream);
// Pass in parameters
dbConnLocal.addParam(new OracleParameter("p_cursorSMB", OracleType.Cursor));
dbConnLocal.setParamDirection("p_cursorSMB",ParameterDirection.Output);
dbConnLocal.addParam(new OracleParameter("p_GenericsList", OracleType.VarChar));
dbConnLocal.setParamValue("p_GenericsList", codesList);
// Execute
cmd = dbConnLocal.ExecuteProcedure();
rdr = (OracleDataReader)cmd.Parameters["p_cursorSMB"].Value;
// Loop
if (rdr.HasRows)
while (rdr.Read())
if (!rdr.IsDBNull(rdr.GetOrdinal("Generic_Code"))) m_GenericCode = rdr.GetString(rdr.GetOrdinal("Generic_Code"));
rdr.Close();
//remove the '
string[] PPTCodes = codesList.Replace( "'", null).Split("','".ToCharArray());
catch (Exception e)
Log.WriteToFile(CurrentFunction + " - " + e.Message, System.Diagnostics.TraceLevel.Error);
throw e;
finally
if (dbConnLocal!=null) dbConnLocal.Close();
return sRetVal;
}The above function is still a work in progress, but is almost there. -
ORA-20001: error 29th ORA-24344 When creating a workspace
Hi,
I just installed APEX 4.0 on 10g (10.2.0.4).
When I tried to create a new workspace, at the last step (after clicking "Create Workspace" button), it fails with the following error.
ORA-20001: error 29th ORA-24344: success with compilation error
Error provisioning test.
I could not find any errors in PLSQL debug error, and in DBA_ERRORS table.
Could you help me to fix this problem? I ran utlrp.sql to make sure we don't have invalid objects. And I read the installation log and found no errors. XDB, OWA installed.
I have another APEX 4.0 instance on 11g R2, and it works fine.
Thanks
Jung
Edited by: jwryoo on Jul 15, 2010 8:37 AMthanks.
Yes, that's I already checked and confirmed that the privilege is granted.
DBA_ERRORS did not show any errors owned by APEX% users.
But I did see some errors owned by XDB.
PL/SQL: Item ignored
PLS-00201: identifier 'UTL_FILE' must be declared
PL/SQL: Statement ignored
PLS-00201: identifier 'DBMS_LOB' must be declared
It seems the DB has revoked some public access for security reasons.
So, I am trying to ask DBA to grant the privileges to XDB. -
I got an error, googled it and couldn't find a good answer. Joe Fuda helped me to fix the problem. Here is the answer for future google results.
Error:
ORA-20001: get_dbms_sql_cursor error ORA-01445: cannot select ROWID from, or sample, a join view without a key-preserved table
Query that triggered the error:
SELECT
p.rowid
, p.product_id
, p.product_type
, p.product_name
, p.product_description
FROM
product p
, link_release_product rp
WHERE
rp.release_id = 1
AND
p.product_id = rp.product_id
This is casued by the keyword "rowid".
The same error occurs if 'p.rowid' is replaced with 'p."ROWID"'.
You can replicate this error in SQL Command by adding wrapping the query with 'select * from ( [the query] )'
Fix:
Add an alias to 'p.rowid' so the query is now like:
SELECT
p.rowid product_rowid
, p.product_id
, p.product_type
Reason:
Unclear, it might have something to do with how APEX does pagination.ok, found the answer... it has to do with the single row view issue addressed in this thread... ORA-01446 on Interactive query
(sorry if there's a better way to link to other threads in this forum). -
Hi All,
I had created a IR report based on a table and it was working with no issues. But after few days, when I try searching using the IR search bar it shows "ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression" error message. I don't see any debug messages or errors in the debug window. The Finder drop down is empty too, there are no columns displayed to filter.
When I recreate the IR report(new page) based on the same table, It works fine and there are no issues with the search. But the old IR report search doesnt work. I have not modified the any thing in the old report after initial creation. Report uses Primary key based on a sequence.
What might have caused this issue?
Is there a way to intercept the search query from IR report?
Apex version - 4.2.3.00.08.
Any help on this appreciated.
Thanks,
JaganHi MK, as I had mentioned in my post, I don't see any logs in the debug window, query tab.
Can you please guide me how to check the query logs on search?
Thanks,
Jagan -
Why APEX 4.1 Error handling function does not trap the error of missing table?
Say, I create simple application with single IR report page and I also assign standard simple error handling function.
Function works perfectly, except but this case:
If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
and error handling function is not invoked at all.
Is this a feature or a bug?Hi,
Check the corrections given in the note 990764:
Reason and Prerequisites
Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
ORA-00942: table or view does not exist
Fehler in CL_SQL_RESULT_SET Include NEXT_PACKAGE
RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
Solution
SAP NetWeaver 2004s BI
Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
In urgent cases you can implement the correction instructions.
The correction instructions contain the tightened inspection for characteristics.
Regards,
Anil Kumar Sharma .P -
Hi everyone,
has anyone else had this error which has been driving me round the bend during the last three days?
I have an interactive report which used to work fine.
Now it happens (when the page loads/a filter is en- or disabled) that - from time to time, but unpredictable - I receive
ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
The report is based on a table function.
I will try to set up a testcase and post the link here, but so far I haven't managed to force the error to occur.
But maybe someone else has already bumped into this kind of error? I would be grateful for any hints!
Best regards,
Sabine
Application Express 4.1.0.00.32
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit ProductionHi Jari,
I changed the type definition (the return type of the table function) and extended the select list in the source of the IR.
I do not use 'select *' but reference every column explicitly. So APEX easked me whether to add the new column.
I also tried deleting in recreating the region, but no luck.
Any more ideas?
Best regards,
Sabine -
Hi,
I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
==========================================================
EXCEPTION
WHEN OTHERS THEN
WF_CORE.context (
'WFCustCheck',
'MisCustDataFromTableDoc',
document_id,
display_type,
document,
document_type,
SQLERRM
RAISE_APPLICATION_ERROR (-20006, SQLERRM);
==========================================================
But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
Please let me know.
ThanksHi,
Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
Are you using documents to send the notification, or are they purely defined in the .wft file?
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com
Maybe you are looking for
-
Dear cons I made the goods receipt on 16.10.2007. I made the goods issue by mistake on 01.10.2007( instead of 01.11.2007). but the system accecpts it. so when I saw the stock on posting date(T-code mb5b) the system gives wrong information. How can
-
Daily/weekly/monthly production reports
Hi Experts, IMy client needs daily/weekly/monthly production reports with graphical representation. I want to know in acase there are any standard reports which will be a work around solution for the above said reports. Thanks
-
Record the CPU Load in a log for Windows 2008 R2
Use performance monitor and log it to a file.
-
Endless Loop: Ipod in Recovery Mode
i have a 5th gen 30G Ipod that goes into recovery mode every time it is plugged into my computer. I will restore it to factory settings only to have it return to recovery mode. I have changed the drive name of the Ipod and also reformatted the hardri
-
RMAN hot backup cloning problem..need a way out
I took hot backup from server A using RMAN I prepared server A by running preclone on apps and db tier I copied apps tier and dbTier(tech_st) from server A to server B..Apps and db tier were up and running during the copy.I also copied the RMAN backu