You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Scott Leschke (JIRA)" <ji...@apache.org> on 2019/02/01 19:36:00 UTC

[jira] [Commented] (FELIX-5986) FielInstall logs ClosedWatchServiceException on Windows

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

Scott Leschke commented on FELIX-5986:
--------------------------------------

The ClosedWatchServerException now only appears to happen on an initial startup of Karaf after a fresh install.  Stopping and restarting Karaf seems to resolve the issue.

> FielInstall logs ClosedWatchServiceException on Windows
> -------------------------------------------------------
>
>                 Key: FELIX-5986
>                 URL: https://issues.apache.org/jira/browse/FELIX-5986
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>            Reporter: Scott Leschke
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>              Labels: windows
>
> The following exception stack appears repeatedly/continuously in the log file.  The effect seems to be that temporary bundles starting with C__ that are associated with directories within a recursive directory scan remain.after startup.
> This is relatively recent behavior that seems to have resulted from a reinstall of 4.2.1.
> 2018-11-21T09:05:29,288 | ERROR | fileinstall-C:/BAM | fileinstall | 10 - org.apache.felix.fileinstall - 3.6.4 | In main loop, we have serious trouble
> java.nio.file.ClosedWatchServiceException: null
>  at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80) ~[?:?]
>  at sun.nio.fs.AbstractWatchService.poll(AbstractWatchService.java:97) ~[?:?]
>  at org.apache.felix.fileinstall.internal.Watcher.processEvents(Watcher.java:163) ~[10:org.apache.felix.fileinstall:3.6.4]
>  at org.apache.felix.fileinstall.internal.WatcherScanner.scan(WatcherScanner.java:63) ~[10:org.apache.felix.fileinstall:3.6.4]
>  at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:311) [10:org.apache.felix.fileinstall:3.6.4]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)