Below is web portal error message after upgrade from UIM 9.02 to 20.1
HTTP Status 500 – Internal Server Error
Type Exception Report
Message Unable to compile class for JSP:
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [14] in the generated java file: [D:\Program Files (x86)\Nimsoft\probes\service\wasp\work\wasp-engine\localhost\ROOT\org\apache\jsp\index_jsp.java]
Only a type can be imported. com.liferay.portal.events.ServicePreAction resolves to a package
An error occurred at line: [23] in the generated java file: [D:\Program Files (x86)\Nimsoft\probes\service\wasp\work\wasp-engine\localhost\ROOT\org\apache\jsp\index_jsp.java]
Only a type can be imported. com.liferay.portal.util.WebKeys resolves to a package
An error occurred at line: [38] in the jsp file: [/index.jsp]
WebKeys.VIRTUAL_HOST_LAYOUT_SET cannot be resolved to a type
35:
36: String redirect = null;
37:
38: LayoutSet layoutSet = (LayoutSet)request.getAttribute(WebKeys.VIRTUAL_HOST_LAYOUT_SET);
39:
40: if (layoutSet != null) {
41: long defaultPlid = LayoutLocalServiceUtil.getDefaultPlid(layoutSet.getGroupId(), layoutSet.isPrivateLayout());
An error occurred at line: [46] in the jsp file: [/index.jsp]
ServicePreAction cannot be resolved to a type
43: if (defaultPlid != LayoutConstants.DEFAULT_PLID) {
44: Layout layout = LayoutLocalServiceUtil.getLayout(defaultPlid);
45:
46: ServicePreAction servicePreAction = (ServicePreAction)InstancePool.get(ServicePreAction.class.getName());
47:
48: ThemeDisplay themeDisplay = servicePreAction.initThemeDisplay(request, response);
49:
An error occurred at line: [46] in the jsp file: [/index.jsp]
ServicePreAction cannot be resolved to a type
43: if (defaultPlid != LayoutConstants.DEFAULT_PLID) {
44: Layout layout = LayoutLocalServiceUtil.getLayout(defaultPlid);
45:
46: ServicePreAction servicePreAction = (ServicePreAction)InstancePool.get(ServicePreAction.class.getName());
47:
48: ThemeDisplay themeDisplay = servicePreAction.initThemeDisplay(request, response);
49:
An error occurred at line: [46] in the jsp file: [/index.jsp]
ServicePreAction cannot be resolved to a type
43: if (defaultPlid != LayoutConstants.DEFAULT_PLID) {
44: Layout layout = LayoutLocalServiceUtil.getLayout(defaultPlid);
45:
46: ServicePreAction servicePreAction = (ServicePreAction)InstancePool.get(ServicePreAction.class.getName());
47:
48: ThemeDisplay themeDisplay = servicePreAction.initThemeDisplay(request, response);
49:
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:213)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:519)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:392)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:362)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:346)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:605)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:400)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
Note The full stack trace of the root cause is available in the server logs.
Release : UIM 20.1
Component : UMP
1) Disable AV scannng / disable distsrv forwarding and re-run the UMP installer on top of existing
2) Disable the wasp probe, delete the \Nimsoft\probes\service\wasp\work folder, activate the probe
The \work folder is a temporary file and will be recreated the next time wasp is activated.
3)Clear browser cache from beginning of time