VIVO-581 Add a diagnostic page
This commit is contained in:
parent
566119f510
commit
03750cd669
4 changed files with 89 additions and 0 deletions
|
@ -660,6 +660,15 @@
|
|||
<url-pattern>/admin/showAuth</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>ShowConfiguration</servlet-name>
|
||||
<servlet-class>edu.cornell.mannlib.vitro.webapp.controller.admin.ShowConfiguration</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>ShowConfiguration</servlet-name>
|
||||
<url-pattern>/admin/showConfiguration</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>StartupStatus</servlet-name>
|
||||
<servlet-class>edu.cornell.mannlib.vitro.webapp.controller.admin.StartupStatusController</servlet-class>
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Template viewing the authorization mechanisms: current identifiers, factories, policies, etc. -->
|
||||
|
||||
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" />')}
|
||||
|
||||
<h2>Configuration settings</h2>
|
||||
|
||||
<section id="show-auth" role="region">
|
||||
<h4>Build and runtime properties:</h4>
|
||||
<table summary="Build and Runtime Properties">
|
||||
<#list configurationProperties?keys as key>
|
||||
<tr>
|
||||
<td>${key}</td>
|
||||
<td>${configurationProperties[key]}</td>
|
||||
</tr>
|
||||
</#list>
|
||||
</table>
|
||||
<h4>Java system properties:</h4>
|
||||
<table summary="Java System Properties">
|
||||
<#list javaSystemProperties?keys as key>
|
||||
<tr>
|
||||
<td>${key}</td>
|
||||
<td>${javaSystemProperties[key]}</td>
|
||||
</tr>
|
||||
</#list>
|
||||
</table>
|
||||
</section>
|
|
@ -56,6 +56,8 @@
|
|||
Links
|
||||
<br/>
|
||||
<a href="${urls.base}/admin/log4j.jsp">Set log levels</a>
|
||||
<a href="${urls.base}/admin/showConfiguration">Show Configuration</a>
|
||||
<br/>
|
||||
<a href="${urls.base}/admin/showAuth">Show authorization info</a>
|
||||
<a href="${urls.base}/admin/showThreads">Show background threads</a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue