Application fails with exceptions after upgrading to Oracle 12c

Document ID : KB000077093
Last Modified Date : 17/04/2018
Show Technical Document Details
Issue:
  After upgrading the backend JBOSS database from Oracle 11g to 12c, the application fails to start with exceptions similar to this:
org.jboss.util.NestedSQLException: Unable to get managed connection for hisDatasource; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for hisDatasource)
...
Caused by: java.lang.VerifyError: Stack map does not match the one at exception handler 1645
Exception Details:
  Location:
    oracle/security/o5logon/a.a([B[B)V @1645: dup
 
Environment:
Agent 9.7
Cause:
This is caused by a conflict with the Oracle security classes.
Resolution:
This can be resolved by upgrading to the 10.x Java Agent
OR
Create a custom pbd and skip all the classes that start with oracle/security package to prevent this issue.
custom.pbd
---------------
SkipPackagePrefix: oracle.security.
--------------
Note there is a dot at the end of the line.