[ 
https://issues.apache.org/jira/browse/WICKET-3957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082243#comment-13082243
 ] 

Martin Grigorov commented on WICKET-3957:
-----------------------------------------

webapp/WEB-INF/style.css is not even managed by Wicket. It is served by the web 
container. 
HomePage.html loads it with <link rel="stylesheet" href="style.css" 
type="text/css" media="screen" title="Stylesheet" charset="utf-8" />.

Can you try to modify it with another editor, not with Eclipse? I'm interested 
who is keeping the lock to the file. I'm not Windows user but I know 'Process 
Explorer' tool is very useful for such cases. It can show you the open file 
handles to any file. It is something like "lsof" for Unix-es.

Recently there was a discussion about similar problem: 
http://apache-wicket.1842946.n4.nabble.com/Deploiment-problem-of-wicket-application-with-Jboss-5-1-td3599396.html
Maybe there is something related with ModificationWatcher. Can you try with 
Application#init(): getResourceSettings.setResourcePollFrequency(null) in DEV 
mode ?

> 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
>
> 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

        

Reply via email to