ORA-06508 WHEN ALL PACKAGES EXISTS AND ARE "VALID" !!!

Oracle 8i
In a production release, I must change a central package (spec and body), which is used by some other packages.
As a result, after the compile, the concerned packages are all marked as invalid.
Now, we need to recompile all the invalid packages.
As a final result:
- all objects (packages, packages body, views, ...) exist
- all objects are VALID
BUT the application doesn't work !!!
In some process, we receive an ORA-06508 error messages.
Can someone tell me if he has the same problem ?
Is it a Oracle bug ?
I was thinking that when all objects are VALID and existing and compatible then an ORA-06508 should not be ?
Note: as workaround, to solve the problem, I need to recompile the VALID incriminated package...
That means doing the work two times !!
Thank you for your help...
Regards
Thierry

Sorry, but it's not the same problem...
It's not about ORA-04068 "existing state of packages has
been discarded".
I know that you just need to re-execute the package in this case.
But here I have a ORA-06508:
ORA-06508 PL/SQL: could not find program unit being called
Cause: An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors.
Action: Check that all referenced programs, including their package bodies, exist and are compatible.
I repeat, all objects are valid.
I can re-execute the application, that means the packages too, but the error remain ...
The only way the solve that is to re-compile the VALID package !!!! and i don't like that...
Regards
Thierry

Similar Messages

Maybe you are looking for