Uploaded image for project: 'ZZZ-WSO2 Application Server '
  1. ZZZ-WSO2 Application Server
  2. WSAS-1964

[5.3.0] Webapp mgt upload page crashes with JSP compilation error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 5.3.0
    • Fix Version/s: 5.3.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Blocker
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Yes

      Description

      Webapp mgt application upload pages crashes with the below jsp compilation error.
      [2015-06-16 21:44:04,180] ERROR

      {org.apache.catalina.core.ApplicationDispatcher}

      - Servlet.service() for servlet bridgeservlet threw exception
      org.apache.jasper.JasperException: Unable to compile class for JSP:

      An error occurred at line: 263 in the jsp file: /webapp-mgt/upload.jsp
      The operator == is undefined for the argument type(s) int, void
      260: <td class="formRow">
      261: <input type="text" name="version" value="">
      262: </td>
      263: <%if (tenantId == <%=superTenantId%>) { %>
      264: <td class="formRow">
      265: <select name="hostName">
      266: <% for (String vhostName : vhostHolder.getVhosts()) { %>

      An error occurred at line: 263 in the jsp file: /webapp-mgt/upload.jsp
      Syntax error on tokens, delete these tokens
      260: <td class="formRow">
      261: <input type="text" name="version" value="">
      262: </td>
      263: <%if (tenantId == <%=superTenantId%>) { %>
      264: <td class="formRow">
      265: <select name="hostName">
      266: <% for (String vhostName : vhostHolder.getVhosts()) { %>

      An error occurred at line: 263 in the jsp file: /webapp-mgt/upload.jsp
      Syntax error, insert ") Statement" to complete IfStatement
      260: <td class="formRow">
      261: <input type="text" name="version" value="">
      262: </td>
      263: <%if (tenantId == <%=superTenantId%>) { %>
      264: <td class="formRow">
      265: <select name="hostName">
      266: <% for (String vhostName : vhostHolder.getVhosts())

      { %> An error occurred at line: 275 in the jsp file: /webapp-mgt/upload.jsp Syntax error, insert "while ( Expression ) ;" to complete DoStatement 272: <% }

      %>
      273: </select>
      274: </td>
      275: <% } %>
      276: <td class="formRow">
      277: <input type="button" width='20px' class="button" onclick="addRow();" value=" + "/>
      278: </td>

        Attachments

          Activity

            People

            • Assignee:
              sameera@wso2.com Sameera Jayasoma
              Reporter:
              kishanthan@wso2.com Kishanthan Thangarajah
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: