Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 567AECE36 for ; Wed, 6 Jun 2012 02:05:01 +0000 (UTC) Received: (qmail 80233 invoked by uid 500); 6 Jun 2012 02:05:00 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 80165 invoked by uid 500); 6 Jun 2012 02:05:00 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 80153 invoked by uid 99); 6 Jun 2012 02:05:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 02:05:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 02:04:59 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 406FD5164; Wed, 6 Jun 2012 02:04:39 +0000 (UTC) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: [Bug 53366] Running with SecurityManager: protected/index.jsp returns blank page when it is the first page accessed Date: Wed, 06 Jun 2012 02:04:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 7 X-Bugzilla-Component: Catalina X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: knst.kolinko@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=53366 --- Comment #1 from Konstantin Kolinko --- I turned on fine logging for coyote, catalina and tomcat. There are no stacktraces being printed. The first notable difference between failed run with -security and successful run without -security is that in the failed run I see FINE: loadClass(javax.servlet.jsp.SkipPageException, false) while on successful run I see no such class being loaded. The second is that on successful run I see debug messages from org.apache.tomcat.util.buf.UEncoder while on failed one I do not see them. Looking into generated Java code, login_jsp.java, I see the following block: [[[ try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("Login Page for Examples\r\n"); out.write("\r\n"); out.write("