ORA-04068, ORA-04065, ORA-06508 in JBoss EAP 6

Solution Verified - Updated -

Issue

Observing errors while invoking an Oracle stored procudure

java.sql.SQLException: ORA-04068: existing state of packages has been discarded
ORA-04065: not executed, altered or dropped stored procedure "TEST.MYPROCEDURE"
ORA-06508: PL/SQL: could not find program unit being called: "TEST.MYPROCEDURE"
...

Environment

  • Red Hat JBoss Enterprise Application Server (EAP) 6
  • Oracle

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.