Solved

ORA-06508: PL/SQL: could not find program unit being called

Posted on 2011-02-16
3
1,137 Views
Last Modified: 2012-08-14
All database objects are compiled, and the program unit that 'cannot be found' exists on the same database as a public procedure in a package. The problem is intermittent, and if I exit the calling application (32-bit Windows app) and start it again, then the problem no longer exists for some amount of time... Can you shed some light on this?
0
Comment
Question by:Kanigi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 20

Expert Comment

by:flow01
ID: 34905220
For example in oracle forms you can get this kind of failure if some of the dependent program units of a dependent of such dependents becomes temporary invalid because of a creating a  new version of a such a dependent module.
0
 

Author Comment

by:Kanigi
ID: 34905234
All dependants are compiling successfully.
0
 
LVL 20

Accepted Solution

by:
flow01 earned 500 total points
ID: 34905335
Some tools keep track of the current version of a module,  succesful compilation of a changed module creates another version: in oracle forms I can reproduce this error.
 
You could try to reproduce it for your application:
If the failure occurs check
LAST_DDL_TIME  
TIMESTAMP      
of dba_objects view  (types: functions, procedures,package and package_body) to find  modules changed recently before the error
Try to evaluate which part of the application uses that module
open your application   an use that part,  recreate the module (same source)  and see if you get the error.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question