'Error while registering Oracle JDBC Diagnosability MBean' When Trying to Apply an OFSAA Patch (Doc ID 1639970.1)

Last updated on OCTOBER 04, 2016

Applies to:

Oracle Financial Services Funds Transfer Pricing - Version 6.1 and later
Oracle Financial Services Asset Liability Management - Version 6.1 and later
Oracle Financial Services Profitability Management - Version 6.1 and later
Oracle Financial Services Analytical Applications Infrastructure - Version 7.3 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Profitability Management (PFT)
Oracle Financial Services Asset Liability Management (ALM)
Oracle Financial Services Funds Transfer Pricing (FTP)

Symptoms

When you are trying to apply an OFSAA patch, the following java exception is thrown:

ERROR

WARNING: Error while registering Oracle JDBC Diagnosability MBean.
java.lang.NoSuchMethodError: method javax.management.StandardMBean. with signature (Ljava.lang.Class;Z)V was not found.
  at oracle.jdbc.driver.OracleDiagnosabilityMBean.(OracleDiagnosabilityMBean.java:34)
  at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:342)
  at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:199)
  at java.security.AccessController.doPrivileged(libgcj.so.10)
  at oracle.jdbc.driver.OracleDriver.(OracleDriver.java:195)
  at java.lang.Class.initializeClass(libgcj.so.10)
  at java.lang.Class.forName(libgcj.so.10)
  at com.ofss.fsgbu.servicepack.DBManager.(DBManager.java:31)
  at com.ofss.fsgbu.servicepack.PreCheck.main(PreCheck.java:47)
Exception in thread "main" java.lang.NoClassDefFoundError: oracle.jdbc.driver.PhysicalConnection
  at java.lang.Class.initializeClass(libgcj.so.10)
  at java.lang.Class.initializeClass(libgcj.so.10)
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
  at java.sql.DriverManager.getConnection(libgcj.so.10)
  at java.sql.DriverManager.getConnection(libgcj.so.10)
  at com.ofss.fsgbu.servicepack.DBManager.(DBManager.java:32)
  at com.ofss.fsgbu.servicepack.PreCheck.main(PreCheck.java:47)
Caused by: java.lang.ClassNotFoundException: java.sql.NClob not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:ServicePack.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
  at java.net.URLClassLoader.findClass(libgcj.so.10)
  at java.lang.ClassLoader.loadClass(libgcj.so.10)
  at java.lang.ClassLoader.loadClass(libgcj.so.10)
  at java.lang.VMClassLoader.defineClass(libgcj.so.10)
  at java.lang.ClassLoader.defineClass(libgcj.so.10)
  at java.security.SecureClassLoader.defineClass(libgcj.so.10)

Steps to reproduce:

The issue can be reproduced at will with the following steps:
1. Attempt to apply an OFSAA patch

Changes

Upgraded database to 11.2.0.3.0.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms