When accessing WebView Login UI receive HTTP ERROR 500 with Reason "PWC62226: Could not add one or more tag libraries".

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

Description:

Problem:
------------

Receiving following HTTP error when accessing the WebView Login UI at http://<hostname>:8080

/ index.jsp(5,45) PWC6226: Could not add one or more tag libraries.

Caused by:

org.apache.jasper.JasperException: /index.jsp(5,45) PWC6226: Could not add one or more tag libraries.
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:78)

You will see similar error stack trace in the IntroscopeWebView.log at the time of problem:

10/29/13 03:46:41.353 PM EST [WARN] [org.mortbay.log] /
org.apache.jasper.JasperException: /index.jsp(5,45) PWC6226: Could not add one or more tag libraries.
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:78)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:373)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:130)

Cause:
---------

This is most probably caused by an additional string being added to the default WebView context path property in the IntroscopeWebView.properties:

introscope.webview.context.path=/

By default, no additional string is defined in this property, which allow WebView Login UI to be accessible at http://<hostname>:8080

Solution:

Verify what is defined in the WebView context path property in the IntroscopeWebView.properties file.

For example, if the following is defined:

introscope.webview.context.path=/webview

Then the WebView Login UI needs to be accessed at http://<hostname>:8080/webview instead. Otherwise, one will receive the HTTP Error 500 mentioned in this article.