[ https://issues.apache.org/jira/browse/SSHD-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951405#comment-15951405 ]
David Ostrovsky commented on SSHD-736: -------------------------------------- Thanks for the suggestion, Lyor. Done in: [1]. This indeed, fixed the problem, as you assumed. * [1] https://gerrit-review.googlesource.com/101850 > Filesystem collision in development environment > ----------------------------------------------- > > Key: SSHD-736 > URL: https://issues.apache.org/jira/browse/SSHD-736 > Project: MINA SSHD > Issue Type: Question > Affects Versions: 1.4.0 > Environment: Linux, Gerrit > Reporter: David Ostrovsky > Assignee: Goldstein Lyor > Priority: Minor > > In the development environment, we are using java filesystem, > to short circuit loading of servlets for the JavaScript Polymer UI. > Since upgrade to 1.4.0 Gerrit refuses to start in such dev environment. > I seems, that during start of FileSystem, it loads all file system providers > on the classpath. Since sshd-core is on the lcasspath, it's trying to load > also {{SftpFileSystemProvider}}, and is failing with class custom exception: > [1]. > Note, that we don't do that when booting release gerrit version, so we > do see this poblem only in the development environment. > We have 2 work arounds so far: disable file system usage in gerrit in this > code path: [2], or use custom built sshd-core version without this file[3]: > > {{sshd-core/src/main/filtered-resources/META-INF/services/java.nio.file.spi.FileSystemProvider}} > * [1] http://paste.openstack.org/show/604912 > * [2] http://paste.openstack.org/show/604911 > * [3] http://paste.openstack.org/show/604917 -- This message was sent by Atlassian JIRA (v6.3.15#6346)