In our application (ADF), app team is calling a procedure using dblink. In this procedure another procedure is being called which is in a pacakge. It works fine but some times it gives an error
ORA-06508: PL/SQL: could not find program unit being called
When I checked in remote db, I found that the status of that object is VALID.
When i restart the application server it works again. Every time i need to restart the application server (Weblogic).
I am not able to find what is the main cause of this issue. Why this is happening again and again after some days. Please help.
Thanks!