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

book

Article ID: 4298

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/Introduction

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

<Please see attached file for image>

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.

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.

Environment

APM 10.3 with shared install directory for Primary & Secondary MOMs

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.

 

Attachments

1558699970782000004298_sktwi1f5rjvs16ovh.png get_app