Ora-06508
Hi all
I created a simple libraray with simple package conatins one variable only. I saved and compiled it then attached it with a simple form that uses the variable. when I ran the form I recived the error ora-05608 can not find pl/sql unit...
I was astonitioed as this very straight and smple. Does oracle forms 10g need some seetings or the windows version affects this? please help
Thanks in advance
user505980 wrote:
yes to all ur questions!This almost caused my monitor to be sprayed over with coffee...
Are you running the form from the Forms Builder or from the App Server? => YES!...Err....Is this a yes-no question?
You indicated that you are using Forms 10g, but what is the actual version (10.1.2.x)? => YES!...Im not aware of the YES -Patch, but I might be a little bit rusty in this regard
Also, what is your OS and Browser version? => YES!...So there's an OS and a Browser called YES ? Interesting...
Are you using Oracle's Jinitiator or Sun's JRE? => YES!...No further comment on this
As neither google nor the forum search nor the online documentation work for you would you please be so kind to at least READ the answers of people willing to help you and provide the informations you have been asked for? Thank you!
Similar Messages
-
ORA-06508 - PL/SQL: could not find program unit being called
Hi,
I'm working on an Oracle Database 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option.
Since 2 weeks I'm facing problems with a job.
The job executes
dispatch.pk_process.check_geofence;every 2 seconds, forces to run on instance 1.
Some time, now it's once a day, in a different moment, the job start failing returning the ORA-06508.
The job body is:
PROCEDURE check_geofence
IS
CURSOR tt IS
SELECT id_data, id_device, id_vehicle, date_event, date_write
FROM t_process
WHERE id_type_process = ln_process_geofence
ORDER BY date_event;
id_user_ NUMBER;
errc_ NUMBER;
errm_ VARCHAR2(500);
i NUMBER;
BEGIN
id_user_ := dispatch.pk_security.login_hard('process_geofence','process_geofence');
i := 0;
FOR t IN tt LOOP
BEGIN
pk_space_target.check_inout_space_target (
in_id_data => t.id_data,
in_id_device => t.id_device,
in_id_vehicle => t.id_vehicle,
id_date_event => t.date_event,
id_date_write => t.date_write
EXCEPTION
WHEN OTHERS THEN
errm_ := 'process geofence: '||SUBSTR(SQLERRM, 1, 500)||' - '||DBMS_UTILITY.FORMAT_ERROR_BACKTRACE;
errc_ := SQLCODE;
INSERT INTO t_data_error (id_data, date_error, error_number, error_message)
VALUES (t.id_data, SYSDATE, errc_, errm_);
END;
DELETE FROM t_process WHERE id_data = t.id_data AND id_type_process = ln_process_geofence;
i := i + 1;
IF i mod 100 = 0 THEN COMMIT; END IF;
END LOOP;
id_user_ := dispatch.pk_security.logout;
END;the error is returned while executing the procedure
pk_space_target.check_inout_space_targetI know the ORA-06508 could happen on open connections after a recompile.
But I did not recompile anything.
The only solution that works is to compile package pk_space_target introducing some error (decompile it) and re-compile without the error.
Than to the same with pk_process.
After the last recompile, everything start to work fine again.
Do you have any suggestion on how/what investigate?
I cannot find any cause!!
Thanks in advance,
SamuelAt the end I opend a SR and the problem was a timestamp mistmatch between 2 packages:
Connected to:
Oracle Database 11g Release 11.1.0.6.0 - 64bit Production
With the Real Application Clusters option
SQL> alter session set nls_date_format='dd-mon-yy hh24:mi:ss';
Session altered.
SQL> select do.name dname, po.name pname, p_timestamp, po.stime p_stime
2 from sys.obj$ do, sys.dependency$ d, sys.obj$ po
3 where p_obj#=po.obj#(+)
4 and d_obj#=do.obj#
5 and do.status=1 /*dependent is valid*/
6 and po.status=1 /*parent is valid*/
7 and po.stime!=p_timestamp /*parent timestamp does not match*/
order by 2,1; 8
DNAME
PNAME
P_TIMESTAMP P_STIME
PK_EVOLUTION
PK_SPATIAL
15-sep-11 08:50:11 09-oct-12 10:01:32Then I re-compiled the pk_evolution, and the row disappeared:
SQL> r
1 select do.name dname, po.name pname, p_timestamp, po.stime p_stime
2 from sys.obj$ do, sys.dependency$ d, sys.obj$ po
3 where p_obj#=po.obj#(+)
4 and d_obj#=do.obj#
5 and do.status=1 /*dependent is valid*/
6 and po.status=1 /*parent is valid*/
7 and po.stime!=p_timestamp /*parent timestamp does not match*/
8* order by 2,1
no rows selectedThis solved the problem.
Samuel -
Error : ORA-06508: PL/SQL: could not find program unit being called
Hi
I got surprise issue while testing my Oracle code . Let me explain first the environment detail . Our appliaction built on
Java/J2EE(Weblogic) and backend is Oracle 11g re2 . While calling from java it call thru different user which have been provide
synonym and exectue option for corresponding procdure ,
I created on package EXTRACT_CUSTOMER_INFO_PK which will exract data to text file using UTL_FILE ( direcory , UTL_FILE grant is provided to DB user).
Now this package has been called from rp_execute_procedure_pr -- Here I is the code
CREATE OR REPLACE PROCEDURE RP_EXECUTE_PROCEDURE_PR
i_atlas_job_schedule_fk IN atlas_job_schedule.atlas_job_schedule_pk%TYPE,
i_job_id IN atlas_job.job_id%TYPE,
i_parm_value IN atlas_job_schedule.parm_value%TYPE,
o_status_code OUT NUMBER,
o_status_mesg OUT VARCHAR2
IS
-------Other old code which is not relevent for this issue ----
--------Other old code which is not relevent for this issue ----
----Below code I added ----
ELSIF l_job_id = 'CUST_EXTRACT' THEN
EXTRACT_CUSTOMER_INFO_PK.customer_report ( i_parm_value ,
o_status_code,
o_status_mesg ) ;
-- o_status_code := -99999999;
--o_status_mesg := 'PARTHA PARTHA PARTHAcess terminated!';
ELSE
o_status_code := -20300;
o_status_mesg := 'Job Id : ' || l_job_id || ' NOT found. Process terminated!';
END IF;
update_log_auto
ajs_rec.atlas_job_schedule_pk ,
'Processing End Time (GMT): '
EXCEPTION
WHEN eProcError THEN
o_status_code := SQLCODE;
o_status_mesg := SUBSTR(vMsg ||'-'||SQLERRM, 1, 200);
WHEN OTHERS THEN
o_status_code := -20300;
o_status_mesg := SUBSTR(SQLERRM, 1, 200);
update_log_auto
ajs_rec.atlas_job_schedule_pk ,
'Error : '||SQLERRM||' '
update_log_auto
ajs_rec.atlas_job_schedule_pk,
'Processing End Time (GMT): '
END RP_EXECUTE_PROCEDURE_PR;
Now It compiled sucesfully . And while I did SIT then RP_EXECUTE_PROCEDURE_PR run fine and extracted txt file . But while I called it from Java procedure It gives us error like
Error : ORA-06508: PL/SQL: could not find program unit being called 02-AUG-2012 13:16:51.
As I told RP_EXECUTE_PROCEDURE_PR old proc and used by other proc , So I first suspect issue is newly added code or may be some grant or synonym ( Although it should not be )
so I created public synony amd gave execute grant to my pkg to public .
But it repeat same error .
I did lot of R&D on my pkg but nothing happen . Finally I remane my new pkg RP_EXTRACT_CUSTOMER_INFO_PK and it works fine
I need to know what is the RCA for it . I donot think any dependecy issue as renaming pkg is working fine .
NB my DB user is iATLAS and Javauser is SUDEEP
Thanks in Advance
Debashis MallickFirst of all If i run the main procedure in like below in my Schema it is working fine
begin
-- Call the procedure
rp_execute_procedure_pr(i_atlas_job_schedule_fk => :i_atlas_job_schedule_fk,
i_job_id => :i_job_id,
i_parm_value => :i_parm_value,
o_status_code => :o_status_code,
o_status_mesg => :o_status_mesg);
end;
So thre is no question of parameter .... or Invalid state etc . If it is parameter or Invalid state issue it will give other error.
Here problem is not syntax issue .
let me give u more detail regards this issue
1.. All objects corresponding to procedure all Valid
2.. If I test on the proc on my schema like above code . It works fine
3.rp_execute_procedure_pr is a old procudere which called for differner report generartion based on parameter passing . Also as extract_customer_info_pk called with in rp_execute_procedure_pr So there is no question of synonym or privilage issue for new procedure.
4. Suprising thing is if I rename and recreate package like extract_customer_info_pk _1 or rp_extract_customer_info_pk . Which are exactly same as extract_customer_info_pk and replace those new one with extract_customer_info_pk then it work fine in my java application
I think I make it clear the issue
Edited by: debashisora on Aug 3, 2012 5:31 AM
Edited by: debashisora on Aug 3, 2012 5:40 AM -
Calling Report from Form Error ORA-06508
Dear all,
I want migrate from Fom6i to Oracle Developer Suite 10g (10.1).
Folder Form = C:\APLIORA\IRS\FORM
Folder Report = C:\APLIORA\IRS\REPORT
I have modified file DEFAULT.ENV
FORMS_PATH=C:\APLIORA\IRS\FORM;C:\APLIORA\IRS\REPORT
i do not have problem call a form from form.
but when i call report from form show error ORA-06508 : PL/SQL : could not find program unit being called ; -6508
my procedure is
PROCEDURE Call_Report IS
list_id ParamList;
BEGIN
list_id := Get_Parameter_List('input_params');
IF NOT Id_Null(list_id) THEN
Destroy_Parameter_List(list_id);
END IF;
list_id := Create_Parameter_List('input_params');
Add_Parameter(list_id,'MAXIMIZE',TEXT_PARAMETER,'YES');
Add_Parameter(list_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'YES');
RP2RRO.RP2RRO_RUN_PRODUCT(REPORTS,'TESTREPORT.REP',SYNCHRONOUS,RUNTIME,FILESYSTEM,list_id,null);
END ;
Do I miss something ?
Can any one help ?
ThanksHi,
Thank you for your replay.
The problem have solved.
This my step :
1. Install Windows XP SP2 and Form 10.1.2.0.2 on new pc.
2. Install Jinit version 1.3.1.28.
3. Create report server
3. Compile form, report and pll
4. call report from from with this procedure :
PROCEDURE Call_Report (vFILENAME varchar2) IS
report_id Report_Object;
ReportServerJob VARCHAR2(100);
vc_rep_status VARCHAR2(100);
repsvr varchar2(21) := 'myserv';
userid VARCHAR2(100);
pass VARCHAR2(100);
Host VARCHAR2(100);
BEGIN
userid := Get_Application_Property(USERNAME) ;
pass := Get_Application_Property(PASSWORD) ;
Host := Get_Application_Property(CONNECT_STRING) ;
report_id:= find_report_object('REPORT');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,vFILENAME||'.jsp');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,repsvr);
ReportServerJob:=run_report_object(report_id);
vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
WHILE vc_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED', null)
LOOP
vc_rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
END LOOP;
IF vc_rep_status='FINISHED' THEN
WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||vFILENAME||'.jsp'||'&userid='||userid||'/'||pass||'@'||Host||'&destype=CACHE&desformat=PDF¶mform=yes','_blank');
ELSE
message ('Report failed with error message '|| vc_rep_status);
END IF;
END;
Ok, but i have another strange error. I will post new thread.
Thank you and regards
Teguh S -
EXP-00008 + ORA-06544 + ORA-06553 + ORA-06508 error while exporting schema
HI,
i am exporting schema defnition from database;
bash-2.05$ exp userid=pin/pin file=pin.dmp log=pin.log owner=pin rows=no
i am getting this error:
Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
With the Partitioning option
JServer Release 8.1.7.0.0 - 64bit Production
Export done in US7ASCII character set and UTF8 NCHAR character set
server uses UTF8 character set (possible charset conversion)
Note: table data (rows) will not be exported
About to export specified users ...
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 6544 encountered
ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [56319]
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
. exporting foreign function library names for user PIN
. exporting object type definitions for user PIN
About to export PIN's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export PIN's tables via Conventional Path ...
. . exporting table 109_31OCT2008
. . exporting table 109_gl_juntooct2008
. . exporting table ACCOUNT_BALANCES_BACKUP_T
. . exporting table ACCOUNT_BALANCES_T
. . exporting table ACCOUNT_BALANCES_THRESHOLDS_T
. . exporting table ACCOUNT_BALANCES_T_06NOV01
. . exporting table ACCOUNT_BALANCES_T_31MAR07
. . exporting table ACCOUNT_EXEMPTIONS_T
. . exporting table ACCOUNT_INTERNAL_NOTES_BUF
:. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting snapshots
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
EXP-00008: ORACLE error 6544 encountered
ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [56319]
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
. exporting statistics
Export terminated successfully with warnings.
please could any body guide me what is the exact problem.
Thanks
PrakashHi,
bash-2.05$ exp pin/pin file=mypinfile.dmp log=mypinfile.log rows=N
Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
With the Partitioning option
JServer Release 8.1.7.0.0 - 64bit Production
Export done in US7ASCII character set and UTF8 NCHAR character set
server uses UTF8 character set (possible charset conversion)
Note: table data (rows) will not be exported
About to export specified users ...
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 6544 encountered
ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [56319]
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
. exporting foreign function library names for user PIN
. exporting object type definitions for user PIN
About to export PIN's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export PIN's tables via Conventional Path ...
. . exporting table 109_31OCT2008
. . exporting table 109_gl_juntooct2008
. . exporting table ACCOUNT_BALANCES_BACKUP_T
. . exporting table ACCOUNT_BALANCES_T
. . exporting table ACCOUNT_BALANCES_THRESHOLDS_T
. . exporting table ACCOUNT_BALANCES_T_06NOV01
.. . exporting table YOU_VRC_TRANS_DETAILS_T
. . exporting table YOU_VRC_TRANS_T
. . exporting table ZONEMAP_DATA_DERIVED_T
. . exporting table ZONEMAP_DATA_RAW_T
. . exporting table ZONEMAP_T
. . exporting table cust_balance19
. . exporting table cust_balance_ason_19June12AM
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting snapshots
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
EXP-00008: ORACLE error 6544 encountered
ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [56319]
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
. exporting statistics
Export terminated successfully with warnings.
i think it some problem with SYS.DBMS_REPCAT_RGT_EXP package
SQL> select status, object_type, LAST_DDL_TIME from dba_objects where object_name='DBMS_REPCAT_RGT_EXP';
STATUS OBJECT_TYPE LAST_DDL_
VALID PACKAGE 25-DEC-08
INVALID PACKAGE BODY 02-SEP-01
Thanks
Prakash
T -
Hello,
EBS version : 11.5.10.2
DB version : 11.2.0.3
OS version : AIX 6.1
As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), we got below error :
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ATTENTION: All workers either have failed or are waiting:
FAILED: file glsupdas.ldt on worker 3.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 adwork003.log
Restarting job that failed and was fixed.
Time when worker restarted job: Wed Aug 07 2013 10:36:14
Loading data using FNDLOAD function.
FNDLOAD APPS/***** 0 Y UPLOAD @SQLGL:patch/115/import/glnlsdas.lct @SQLGL:patch/115/import/US/glsupdas.ldt -
Connecting to APPS......Connected successfully.
Calling FNDLOAD function.
Returned from FNDLOAD function.
Log file: /fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log/US_glsupdas_ldt.log
Error calling FNDLOAD function.
Time when worker failed: Wed Aug 07 2013 10:36:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 US_glsupdas_ldt.log
Current system time is Wed Aug 7 10:36:14 2013
Uploading from the data file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt
Altering database NLS_LANGUAGE environment to AMERICAN
Dumping from LCT/LDT files (/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0), /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt) to staging tables
Dumping LCT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0) into FND_SEED_STAGE_CONFIG
Dumping LDT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt into FND_SEED_STAGE_ENTITY
Dumped the batch (GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS , GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS ) into FND_SEED_STAGE_ENTITY
Uploading from staging tables
Error loading seed data for GL_DEFAS_ACCESS_SETS: DEFINITION_ACCESS_SET = SUPER_USER_DEFAS, ORA-06508: PL/SQL: could not find program unit being called
Concurrent request completed
Current system time is Wed Aug 7 10:36:14 2013
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Below is info about file versions and INVALID packages related to GL.
PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG is invalid with error component 'GL_DEFAS_DBNAME_S' must be declared.
I can see GL_DEFAS_DBNAME_S is a VALID sequence accessible by apps user with or without specifying GL as owner.
SQL> select text from dba_source where name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG') and line=2;
TEXT
/* $Header: glistdds.pls 120.4 2005/05/05 01:23:16 kvora ship $ */
/* $Header: glistddb.pls 120.16 2006/04/10 21:28:48 cma ship $ */
/* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */
/* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
SQL> select * from all_objects where object_name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG')
2 ; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
EDITION_NAME
APPS GL_DEFAS_ACCESS_DETAILS_PKG 1118545 PACKAGE 05-AUG-13 05-AUG-13 2013-08-05:18:54:51 VALID N N N 1
APPS GL_DEFAS_ACCESS_SETS_PKG 1118548 PACKAGE 05-AUG-13 06-AUG-13 2013-08-05:18:54:51 VALID N N N 1
APPS GL_DEFAS_ACCESS_SETS_PKG 1128507 PACKAGE BODY 05-AUG-13 06-AUG-13 2013-08-06:12:56:50 INVALID N N N 2
APPS GL_DEFAS_ACCESS_DETAILS_PKG 1128508 PACKAGE BODY 05-AUG-13 05-AUG-13 2013-08-05:19:43:51 VALID N N N 2
SQL> select * from all_objects where object_name='GL_DEFAS_DBNAME_S'; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
EDITION_NAME
GL GL_DEFAS_DBNAME_S 1087285 SEQUENCE 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1
APPS GL_DEFAS_DBNAME_S 1087299 SYNONYM 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1
SQL> conn apps/apps
Connected.
SQL> SELECT OWNER, OBJECT_NAME, OBJECT_TYPE, STATUS
FROM DBA_OBJECTS
WHERE OBJECT_NAME = 'GL_DEFAS_ACCESS_SETS_PKG'; 2 3 OWNER OBJECT_NAME OBJECT_TYPE STATUS
APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE VALID
APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE BODY INVALID SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE; Warning: Package altered with compilation errors. SQL> show error
No errors.
SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE BODY; Warning: Package Body altered with compilation errors. SQL> show error
Errors for PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG: LINE/COL ERROR
39/17 PLS-00302: component 'GL_DEFAS_DBNAME_S' must be declared
drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>cat $GL_TOP/patch/115/sql/glistdab.pls|grep -n GL_DEFAS_DBNAME_S
68: SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
81: fnd_message.set_token('SEQUENCE', 'GL_DEFAS_DBNAME_S');
SQL> show user
USER is "APPS"
SQL> SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
FROM dual; 2 -- with GL.
NEXTVAL
1002
SQL> SELECT GL_DEFAS_DBNAME_S.NEXTVAL from dual; --without GL. or using synonym.
NEXTVAL
1003
drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdab.pls|grep '$Header'
REM | $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ |
/* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdas.pls |grep '$Header'
REM | $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ |
/* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */ -
Sometimes, but not always I am getting ORA-06508 when using Webutil. But I am only getting this error when calling webutil_file_transfer.client_to_as_with_progress
I aslo use webutil_clientinfo, and that works just fine.
/VidarYou don't find what ?
Open the webutil.pll in the Forms Builder, then compile it then generate the executable with Ctrl+T
Francois -
Forms 6i, ORA-06508, and Character Functions
Hi,
We have an installation of Forms 6i, and when we run our form(s), an ORA-06508 error is received. The problem has been drilled down to pl/sql usage of built-in character functions such as SUBSTR, INSTR, etc.
For example:
myvar := substr(myothervar,1,10);
If these functions are used within sql only, they work fine.
For example:
select substr(myothervar,1,10)
into myvar
from dual;
We are only having this problem on one PC. The same forms work fine on all others.
When I open the Forms Designer, I can see the character functions under the built-ins in the navigator.
I'm thinking we have a .dll or .pll that is missing from our install on this particular PC.
Does anyone know where the built-in functions are stored, like in a .pll or .dll for instance?
Thank you,
Bret GoldsteinI would suggest 2 things:
1) Make sure that if there are libraries (PLX) you have the right versions on the questionable worstation.
2) Recompile the failing form (using compile all option) but make sure that the compiling environment is using the righ version of the libraries (PLL) -
ORA-06508 PL/SQL: could not find program unit being
Hi all,
I'm having the following problem: I have a trigger that gets fired before update of a field. The trigger source code calls a function from a package. This function calls another function.
When the trigger was executed I got the following error ORA-06508 PL/SQL: could not find program unit being call(referring to the second function called).
This trigger works well, but from time to time gets this error. (The database has a lot of users and there is a chance that more users fire the same trigger).
What can I do to solve this problem as it's very inconvenient? Any suggestions?
Thanks.Try running the following query:
select *
from
v$db_object_cache
where sharable_mem > 10000
and type in ('PACKAGE','PACKAGE BODY','FUNCTION','PROCEDURE')
and KEPT='NO'
order by sharable_mem desc
See which objects are taking up a lot of SGA memory, you may need to pin them to prevent fragmentation. If you see DBMS_STATS in there it means that you Oracle is dynamically collecting stats which is not good - you need to set up a background task to do that. -
ORA-06508 during nested execution
There are 3 packages in database:
- package_A with package_A.proc_AA that calls package_B.porc_BB form package B
- package_B.proc_DD with procedure that calls procedure from package_C
- I change table that is using only in package_C
- I recompile all invalid objects. All package are VALID. My weblogic server is running. I check objects timestamp with this query (in result: no rows selected):
select do.obj# d_obj,do.name d_name, u.name owner, po.obj# p_obj,po.name p_name,
to_char(p_timestamp,'DD-MON-YYYY HH24:MI:SS') "P_Timestamp",
to_char(po.stime ,'DD-MON-YYYY HH24:MI:SS') "STIME",
decode(sign(po.stime-p_timestamp),0,'SAME','*DIFFER*') X
from sys.obj$ do, sys.dependency$ d, sys.obj$ po, user$ u
where P_OBJ#=po.obj#(+)
and D_OBJ#=do.obj#
and po.stime!=p_timestamp /*parent timestamp not match*/
and do.owner#=u.user#
order by 2,1;
Then I start using my applications. I call package_A.proc_AA via WLS and I get only one error: ORA-06508: PL/SQL: could not find program unit being called
This error comes from package_A.proc_AA when database try to execute package_B.porc_BB.
There are two way to resolve problem: WLS restart or recompile package_A.
Do you have any idea why this errors occurs and why WLS restart helps while errors comes from nested execution of package_B.porc_BB?
Are there any methods to prevent this error?
Do you have any ideas?
Thanks.Your applications are probably using cached prepared statements, which have been
corrupted/invalidated by your changing the DBMS out from under your pooled
connections. If you are going to be doing that a lot, turn the WLS pool statement
cache off. Otherwise, you can clear the pool's statement cache from the console
when you do this. -
The following error occured while querying a data block in Forms.
QMS-00100: Error ORA-06508 PL/SQL: could not find program unit being called in pl/sql unit
Unhandled exception in qms$block.set_mav_items_exg_record.
I found set_mav_items_exg_record in qms$record but NOT in qms$block !
I work with Forms 6 and Headstart 6.0First, (and totally unimportant) there is a typo in the error message. The actually name of the procedure is
set_nav_items_exg_record, and you are correct it is in qms$record.
It looks like at one time this procedure was in qms$block and was moved. It might be that you have
mismatched versions of Headstart files. This change occurred between 5.0.3 and 5.0.3.1. It might
be that your version of qmsevh50.pll is older.
Of course, the simple solution is to change the calling code to call it in its actual location in qms$record.
But you should also investigate if you have mismatched versions. Also, you might have a customization
of qms$event_data_block from an older version of qmsevh50.pll. If you have customized it, you might
have missed the change when the procedure was moved.
Regards,
Lauri -
Pls don't beat me again, ora-06508
Hi, expert:
First, I would like to thank cordially all the helpers who share their valuable ideas with me.
Recently, almost everyday, we get ora-06508 after oracle 8.1.6 and tomcat are running for some time on the NT4 server. All objects are compiled and working fine.
When we restart the oracle, this error disappears.
We're using PL/SQL developer 3.0 as client development tool.
Looking forward to your advice.
nullHave you checked to see if all objects are valid, upon getting this error. Objects may become invalid if you make changes to dependent objects. And of course this can have a cascading affect.
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Mark King:
Hi, expert:
First, I would like to thank cordially all the helpers who share their valuable ideas with me.
Recently, almost everyday, we get ora-06508 after oracle 8.1.6 and tomcat are running for some time on the NT4 server. All objects are compiled and working fine.
When we restart the oracle, this error disappears.
We're using PL/SQL developer 3.0 as client development tool.
Looking forward to your advice.
<HR></BLOCKQUOTE>
null -
Getting ORA-06508 when running 6i form in 10g
hi,
I am upgrading my forms from 6i to 10g. I have created the following directory structure on my system.
c:\old_system\<module_name>\<forms60> --- All FMBs and FMXs
c:\old_system\<module_name>\<lib> --- All libraries
c:\old_system\<module_name>\<reports60> ---All Reports
c:\10g_upgrade\<module_name>\<forms60> --- All FMBs and FMXs
c:\10g_upgrade\<module_name>\<lib> --- All libraries
c:\10g_upgrade\<module_name>\<reports60> ---All Reports
i have edited the registery entry for
for forms6i
Forms60_PATH --- c:\old_system\<module_name>\<lib>
for forms10g
Forms_PATH -- c:\10g_upgrade\<module_name>\<lib>
I have two template forms:
1. TMXSTAND.FMB
2. PPSSTAND.FMB inherits TMXSTAND.FMB
when i run the FPPS003.FMB then it gives this error.
ON-ERROR raised an unhandled exception ORA-06508.
Please suggest where is the problem.
Thanks.
nullI have given the proper path of the library folder in Forms_Path. Still I am getting this error...
Is this error because of having both the versions of forms (6i and 10g)?
Message was edited by:
gammit -
Hi, i ran webutil demo and the screen show ok, but when i press the button GET_CLIENT_INFO appear the message
when button pressed ORA-06508 and not read the procedure ....
Regardshi
try something like this.
:item := webutil_clientinfo.get_time_zone;please can u provide us complete code?
sarah -
Windows 2000
Forms 6i Patch 5a
9i Database
I have a form that generates a ORA-06508 when in the debugger only. It runs fine else (running in the builder, client-server or web.)
I have detached the library. Shift+Ctrl+K'd the form. Saved the form. Closed the form. Recompiled the attached library using the forms compiler. Opened the form, reattached the library, SHIFT+Ctrl+K'd the form, and the same thing occurs. I want to stress this occurs only when running in the debugger.
Any ideas or suggestions?
Thanks
-ChrisIn that case you probably have two copies of a library around. In normal runtime a PLX file will always be used in preference to a PLL. In Debug mode PLX files will be ignored and the PLL only used.
-
Ora-06508 - could not find program
Need your HELP!!!
ERROR:
ORA-06508: PL/SQL: could not find program unit being called: "NZH_MAIM.NZHMF_BOREHOLE_LEVEL_EYAL"
what is it mean? and how i fix it?It means that you have not deplyed the program unit and if deplyed then it failed during deployment.
and now this error comes when same program unit is beign executed....
Maybe you are looking for
-
Hello, Errors in the EE 4 with RedHat ES 3. Web Service Request Failed The following fault was returned from the web service call: Code HTTP String (404)/axis/services/rpc/webtopsession ------ log ----- Starting service Tomcat-Standalone Apache Tomca
-
Motif L&F: support for color schemes?
I want to use the Motif L&F in my Java application, but I want the color scheme to be chosen as per the users installed Color theme(using the CDE Style Manager). Having a default bluish grey UI does not blend well with my 'Desert' or 'Delphinium' col
-
Photos with motion and transitions have jerky intros and fades
Most of the time when I add a Ken Burns type motion to a photo and then as a transition or several, the playback has little hiccups in it at the start or end of the transition. I render the project and it's still there but not on every singe one. Wha
-
Pbm to display a formula in multi Writer mode
hello, I attach my analytic workspace in multi write mode and when i want to display a formula in a crosstab, i have the following message : on Jan 17 16:22:30 CET 2005 In oracle.dss.dataSource.QueryServer::_restartFromPersistence oracle.express.Expr
-
Upgrading JMS/IDM infrastructure
Hi, I have a couple of questions around upgrading IDM and the infrastructure supporting it. We currently run IDM 8.1p5 on Sun Appserver 8.1 We use JMS-3.7 for Password Sync. The goal is to create a HA/Load balanced environment for the above. So, my q