Unified Reporter shows HTTP 500 error

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

The HTTP 500 error appears as follows:

HTTP 500 - Internal server error occurred. Please contact your system administrator.

org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/modules/system/errorPage.jsp at line 84

81:????? } %>
82:?????
83:???? <div id="stepDisplay">
84:???????????????????? <c:if test="${not empty flowExecutionKey}">
85:???????????????????????? <input type="hidden" name="_flowExecutionKey" value="${flowExecutionKey}"/>
86:???????????????????? </c:if>
87:???????????????????? <c:if test="${not empty param.parentFlow}">

In the jasperserver log (located on the UMP server at \Nimsoft\probes\service\wasp\webapps\jasperserver-pro\WEB-INF\logs\jasperserver-pro.log) you will also see the following exception:

Caused by: java.lang.ClassCastException: org.apache.jasper.el.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl
at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:941)
at org.apache.jsp.WEB_002dINF.jsp.modules.system.errorPage_jsp._jspx_meth_c_005fif_005f0(errorPage_jsp.java:1131)
at org.apache.jsp.WEB_002dINF.jsp.modules.system.errorPage_jsp._jspService(errorPage_jsp.java:281)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)

***This is caused by a conflicting .JAR file located in the wasp path which is related to the (now deprecated) webservices_soap package (SOAP API.)

To resolve this problem and restore access to Unified Reporter, take the following steps:

1. deactivate the wasp probe
2. delete all the contents of the folder \Nimsoft\probes\service\wasp\work\?
3. delete the file \wasp\webapps\webservices_soap.war?if it exists
4. delete the folder \wasp\webapps\webservices_soap if it exists
5. edit the wasp.cfg and remove this whole section:?

<webservices-soap>?
reloadable = false?
cross_context = true?
<log>?
<com.nimsoft.dao>?
loglevel = 1?
</com.nimsoft.dao>?
<com.nimsoft.nms.services>?
loglevel = 1?
</com.nimsoft.nms.services>?
<com.nimsoft.nms.servlet>?
loglevel = 3?
</com.nimsoft.nms.servlet>?
</log>?
load_on_startup = false?
unpack_war = false?
doc_base = webservices_soap?
path = /ws?
</webservices-soap>?

6. Activate wasp.

Note: this will de-install the SOAP API.? However, the SOAP API is no longer maintained or supported - users should move to the REST API instead.