Add tomcat ROOT apps for VMs
[jabaws.git] / statpages / ServicesStatus.jsp
index 7f5ffcd..54ae19d 100644 (file)
@@ -17,13 +17,19 @@ TODO refactor
 <div style="margin: 20px ">\r
 <h2 style="text-align: center;">JABAWS Services Status</h2>\r
 \r
-<ul style="font-weight: bold;">\r
-  <li>All the services are tested while this page is being loaded</li>\r
-  <li>If you want to test the services again, just reload this page.</li>\r
-  <li>Click on the service status to see the results of the testing.</li>\r
-  <li>Server tested: <a href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}">\r
-       ${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}\r
-       </a> </li>\r
+<c:set var="host" value="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}" />\r
+\r
+<ul style="font-weight:bold;">\r
+       <li>\r
+               This servlet tests if the web services are healthy on the tomcat instance on which JABAWS is deployed. <br/>\r
+               If the tomcat instance is mapped to another "proxy" web server, the servlet does not test availability of <br/>\r
+               the web services at the endpoints of this external web server.</li>\r
+       <li>All the web services are tested while this page is being loaded</li>\r
+       <li>If you want to test the services again, reload this page.</li>\r
+       <li>Click on the service status to see the results of the testing.</li>\r
+       <li>Server tested: <a href="${host}">${host}</a> </li>\r
+       <li>Time of execusion: ${timeexec} msec</li>\r
+       <li> Your IP is ${pageContext.request.remoteAddr}</li>\r
 </ul>\r
 \r
 <br/>\r
@@ -47,7 +53,7 @@ TODO refactor
        </c:if><c:if test="${status.count%2!=0}">\r
        <tr class="odd">\r
        </c:if>\r
-               <td width="100px">${res.service}</td>\r
+               <td width="100px"><a href="${host}/${res.service}?wsdl">${res.service}</a></td>\r
                <td>${res.version}</td>\r
                <c:if test="${res.status}">\r
                        <td><div class="source">\r
@@ -57,7 +63,7 @@ TODO refactor
                        <pre>${res.details}</pre>\r
                        </div></div></td>\r
                </c:if>\r
-               <c:if test="false == ${res.status}">\r
+               <c:if test="${!res.status}">\r
                        <td><div class="source">\r
                        <div class="header collapsed" onclick="$(this).toggleClassName('collapsed'); $(this).next('.body').toggleClassName('collapsed');"\r
                                title="Click to open/close"><span style="color: red">Fail</span></div>\r
@@ -97,7 +103,7 @@ TODO refactor
        </c:if><c:if test="${status.count%2!=0}">\r
        <tr class="odd">\r
        </c:if>\r
-               <td width="100px">${res.service}</td>\r
+               <td width="100px"><a href="${host}/${res.service}?wsdl">${res.service}</a></td>\r
                <td>${res.version}</td>\r
                <c:if test="${res.status}">\r
                        <td><div class="source">\r
@@ -107,7 +113,7 @@ TODO refactor
                        <pre>${res.details}</pre>\r
                        </div></div></td>\r
                </c:if>\r
-               <c:if test="false == ${res.status}">\r
+               <c:if test="${!res.status}">\r
                        <td><div class="source">\r
                        <div class="header collapsed" onclick="$(this).toggleClassName('collapsed'); $(this).next('.body').toggleClassName('collapsed');"\r
                                title="Click to open/close"><span style="color: red">Fail</span></div>\r
@@ -147,7 +153,7 @@ TODO refactor
        </c:if><c:if test="${status.count%2!=0}">\r
        <tr class="odd">\r
        </c:if>\r
-               <td width="100px">${res.service}</td>\r
+               <td width="100px"><a href="${host}/${res.service}?wsdl">${res.service}</a></td>\r
                <td>${res.version}</td>\r
                <c:if test="${res.status}">\r
                        <td><div class="source">\r
@@ -157,7 +163,7 @@ TODO refactor
                        <pre>${res.details}</pre>\r
                        </div></div></td>\r
                </c:if>\r
-               <c:if test="false == ${res.status}">\r
+               <c:if test="${!res.status}">\r
                        <td><div class="source">\r
                        <div class="header collapsed" onclick="$(this).toggleClassName('collapsed'); $(this).next('.body').toggleClassName('collapsed');"\r
                                title="Click to open/close"><span style="color: red">Fail</span></div>\r