After upgrading to APM 10.5 we cannot use 8443 port as EM Secure Port as connecting to the EM server home page gives an http 500 server error

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

After upgrading from APM 10.2 to APM 10.5 we cannot use 8443 port as the Enterprise Manager web server Secure Port as connecting to the web server home page gives an http 500 server error. If we use a different port i.e. 8444 it works ok.

If we enable DEBUG logging in the Enterprise manager we see the following at the point of failure.

1/14/17 09:31:25.714 PM EET [DEBUG] [btpool0-2 - /] [org.mortbay.log] EXCEPTION
javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/wily/introscope/webapps/common/ConsoleBridge
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:939)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:871)
....
Caused by: java.lang.ClassNotFoundException: com.wily.introscope.webapps.common.ConsoleBridge
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)

1/14/17 09:31:25.716 PM EET [ERROR] [btpool0-2 - /] [org.mortbay.log] /

java.lang.NoClassDefFoundError: com/wily/introscope/webapps/common/ConsoleBridge

          at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:77)

Environment:
This is reported in a Standalone EM linux environment after performing an upgrade in place using APM 10.5.0.22
Cause:

The problem is caused by stale cache information in the Enterprise Manager.

Resolution:

The solution is to clear the Enterprise manager cache

Stop the Enterprise Manager

In folder <EM_HOME>/product/enterprisemanager/configuration - remove all files except config.ini

In folder <EM_HOME>/work - remove all files

restart the Enterprise Manager