You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2018/12/16 06:16:00 UTC
[jira] [Resolved] (SSHD-876) Cannot load
'org/apache/sshd/sshd-version.properties' in OSGi (Karaf) environment
[ https://issues.apache.org/jira/browse/SSHD-876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Goldstein Lyor resolved SSHD-876.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.1.1
> Cannot load 'org/apache/sshd/sshd-version.properties' in OSGi (Karaf) environment
> ---------------------------------------------------------------------------------
>
> Key: SSHD-876
> URL: https://issues.apache.org/jira/browse/SSHD-876
> Project: MINA SSHD
> Issue Type: Wish
> Affects Versions: 1.6.0
> Reporter: Martin Lichtin
> Assignee: Goldstein Lyor
> Priority: Major
> Fix For: 2.1.1
>
>
> {noformat}
> 2018-12-13T10:05:32,662 | WARN | [6d24c4ca]-nio2-thread-1 | VersionProperties$LazyHolder | fig.VersionProperties$LazyHolder 75 | 135 - org.apache.sshd.core - 1.6.0 | Failed (FileNotFoundException) to load version properties: Resource does not exists
> {noformat}
> It looks like this is because it's not using a correct classloader to access this resource.
> ThreadUtils.resolveDefaultClassLoader(Class<?> anchor) should in my view first consider the anchor class loader. Otherwise it is using the TCCL which may not have access to the sshd bundle.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)