Anonymous | Login | Signup for a new account | 12-17-2024 08:37 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0006116 | [Resin] | minor | always | 11-28-17 11:41 | 05-02-18 15:01 | ||||
Reporter | wileysaw | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.54 | ||||||
Summary | 0006116: DependencyCheckWorker serves non-modified .jsp before serving new compiled .jsp | ||||||||
Description |
Java class: package com.util; public class tmp { public static String tmp() { return "TEST 123"; } } index.jsp <%=com.util.tmp.tmp()%> Steps to reproduce: 1. Access jsp page 2. Change value of string 3. Access jsp page again DependencyCheckWorker notices the file was modified but serves the old page before recompiling. [17-11-28 11:33:20.229] {resin-port-8080-48} Http[default, 1] GET /test/ HTTP/1.1 [17-11-28 11:33:20.229] {resin-port-8080-48} Http[default, 1] Remote-IP: 0:0:0:0:0:0:0:1:54440 [17-11-28 11:33:20.229] {resin-port-8080-48} Http[default, 1] Host: localhost:8080 [17-11-28 11:33:20.229] {resin-port-8080-48} Http[default, 1] User-Agent: curl/7.54.0 [17-11-28 11:33:20.229] {resin-port-8080-48} Http[default, 1] Accept: */* [17-11-28 11:33:20.229] {resin-port-8080-48} Dispatch '/' to AccessLogFilterChain[http://localhost:8080/test, [^] next=WebAppFilterChain[http://localhost:8080/test, [^] next=RewriteDispatchFilterChain[/index.jsp]]] [17-11-28 11:33:20.229] {resin-port-8080-48} Dispatch '/index.jsp' to DispatchFilterChain[PageFilterChain[JspServlet[WebApp[production/webapp/default/test]]]] [17-11-28 11:33:20.229] {DependencyCheckWorker[]-22} source modified time: /Users/Downloads/resin-pro-4.0.54/webapps/test/WEB-INF/classes/com/util/tmp.java old:Tue, 28 Nov 2017 11:31:20 -0800 (PST) new:Tue, 28 Nov 2017 11:33:10 -0800 (PST) [17-11-28 11:33:20.230] {resin-port-8080-48} SessionImpl[aaaeHIErpk1Aye_Cfheaw,/test] new [17-11-28 11:33:20.230] {resin-port-8080-48} SessionImpl[aaaeHIErpk1Aye_Cfheaw,/test] create session [17-11-28 11:33:20.230] {resin-port-8080-48} Http[default, 1] HTTP/1.1 200 OK [17-11-28 11:33:20.230] {resin-port-8080-48} Http[default, 1] Cache-Control: private [17-11-28 11:33:20.230] {resin-port-8080-48} Http[default, 1] Set-Cookie: JSESSIONID=aaaeHIErpk1Aye_Cfheaw; path=/ [17-11-28 11:33:20.230] {resin-port-8080-48} Http[default, 1] Content-Type: text/html; charset=utf-8 [17-11-28 11:33:20.230] {resin-port-8080-48} Http[default, 1] Content-Length: 4 [17-11-28 11:33:20.230] {resin-port-8080-48} Http[default, 1] write-set-offset(219) [17-11-28 11:33:20.230] {resin-port-8080-48} Http[default, 1] finish/keepalive [17-11-28 11:33:20.230] {resin-44} Compiling com/util/tmp.java |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 27 unique queries executed. |