Mantis - Resin
Viewing Issue Advanced Details
6015 feature always 09-02-16 15:17 11-10-16 15:59
alex  
ferg  
normal  
closed 4.0.49  
fixed  
none    
none 4.0.50  
0006015: Allow server id be muted on error pages
Allow server id be muted on error pages such as below
HTTP/1.1 500 Internal Server Error
Server: noyb
Set-Cookie: JSESSIONID=aaabe8OuLM_6867tI9SBv; path=/
Content-Type: text/html; charset=utf-8
Content-Length: 2014
Date: Fri, 02 Sep 2016 22:12:55 GMT

<html>
<head><title>500 Servlet Exception</title></head>
<body>
<h1>500 Servlet Exception</h1>
<code>
<script language='javascript' type='text/javascript'>
function show() { document.getElementById('trace').style.display = ''; }
</script>
javascript:show(); java.lang.RuntimeException
<span id="trace" style="display:none">
java.lang.RuntimeException
    at _jsp._test__jsp._jspService(test.jsp:2)
    at _jsp._test__jsp._jspService(_test__jsp.java:29)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:64)
    at com.caucho.jsp.Page.pageservice(Page.java:548)
    at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:194)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
    at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:838)
    at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1349)
    at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1305)
    at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1289)
    at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1197)
    at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:993)
    at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
    at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
    at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:
169)
    at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
    at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
    at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
</span>
</code>

<hr />
<small>
noyb
Server: 'app-0'
</small>
</body></html>
~ $


Notes
(0006723)
ferg   
11-10-16 15:59   
Added error-page-server-id
server/12o7