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

xnio-file-watcher exception #345

Closed
tdiesler opened this issue Mar 2, 2015 · 3 comments
Closed

xnio-file-watcher exception #345

tdiesler opened this issue Mar 2, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@tdiesler
Copy link
Contributor

tdiesler commented Mar 2, 2015

12:15:37,413 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) JBAS017535: Unregistered web context: /camel-lucene-tests
12:15:37,418 ERROR [stderr] (xnio-file-watcher[Watcher for /Users/tdiesler/git/wildfly-camel/itests/standalone/target/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/tempba30efa92c23d7f8/content-b18aaf1b4173a8fb/]-0) Exception in thread "xnio-file-watcher[Watcher for /Users/tdiesler/git/wildfly-camel/itests/standalone/target/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/tempba30efa92c23d7f8/content-b18aaf1b4173a8fb/]-0" java.nio.file.ClosedWatchServiceException
12:15:37,418 ERROR [stderr] (xnio-file-watcher[Watcher for /Users/tdiesler/git/wildfly-camel/itests/standalone/target/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/tempba30efa92c23d7f8/content-b18aaf1b4173a8fb/]-0)    at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)
12:15:37,418 ERROR [stderr] (xnio-file-watcher[Watcher for /Users/tdiesler/git/wildfly-camel/itests/standalone/target/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/tempba30efa92c23d7f8/content-b18aaf1b4173a8fb/]-0)    at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)
12:15:37,418 ERROR [stderr] (xnio-file-watcher[Watcher for /Users/tdiesler/git/wildfly-camel/itests/standalone/target/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/tempba30efa92c23d7f8/content-b18aaf1b4173a8fb/]-0)    at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)
12:15:37,419 ERROR [stderr] (xnio-file-watcher[Watcher for /Users/tdiesler/git/wildfly-camel/itests/standalone/target/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/tempba30efa92c23d7f8/content-b18aaf1b4173a8fb/]-0)    at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)
12:15:37,419 ERROR [stderr] (xnio-file-watcher[Watcher for /Users/tdiesler/git/wildfly-camel/itests/standalone/target/wildfly-8.2.0.Final/standalone/tmp/vfs/temp/tempba30efa92c23d7f8/content-b18aaf1b4173a8fb/]-0)    at java.lang.Thread.run(Thread.java:745)
@tdiesler tdiesler added the bug label Mar 2, 2015
@tdiesler tdiesler self-assigned this Mar 2, 2015
@tdiesler tdiesler added this to the 2.2.0 milestone Mar 2, 2015
@tdiesler tdiesler changed the title File not closed in xnio xnio-file-watcher exception Mar 2, 2015
@tdiesler
Copy link
Contributor Author

tdiesler commented Mar 4, 2015

The WatchService is closed by

Thread [MSC service thread 1-5] (Suspended (breakpoint at line 208 in WatchServiceFileSystemWatcher))   
    owns: FileResourceManager  (id=432) 
    owns: UndertowDeploymentInfoService  (id=433)   
    WatchServiceFileSystemWatcher.close() line: 208 
    FileResourceManager.close() line: 194   
    ServletResourceManager.close() line: 90 
    CachingResourceManager.close() line: 166    
    IoUtils.safeClose(Closeable) line: 134  
    UndertowDeploymentInfoService.stop(StopContext) line: 402   
    ServiceControllerImpl$StopTask.stopService(Service<? extends S>, StopContext) line: 2056    
    ServiceControllerImpl$StopTask.run() line: 2017 
    ServiceContainerImpl$ContainerExecutor(ThreadPoolExecutor).runWorker(ThreadPoolExecutor$Worker) line: 1142  
    ThreadPoolExecutor$Worker.run() line: 617   
    ServiceContainerImpl$ServiceThread(Thread).run() line: 745  

@tdiesler
Copy link
Contributor Author

tdiesler commented Mar 4, 2015

Blocked by: https://issues.jboss.org/browse/XNIO-240

Waiting for 3.3.1.Final

@tdiesler tdiesler modified the milestones: 2.2.0, 2.3.0 Mar 23, 2015
@tdiesler tdiesler modified the milestones: 2.3.0, 3.0.0 Apr 20, 2015
@tdiesler tdiesler modified the milestones: 3.0.0, 3.1.0 Jul 21, 2015
@tdiesler tdiesler removed the blocked label Sep 9, 2015
@tdiesler
Copy link
Contributor Author

tdiesler commented Sep 9, 2015

Fixed in wildfly-9.0.0.CR1

@tdiesler tdiesler closed this as completed Sep 9, 2015
@tdiesler tdiesler modified the milestones: 3.0.0, 3.1.0 Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant