[
https://issues.apache.org/jira/browse/WICKET-3957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082461#comment-13082461
]
Todd Heaps commented on WICKET-3957:
------------------------------------
I forgot to also mention that we had already tried turning off resource polling
as you described and got the same results. I've dug into the code a little bit,
focusing on ModificationWatcher and related code, and have followed resource
stream opens and corresponding closes. Every opened connection appears to be
eventually getting closed at some point within the request cycle.
> PackageResource file locking problem
> ------------------------------------
>
> Key: WICKET-3957
> URL: https://issues.apache.org/jira/browse/WICKET-3957
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5-RC5.1
> Environment: Windows 7, JBoss 5.1.0.GA, Eclipse Helios/Indigo
> Reporter: Todd Heaps
> Attachments: file-locking-1.4.zip, file-locking.zip,
> jboss-5.1-installation.txt
>
>
> After moving from 1.4.x to 1.5-RC5.1, updates to resources loaded via
> IHeaderContributor.renderHead() cause file and/or directory locking problems
> on individual files and/or at the base package directory level. The resulting
> locking problems disallow changes to resources without stopping the server,
> followed by a project refresh, rebuild, and server restart. This obviously
> slows down development time quite severely.
> Comparable quick starts generated from 1.4.17 and 1.5-SNAPSHOT demonstrate
> the problem in 1.5 but no problem in 1.4.17. Similar testing in Linux reveals
> no problems, nor does there appear to be a problem when using the generated
> quick starts with Jetty. This seems to be a JBoss and Windows with Wicket 1.5
> specific problem.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira