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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content