[jbosstools-issues] [JBoss JIRA] (JBIDE-15203) Error publishing html files to WildFly (WildFly locks deployed files)

Fred Bricon (JIRA) jira-events at lists.jboss.org
Tue Jul 16 05:39:26 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-15203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789858#comment-12789858 ] 

Fred Bricon commented on JBIDE-15203:
-------------------------------------

JBoss Tools first copies the file from the workspace to the tmp dir, then tries to move the copy and overwrite the original file in the deployment folder.

But JBT is irrelevant here. If you create an html file directly in the deployment directory, once it's been accessed with the browser, subsequent file edits fail because the file is locked by the server java process.
                
> Error publishing html files to WildFly (WildFly locks deployed files)
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-15203
>                 URL: https://issues.jboss.org/browse/JBIDE-15203
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.1.0.CR1
>         Environment: Win 7
>            Reporter: Fred Bricon
>            Assignee: Rob Stryker
>            Priority: Blocker
>             Fix For: 4.1.x
>
>
> Created a simple maven web app, deployed onto a WildFly 8.0.0.Alpha2. The edited an index.html file and got 
> {noformat}
> Error renaming D:\Dev\servers\wildfly-8.0.0.Alpha2\standalone\tmp\tmp8284536747609996823.html to D:\Dev\servers\wildfly-8.0.0.Alpha2\standalone\deployments\w.war\index.html. 
> This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination.
> You may adjust these settings in the server editor.
> {noformat}
> Obviously the filesystem is identical.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list