1 <?xml version="1.0" encoding="ISO-8859-1" ?>
2 <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
6 This is a JSP fragment to be inserted into document, cannot be used alone
9 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
10 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
11 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
12 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>
14 <c:import url="../template_header.jsp" >
15 <c:param name="title">JABAWS Web Services Status</c:param>
16 <c:param name="html_custom_css"><link href="${pageContext.request.contextPath}/static/css/table.css"
17 rel="stylesheet"></c:param>
20 <div class="row" id="mainpage">
21 <div class="col-md-12">
22 <div class="panel panel-default">
23 <div class="panel panel-heading">
24 <h1 class="panel-title">JABAWS Services Status</h1>
26 <div class="panel-body">
28 <div style="margin: 20px ">
30 <c:set var="host" value="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}" />
34 This servlet tests if the web services are healthy on the tomcat instance on which JABAWS is deployed. <br/>
35 If the tomcat instance is mapped to another "proxy" web server, the servlet does not test availability of <br/>
36 the web services at the endpoints of this external web server.</li>
37 <li>All the web services are tested while this page is being loaded.</li>
38 <li>If you want to test the services again, reload this page.</li>
39 <li>Click on the service status to see the results of the testing.</li>
40 <li>Server tested: <a href="${host}">${host}</a> </li>
41 <li>Time of execusion: ${timeexec} msec</li>
42 <li> Your IP is ${pageContext.request.remoteAddr}</li>
45 <h3 style="text-align: center;color: green">
46 Alignment Web Services
51 <th title="Service name" width="100px">Service</th>
52 <th title="Service status">Version</th>
53 <th title="Service status">Status</th>
54 <th title="Service details">Reference and more details</th>
57 <c:forEach items="${results}" var="res" varStatus="status">
58 <c:if test="${res.group=='alignment'}">
59 <c:if test="${status.count%2==0}">
61 </c:if><c:if test="${status.count%2!=0}">
64 <td width="100px"><a href="${host}/${res.service}?wsdl">${res.service}</a></td>
65 <td>${res.version}</td>
66 <c:if test="${res.status}">
67 <td><div class="source">
68 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
69 title="Click to open/close"><span style="color: green">OK</span></div>
70 <div class="body collapsed" style="max-width: 400px;">
71 <pre>${res.details}</pre>
74 <c:if test="${!res.status}">
75 <td><div class="source">
76 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
77 title="Click to open/close"><span style="color: red">Fail</span></div>
78 <div class="body collapsed" style="max-width: 400px;">
79 <pre>${res.details}</pre>
82 <td><div class="source">
83 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
84 title="Click to open/close"><span style="color: brown">INFO</span></div>
85 <div class="body collapsed" style="max-width: 500px;">
86 <pre>${res.reference}</pre>
95 <h3 style="text-align: center;color: green;">
101 <th title="Service name" width="100px">Service</th>
102 <th title="Service status">Version</th>
103 <th title="Service status">Status</th>
104 <th title="Service details">Reference and more details</th>
107 <c:forEach items="${results}" var="res" varStatus="status">
108 <c:if test="${res.group=='disorder'}">
109 <c:if test="${status.count%2==0}">
111 </c:if><c:if test="${status.count%2!=0}">
114 <td width="100px"><a href="${host}/${res.service}?wsdl">${res.service}</a></td>
115 <td>${res.version}</td>
116 <c:if test="${res.status}">
117 <td><div class="source">
118 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
119 title="Click to open/close"><span style="color: green">OK</span></div>
120 <div class="body collapsed" style="max-width: 400px;">
121 <pre>${res.details}</pre>
124 <c:if test="${!res.status}">
125 <td><div class="source">
126 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
127 title="Click to open/close"><span style="color: red">Fail</span></div>
128 <div class="body collapsed" style="max-width: 400px;">
129 <pre>${res.details}</pre>
132 <td><div class="source">
133 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
134 title="Click to open/close"><span style="color: brown">INFO</span></div>
135 <div class="body collapsed" style="max-width: 500px;">
136 <pre>${res.reference}</pre>
145 <h3 style="text-align: center;color: green;">
151 <th title="Service name" width="100px">Service</th>
152 <th title="Service status">Version</th>
153 <th title="Service status">Status</th>
154 <th title="Service details">Reference and more details</th>
157 <c:forEach items="${results}" var="res" varStatus="status">
158 <c:if test="${res.group!='alignment' and res.group!='disorder'}">
159 <c:if test="${status.count%2==0}">
161 </c:if><c:if test="${status.count%2!=0}">
164 <td width="100px"><a href="${host}/${res.service}?wsdl">${res.service}</a></td>
165 <td>${res.version}</td>
166 <c:if test="${res.status}">
167 <td><div class="source">
168 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
169 title="Click to open/close"><span style="color: green">OK</span></div>
170 <div class="body collapsed" style="max-width: 400px;">
171 <pre>${res.details}</pre>
174 <c:if test="${!res.status}">
175 <td><div class="source">
176 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
177 title="Click to open/close"><span style="color: red">Fail</span></div>
178 <div class="body collapsed" style="max-width: 400px;">
179 <pre>${res.details}</pre>
182 <td><div class="source">
183 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
184 title="Click to open/close"><span style="color: brown">INFO</span></div>
185 <div class="body collapsed" style="max-width: 500px;">
186 <pre>${res.reference}</pre>
193 <p>If you would like to integrate JABAWS with automated health check system you may want to use
194 the HTTP code response service checker. It responds with HTTP status code depending on the status
196 For more information please refer to <a href="${pageContext.request.contextPath}/man_serverwar.jsp#usingWsTester">
197 Testing JABAWS server</a> help page.</p>
198 </div><!-- margin div -->
204 <jsp:include page="../template_footer.jsp" />