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)
The problem is caused by stale cache information in the Enterprise Manager.
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