init
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<!DOCTYPE web-app
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
|
||||
"http://java.sun.com/dtd/web-app_2_3.dtd">
|
||||
|
||||
<web-app>
|
||||
<display-name>Welcome to JBoss</display-name>
|
||||
<description>
|
||||
Welcome to JBoss
|
||||
</description>
|
||||
<servlet>
|
||||
<servlet-name>Status Servlet</servlet-name>
|
||||
<servlet-class>org.jboss.web.tomcat.service.StatusServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>Status Servlet</servlet-name>
|
||||
<url-pattern>/status</url-pattern>
|
||||
</servlet-mapping>
|
||||
</web-app>
|
||||
BIN
dcm4chee/default/deploy/jboss-web.deployer/ROOT.war/favicon.ico
Normal file
BIN
dcm4chee/default/deploy/jboss-web.deployer/ROOT.war/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Welcome to JBoss™</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<link rel="StyleSheet" href="jboss.css" type="text/css"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- header begin -->
|
||||
<a href="http://www.jboss.org">
|
||||
<img src="logo.gif" alt="JBoss" id="logo" width="226" height="105" />
|
||||
</a>
|
||||
<div id="header"> </div>
|
||||
<div id="navigation_bar"></div>
|
||||
<!-- header end -->
|
||||
|
||||
<h3>JBoss Online Resources</h3>
|
||||
<ul>
|
||||
<li><a href="http://www.jboss.org/jbossas/docs">JBoss AS Documentation</a></li>
|
||||
<li><a href="http://wiki.jboss.org">JBoss Wiki</a></li>
|
||||
<li><a href="http://jira.jboss.org/jira/browse/JBAS">JBoss JIRA</a></li>
|
||||
<li><a href="http://www.jboss.org/index.html?module=bb">JBoss Forums</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>JBoss Management</h3>
|
||||
<ul>
|
||||
<li><a href="/status">Tomcat status</a>
|
||||
<a href="/status?full=true">(full)</a>
|
||||
<a href="/status?XML=true">(XML)</a></li>
|
||||
<li><a href="/jmx-console/">JMX Console</a></li>
|
||||
<li><a href="/web-console/">JBoss Web Console</a></li>
|
||||
</ul>
|
||||
|
||||
<!-- footer begin -->
|
||||
<div id="footer">
|
||||
<div id="credits">
|
||||
<a href="http://www.jboss.org/jbossas">JBoss™ Application Server</a>
|
||||
</div>
|
||||
<div id="footer_bar"> </div>
|
||||
</div>
|
||||
<!-- footer end -->
|
||||
</body>
|
||||
|
||||
</html>
|
||||
143
dcm4chee/default/deploy/jboss-web.deployer/ROOT.war/jboss.css
Normal file
143
dcm4chee/default/deploy/jboss-web.deployer/ROOT.war/jboss.css
Normal file
@@ -0,0 +1,143 @@
|
||||
body {
|
||||
margin: 13px 0px 10px 0px;
|
||||
background-color: #ffffff;
|
||||
font-size: 10px;
|
||||
font-family: verdana, arial, "sans-serif";
|
||||
color: #606060;
|
||||
}
|
||||
img {
|
||||
border: 0px;
|
||||
}
|
||||
#header {
|
||||
background-color: #003D6E;
|
||||
background-repeat: no-repeat;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
}
|
||||
#header #banner {
|
||||
float: right;
|
||||
margin: 8px 5px 0px 0px;
|
||||
}
|
||||
#logo {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 4px;
|
||||
z-index: 200;
|
||||
}
|
||||
#navigation_bar {
|
||||
background-color: #f0f0f0;
|
||||
border-bottom: 1px dotted #999999;
|
||||
height: 20px;
|
||||
}
|
||||
#items {
|
||||
font-size: 12px;
|
||||
width: 600px;
|
||||
margin: 5px 5px 5px 170px;
|
||||
position: relative;
|
||||
z-index: 300;
|
||||
}
|
||||
#items .item {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.side_block {
|
||||
margin: 15px 5px 10px 5px;
|
||||
background-color: #fbfbfb;
|
||||
border: 1px solid #f0f0f0;
|
||||
}
|
||||
.side_block h3 {
|
||||
font-size: 11px;
|
||||
font-weight: 100;
|
||||
width: 100%;
|
||||
margin: 0px 0px 5px 0px;
|
||||
padding: 4px 4px 4px 10x;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
.side_block h4 {
|
||||
font-size: 11px;
|
||||
color: #003D6E;
|
||||
font-weight: bold;
|
||||
margin: 10px 5px 4px 5px;
|
||||
}
|
||||
.side_block p {
|
||||
margin: 5px 5px 3px 5px;
|
||||
}
|
||||
.side_block form {
|
||||
margin: 0px 0px 0px 5px;
|
||||
}
|
||||
.side_block #login {
|
||||
font-size: 9px;
|
||||
}
|
||||
.side_block p img {
|
||||
text-align: center;
|
||||
}
|
||||
#content {
|
||||
width: 90%;
|
||||
margin: 10px auto;
|
||||
}
|
||||
#left {
|
||||
float: left;
|
||||
width: 14%;
|
||||
}
|
||||
#right {
|
||||
float: right;
|
||||
width: 14%;
|
||||
}
|
||||
.content_block {
|
||||
text-align: justify;
|
||||
border: 1px solid #999999;
|
||||
margin: 5px;
|
||||
width: 31%;
|
||||
float: left;
|
||||
}
|
||||
.content_block p {
|
||||
margin: 0px 5px 3px 5px;
|
||||
}
|
||||
.content_block h3 {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
color: #000000;
|
||||
margin: 0px 0px 5px 0px;
|
||||
padding: 4px 4px 4px 4x;
|
||||
text-align: center;
|
||||
background-color: #f0f0f0;
|
||||
border-bottom: 1px solid #999999
|
||||
}
|
||||
.content_block h4 {
|
||||
font-size: 11px;
|
||||
color: #003D6E;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
margin: 10px 5px 4px 5px;
|
||||
}
|
||||
#footer {
|
||||
clear: both;
|
||||
border-top: 1px dotted #999999;
|
||||
}
|
||||
#credits {
|
||||
background-color: #f0f0f0;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
#footer_bar {
|
||||
height: 20px;
|
||||
width: 100%;
|
||||
background-color: #003D6E;
|
||||
}
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
.spacer {
|
||||
clear: both;
|
||||
}
|
||||
.spacer hr {
|
||||
display: none;
|
||||
}
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
#youcandoit {
|
||||
background-image: url("youcandoit.jpg");
|
||||
background-repeat: repeat-x;
|
||||
height: 165px;
|
||||
margin: 0px 30px 0px 30px;
|
||||
}
|
||||
BIN
dcm4chee/default/deploy/jboss-web.deployer/ROOT.war/logo.gif
Normal file
BIN
dcm4chee/default/deploy/jboss-web.deployer/ROOT.war/logo.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0">
|
||||
|
||||
<!-- Output method -->
|
||||
<xsl:output encoding="iso-8859-1"
|
||||
indent="no"/>
|
||||
|
||||
<xsl:template match="status">
|
||||
<html>
|
||||
<head>
|
||||
<TITLE>Tomcat Status</TITLE>
|
||||
<STYLE type="text/css">
|
||||
body, table, tr, td, a, div, span {
|
||||
vertical-align : top;
|
||||
}
|
||||
</STYLE>
|
||||
</head>
|
||||
<body>
|
||||
<div style='font-size:20px;'>Tomcat Status</div>
|
||||
|
||||
<xsl:apply-templates select="jvm"/>
|
||||
<xsl:apply-templates select="connector"/>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="jvm">
|
||||
<xsl:apply-templates select="memory"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="memory">
|
||||
<table><tr>
|
||||
<td><b>JVM:</b></td>
|
||||
<td><b>free:</b> <xsl:value-of select="@free"/></td>
|
||||
<td><b>total:</b> <xsl:value-of select="@total"/></td>
|
||||
<td><b>max:</b> <xsl:value-of select="@max"/></td>
|
||||
</tr>
|
||||
</table><hr />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="connector">
|
||||
<b>Connector -- </b> <xsl:value-of select="@name"/><br />
|
||||
|
||||
<xsl:apply-templates select="threadInfo"/>
|
||||
<xsl:apply-templates select="requestInfo"/>
|
||||
<xsl:apply-templates select="workers"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="threadInfo">
|
||||
<table><tr>
|
||||
<td><b>threadInfo </b></td>
|
||||
<td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>
|
||||
<td><b>minSpareThreads:</b> <xsl:value-of select="@minSpareThreads"/></td>
|
||||
<td><b>maxSpareThreads:</b> <xsl:value-of select="@maxSpareThreads"/></td>
|
||||
<td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>
|
||||
<td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>
|
||||
</tr>
|
||||
</table><hr />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="requestInfo">
|
||||
<table><tr>
|
||||
<td><b>requestInfo </b></td>
|
||||
<td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>
|
||||
<td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>
|
||||
<td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>
|
||||
<td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>
|
||||
<td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>
|
||||
<td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>
|
||||
</tr>
|
||||
</table><hr />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="workers">
|
||||
<table>
|
||||
<tr><th>Stage</th><th>Time</th><th>B Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>
|
||||
<xsl:apply-templates select="worker"/>
|
||||
|
||||
</table><hr />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="worker">
|
||||
<tr>
|
||||
<td><xsl:value-of select="@stage"/></td>
|
||||
<td><xsl:value-of select="@requestProcessingTime"/></td>
|
||||
<td><xsl:value-of select="@requestBytesSent"/></td>
|
||||
<td><xsl:value-of select="@requestBytesReceived"/></td>
|
||||
<td><xsl:value-of select="@remoteAddr"/></td>
|
||||
<td><xsl:value-of select="@virtualHost"/></td>
|
||||
<td><xsl:value-of select="@method"/> <xsl:value-of select="@currentUri"/>?<xsl:value-of select="@currentQueryString"/> <xsl:value-of select="@protocol"/></td>
|
||||
</tr>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
Reference in New Issue
Block a user