2 Replies Latest reply on Nov 26, 2014 2:36 AM by Frank Langelage

    Getting ClosedWatchServiceException

    Frank Langelage Master

      For some time now I see error messages on redeployment of ear and on shutdown of WF server (WF 9 built from sources of github master).

      Redeployment means, deleting the ear in deployments folder first and then copying a new one there.

      Exceptions are related to the web-modules inside the ear file.

      This might be platform dependent, I see it on Solaris SPARC (no AIO). Did not have the chance to test on other platform. But WF server versions 7.x and 8.x did not show these kind of error messages.

      Is this a bug? If yes, for whom?

       

      17.11. 09:26:28,811 ERROR [stderr#write] Exception in thread "xnio-file-watcher[Watcher for /mbi/tools/jboss/9.0/standalone/tmp/vfs/deployment/deployment3354b42b562390dd/ws-production.war-cf740e43e13e5a81/]-0" java.nio.file.ClosedWatchServiceException

      17.11. 09:26:28,814 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)

      17.11. 09:26:28,815 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)

      17.11. 09:26:28,816 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)

      17.11. 09:26:28,817 ERROR [stderr#write]     at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)

      17.11. 09:26:28,818 ERROR [stderr#write]     at java.lang.Thread.run(Thread.java:745)

      17.11. 09:26:29,092 ERROR [stderr#write] Exception in thread "xnio-file-watcher[Watcher for /mbi/tools/jboss/9.0/standalone/tmp/vfs/deployment/deployment3354b42b562390dd/ws-inventory.war-fde7107a498c07aa/]-0" Exception in thread "xnio-file-watcher[Watcher for /mbi/tools/jboss/9.0/standalone/tmp/vfs/deployment/deployment3354b42b562390dd/ws-purchase.war-fd1ec21ad06d282e/]-0" Exception in thread "xnio-file-watcher[Watcher for /mbi/tools/jboss/9.0/standalone/tmp/vfs/deployment/deployment3354b42b562390dd/ws-core.war-f24fc2188bfe3c19/]-0" Exception in thread "xnio-file-watcher[Watcher for /mbi/tools/jboss/9.0/standalone/tmp/vfs/deployment/deployment3354b42b562390dd/ws-common.war-f365e92f23ae6d53/]-0" Exception in thread "xnio-file-watcher[Watcher for /mbi/tools/jboss/9.0/standalone/tmp/vfs/deployment/deployment3354b42b562390dd/ws-distribution.war-93cb9f7bc6b5de50/]-0" Exception in thread "xnio-file-watcher[Watcher for /mbi/tools/jboss/9.0/standalone/tmp/vfs/deployment/deployment3354b42b562390dd/ws-external.war-dee0da0464cb78b9/]-0" Exception in thread "xnio-file-watcher[Watcher for /mbi/tools/jboss/9.0/standalone/tmp/vfs/deployment/deployment3354b42b562390dd/ws-sales.war-825d809cf9c9aee4/]-0" Exception in thread "xnio-file-watcher[Watcher for /mbi/tools/jboss/9.0/standalone/tmp/vfs/deployment/deployment3354b42b562390dd/ws-planning.war-483df34c3466de90/]-0" Exception in thread "xnio-file-watcher[Watcher for /mbi/tools/jboss/9.0/standalone/tmp/vfs/deployment/deployment3354b42b562390dd/web.war-2c909630ee80cf92/]-0" java.nio.file.ClosedWatchServiceException

      17.11. 09:26:29,106 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)

      17.11. 09:26:29,107 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)

      17.11. 09:26:29,108 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)

      17.11. 09:26:29,109 ERROR [stderr#write]     at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)

      17.11. 09:26:29,110 ERROR [stderr#write]     at java.lang.Thread.run(Thread.java:745)

      17.11. 09:26:29,111 ERROR [stderr#write] java.nio.file.ClosedWatchServiceException

      17.11. 09:26:29,113 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)

      17.11. 09:26:29,114 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)

      17.11. 09:26:29,115 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)

      17.11. 09:26:29,115 ERROR [stderr#write]     at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)

      17.11. 09:26:29,116 ERROR [stderr#write]     at java.lang.Thread.run(Thread.java:745)

      17.11. 09:26:29,118 ERROR [stderr#write] java.nio.file.ClosedWatchServiceException

      17.11. 09:26:29,119 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)

      17.11. 09:26:29,120 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)

      17.11. 09:26:29,121 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)

      17.11. 09:26:29,121 ERROR [stderr#write]     at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)

      17.11. 09:26:29,122 ERROR [stderr#write]     at java.lang.Thread.run(Thread.java:745)

      17.11. 09:26:29,123 ERROR [stderr#write] java.nio.file.ClosedWatchServiceException

      17.11. 09:26:29,125 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)

      17.11. 09:26:29,126 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)

      17.11. 09:26:29,127 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)

      17.11. 09:26:29,128 ERROR [stderr#write]     at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)

      17.11. 09:26:29,129 ERROR [stderr#write]     at java.lang.Thread.run(Thread.java:745)

      17.11. 09:26:29,130 ERROR [stderr#write] java.nio.file.ClosedWatchServiceException

      17.11. 09:26:29,131 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)

      17.11. 09:26:29,132 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)

      17.11. 09:26:29,133 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)

      17.11. 09:26:29,188 ERROR [stderr#write]     at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)

      17.11. 09:26:29,189 ERROR [stderr#write]     at java.lang.Thread.run(Thread.java:745)

      17.11. 09:26:29,193 ERROR [stderr#write] java.nio.file.ClosedWatchServiceException

      17.11. 09:26:29,194 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)

      17.11. 09:26:29,195 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)

      17.11. 09:26:29,196 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)

      17.11. 09:26:29,197 ERROR [stderr#write]     at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)

      17.11. 09:26:29,198 ERROR [stderr#write]     at java.lang.Thread.run(Thread.java:745)

      17.11. 09:26:29,199 ERROR [stderr#write] java.nio.file.ClosedWatchServiceException

      17.11. 09:26:29,201 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)

      17.11. 09:26:29,201 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)

      17.11. 09:26:29,202 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)

      17.11. 09:26:29,203 ERROR [stderr#write]     at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)

      17.11. 09:26:29,204 ERROR [stderr#write]     at java.lang.Thread.run(Thread.java:745)

      17.11. 09:26:29,210 ERROR [stderr#write] java.nio.file.ClosedWatchServiceException

      17.11. 09:26:29,212 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)

      17.11. 09:26:29,213 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)

      17.11. 09:26:29,214 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)

      17.11. 09:26:29,215 ERROR [stderr#write]     at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)

      17.11. 09:26:29,216 ERROR [stderr#write]     at java.lang.Thread.run(Thread.java:745)

      17.11. 09:26:29,218 ERROR [stderr#write] java.nio.file.ClosedWatchServiceException

      17.11. 09:26:29,221 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)

      17.11. 09:26:29,222 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)

      17.11. 09:26:29,223 ERROR [stderr#write]     at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)

      17.11. 09:26:29,299 ERROR [stderr#write]     at org.xnio.nio.WatchServiceFileSystemWatcher.run(WatchServiceFileSystemWatcher.java:85)

      17.11. 09:26:29,300 ERROR [stderr#write]     at java.lang.Thread.run(Thread.java:745)