CEM Admin Console became inaccessible with errors java.lang.NoClassDefFoundError: java/lang/Throwable$WrappedPrintStream

Document ID : KB000004298
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

The CEM Admin Console which was initially working fine after a recent upgrade from APM 9.7 to APM 10.3, has suddenly became inaccessible with the following error:

HTTP 500

Problem accessing /. Reason:
java/lang/Throwable$WrappedPrintStream

NoClassDefFoundError.png



The only change or activity which had taken place prior to the problem was an upgrade of the database on the Secondary MOM, which shares the same install directory with this Primary MOM.

Environment:
APM 10.3 with shared install directory for Primary & Secondary MOMs
Cause:

Basically, the error indicates some jar files required to load the CEM Administration Console were missing.  In this case, it was determined that when the database upgrade was being performed on the Secondary MOM, the Database Upgrade option was selected, in which the upgrade installer proceeded to install files required particularly for this option, and removed other existing files that was not included for this option from the shared install directory. This has resulted in the CEM console not able to load successfully due to the missing/removed files.

Resolution:

Re-running the database upgrade steps and selecting the Enterprise Manager & WebView options ensured all existing files are installed/not removed from the shared install directory, while the database upgrade is being done.

Additional Information:

Please refer to TEC1171416 for best practice when running a custom APM installation.