Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
6116 | minor | always | 11-28-17 11:41 | 05-02-18 15:01 | |
|
|||||
Reporter: | wileysaw | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.54 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.57 | ||
|
|||||
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 |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|