Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7488

Web Console: getServerBaseURL() undefined for ServerConfigImplMBean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • No Release
    • 6.0.0.M1
    • None
    • None

      Run Jboss AS 6M1, open the Web Console (not Admin Console).
      You'll see:

      org.apache.jasper.JasperException: Unable to compile class for JSP:

      An error occurred at line: 87 in the jsp file: /ServerInfo.jsp
      The method getServerBaseURL() is undefined for the type ServerConfigImplMBean
      84: <h4>Environment</h4>
      85: <p align="left"><font size="1"><b>Start date: </b><%=server.getStartDate()%></font></p>
      86: <p align="left"><font size="1"><b>Host: </b><%=serverInfo.getHostName()%> (<%=serverInfo.getHostAddress ()%>)</font></p>
      87: <p align="left"><font size="1"><b>Base Location: </b><%=serverConfig.getServerBaseURL()%></font></p>
      88: <p align="left"><font size="1"><b>Base Location (local): </b><%=serverConfig.getServerBaseDir()%></font></p>
      89: <p align="left"><font size="1"><b>Running config: </b>'<%= serverConfig.getServerHomeDir().getName()%>'</font></td>
      90: </tr>

      Kudos to Rado Husar.

              Unassigned Unassigned
              ozizka_jira Ondrej Zizka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: