[jbosstools-issues] [JBoss JIRA] (JBIDE-22145) nio WatchService possibly causing errors / locking files on windows
Rob Stryker (JIRA)
issues at jboss.org
Mon Apr 11 09:45:01 EDT 2016
[ https://issues.jboss.org/browse/JBIDE-22145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189866#comment-13189866 ]
Rob Stryker commented on JBIDE-22145:
-------------------------------------
Relevent links:
openjdk jira: https://bugs.openjdk.java.net/browse/JDK-8153925
mailing list thread: http://mail.openjdk.java.net/pipermail/jdk8u-dev/2016-April/005265.html
Patch: http://cr.openjdk.java.net/~akasko/jdk8u/8153925/webrev.00/src/windows/classes/sun/nio/fs/WindowsWatchService.java.cdiff.html
> nio WatchService possibly causing errors / locking files on windows
> -------------------------------------------------------------------
>
> Key: JBIDE-22145
> URL: https://issues.jboss.org/browse/JBIDE-22145
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.3.0.Final
> Environment: - Windows 7 x64
> - jdk1.8.0_77 (32-bit)
> - Eclipse Mars.2 (32-bit)
> - JBoss Tools 4.3.0.FINAL
> - Wildfly 10.0.0.FINAL
> Reporter: Tobias van den Berg
> Assignee: Thomas Mäder
> Priority: Critical
> Fix For: 4.4.0.Alpha1
>
> Attachments: FailureWatchModify1.PML, FileWatchError.zip, FSWatcherHang.txt, Logfile.PML, OkWatchModify1.PML
>
>
> The following error is thrown after publishing a maven webapplication (.war) to Wildfly 10.0:
> "Error renaming C:\wildfly-10.0.0.Final\standalone\tmp\tmp8945090880188299781.properties to C:\wildfly-10.0.0.Final\standalone\deployments\WebViewer-0.0.3-SNAPSHOT.war\META-INF\maven\nl.incad.webviewer\WebViewer\pom.properties.
> This may be caused by incorrect file permissions, or your server's temporary deploy directory may be on a different filesystem than the final destination.
> You may adjust these settings in the server editor."
> The webapplication is no longer available/online after the error. The only solution is to restart the server and to re-add the webapplication to the server. This makes it very hard to develop/test a webapplication on wildfly 10. The same error is thrown on wildfly 8.0/8.1, but the difference is that the webapplication is still available/online after the error.
> I've tried/tested the following:
> - Checked/updated Windows file permisions for the wildfly directory
> - Take ownership of the wildfly directory (recursively)
> - Disabled Windows User Account Control (UAC)
> - Run Eclipse as Admin
> Relates to:
> - JBIDE-18697
> - JBIDE-17545
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list