Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no content change detected when a file is replaced by a different one created at the same time or earlier #14

Open
glassfishrobot opened this issue Nov 9, 2012 · 3 comments

Comments

@glassfishrobot
Copy link

Hi,

I have first reported this issue in Jetty's bugzilla. There, Jan Bartel sent me here, helping me realize that it was part of a bigger picture that had been heavily discussed for Tomcat (see https://issues.apache.org/bugzilla/show_bug.cgi?id=33453).

The problem I'm reporting occurs even in development mode (no other associated param set), where each JSP page change should be checked and detected for each access.

When a JSP file that has been accessed (compiled) is replaced (by command mv or rsync, for example) by a different file (content or size) that happens to have been created at the same time or earlier, changes remain undetected and the initial (obsolete) content is still served.
It took us hours to figure out why some pages where not updated.

Sidenote: we would have expected a real development mode where changes would be detected with "perfect" reliability (checksum) for each access whatever the nature of the change is, and a more production-oriented mode where they would be detected with best effort (if timestamp or size is different) for each access. And no mode we are aware of seems to correspond to these needs, that we would have thought quite common.

Thanks

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by heychenne

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JSP-32

@glassfishrobot
Copy link
Author

@glassfishrobot glassfishrobot self-assigned this Aug 17, 2018
@markt-asf markt-asf transferred this issue from jakartaee/pages Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant