[GitHub] [mina-sshd] FliegenKLATSCH opened a new pull request #119: Add support for client side openssh host certkeys
FliegenKLATSCH opened a new pull request #119: Add support for client side openssh host certkeys URL: https://github.com/apache/mina-sshd/pull/119 This is part of SSHD-660. Would be happy to get some feedback. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org
[jira] [Work logged] (SSHD-975) SshClient subclasses fail in OSGi environment
[ https://issues.apache.org/jira/browse/SSHD-975?focusedWorklogId=418704&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-418704 ] ASF GitHub Bot logged work on SSHD-975: --- Author: ASF GitHub Bot Created on: 08/Apr/20 16:45 Start Date: 08/Apr/20 16:45 Worklog Time Spent: 10m Work Description: rovarga commented on pull request #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies URL: https://github.com/apache/mina-sshd/pull/118 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 418704) Time Spent: 1h 10m (was: 1h) > SshClient subclasses fail in OSGi environment > - > > Key: SSHD-975 > URL: https://issues.apache.org/jira/browse/SSHD-975 > Project: MINA SSHD > Issue Type: Bug >Affects Versions: 2.3.0, 2.4.0 >Reporter: Robert Varga >Priority: Major > Fix For: 2.4.1 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > Attempting to subclass SshClient and use it in OSGi environment can fail with > the following: > {noformat} > 2020-04-07T07:46:19,968 | WARN | nioEventLoopGroupCloseable-3-1 | > ChannelInitializer | 64 - io.netty.common - 4.1.45.Final | > Failed to initialize a channel. Closing: [id: 0xfedebbf7] > java.lang.ExceptionInInitializerError: null > at > org.opendaylight.netconf.client.SshClientChannelInitializer.initialize(SshClientChannelInitializer.java:43) > ~[402:org.opendaylight.netconf.client:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.ReconnectPromise.lambda$connect$0(ReconnectPromise.java:54) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.AbstractNetconfDispatcher$3.initChannel(AbstractNetconfDispatcher.java:206) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.AbstractNetconfDispatcher$3.initChannel(AbstractNetconfDispatcher.java:203) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:956) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.access$100(DefaultChannelPipeline.java:46) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1463) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1115) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:650) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:502) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:417) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:474) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) > [64:io.netty.common:4.1.45.Final] > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [64:io.netty.common:4.1.45.Final] > at java.lang.Thread.run(Thread.java:834) [
[GitHub] [mina-sshd] rovarga closed pull request #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies
rovarga closed pull request #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies URL: https://github.com/apache/mina-sshd/pull/118 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org
[jira] [Resolved] (SSHD-975) SshClient subclasses fail in OSGi environment
[ https://issues.apache.org/jira/browse/SSHD-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lyor Goldstein resolved SSHD-975. - Fix Version/s: 2.4.1 Resolution: Fixed Fixed by commit [60bdb04642|https://github.com/apache/mina-sshd/commit/60bdb04642cbcb82501841b9f25601c5532d537b] > SshClient subclasses fail in OSGi environment > - > > Key: SSHD-975 > URL: https://issues.apache.org/jira/browse/SSHD-975 > Project: MINA SSHD > Issue Type: Bug >Affects Versions: 2.3.0, 2.4.0 >Reporter: Robert Varga >Priority: Major > Fix For: 2.4.1 > > Time Spent: 1h > Remaining Estimate: 0h > > Attempting to subclass SshClient and use it in OSGi environment can fail with > the following: > {noformat} > 2020-04-07T07:46:19,968 | WARN | nioEventLoopGroupCloseable-3-1 | > ChannelInitializer | 64 - io.netty.common - 4.1.45.Final | > Failed to initialize a channel. Closing: [id: 0xfedebbf7] > java.lang.ExceptionInInitializerError: null > at > org.opendaylight.netconf.client.SshClientChannelInitializer.initialize(SshClientChannelInitializer.java:43) > ~[402:org.opendaylight.netconf.client:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.ReconnectPromise.lambda$connect$0(ReconnectPromise.java:54) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.AbstractNetconfDispatcher$3.initChannel(AbstractNetconfDispatcher.java:206) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.AbstractNetconfDispatcher$3.initChannel(AbstractNetconfDispatcher.java:203) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:956) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.access$100(DefaultChannelPipeline.java:46) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1463) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1115) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:650) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:502) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:417) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:474) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) > [64:io.netty.common:4.1.45.Final] > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [64:io.netty.common:4.1.45.Final] > at java.lang.Thread.run(Thread.java:834) [?:?] > Caused by: java.lang.IllegalArgumentException: > org.apache.sshd.common.forward.PortForwardingEventListener referenced from a > method is not visible from class loader > at java.lang.reflect.Proxy$ProxyBuilder.ensureVisible(Proxy.java:858) > ~[?:?] > at > java.lang.reflect.Proxy$ProxyBuilder.validateProxyInterfaces(Proxy.java:681) > ~[?:?] > at java.lang.reflect.Proxy$ProxyBuilder.(Proxy.java:627) ~[?:?] > at java.lang.reflect.Proxy$ProxyBuilder.(Proxy.java:635) ~[?:?] > at java.lang.reflect.Proxy.lambda$getProxyConstructor$0(Proxy.java:415) > ~[?:?] > at > jdk.internal.loader.AbstractClassLoaderValue$Me
[jira] [Work logged] (SSHD-975) SshClient subclasses fail in OSGi environment
[ https://issues.apache.org/jira/browse/SSHD-975?focusedWorklogId=418557&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-418557 ] ASF GitHub Bot logged work on SSHD-975: --- Author: ASF GitHub Bot Created on: 08/Apr/20 14:20 Start Date: 08/Apr/20 14:20 Worklog Time Spent: 10m Work Description: lgoldstein commented on issue #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies URL: https://github.com/apache/mina-sshd/pull/118#issuecomment-610987889 Merged with many thanks and acknowledgement - see [60bdb04642](https://github.com/apache/mina-sshd/commit/60bdb04642cbcb82501841b9f25601c5532d537b). Please close this PR This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 418557) Time Spent: 1h (was: 50m) > SshClient subclasses fail in OSGi environment > - > > Key: SSHD-975 > URL: https://issues.apache.org/jira/browse/SSHD-975 > Project: MINA SSHD > Issue Type: Bug >Affects Versions: 2.3.0, 2.4.0 >Reporter: Robert Varga >Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > Attempting to subclass SshClient and use it in OSGi environment can fail with > the following: > {noformat} > 2020-04-07T07:46:19,968 | WARN | nioEventLoopGroupCloseable-3-1 | > ChannelInitializer | 64 - io.netty.common - 4.1.45.Final | > Failed to initialize a channel. Closing: [id: 0xfedebbf7] > java.lang.ExceptionInInitializerError: null > at > org.opendaylight.netconf.client.SshClientChannelInitializer.initialize(SshClientChannelInitializer.java:43) > ~[402:org.opendaylight.netconf.client:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.ReconnectPromise.lambda$connect$0(ReconnectPromise.java:54) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.AbstractNetconfDispatcher$3.initChannel(AbstractNetconfDispatcher.java:206) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.AbstractNetconfDispatcher$3.initChannel(AbstractNetconfDispatcher.java:203) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:956) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.access$100(DefaultChannelPipeline.java:46) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1463) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1115) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:650) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:502) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:417) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:474) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) > [64:io.netty.common:4.1.45.Final] > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.concurr
[GitHub] [mina-sshd] lgoldstein commented on issue #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies
lgoldstein commented on issue #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies URL: https://github.com/apache/mina-sshd/pull/118#issuecomment-610987889 Merged with many thanks and acknowledgement - see [60bdb04642](https://github.com/apache/mina-sshd/commit/60bdb04642cbcb82501841b9f25601c5532d537b). Please close this PR This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org
[jira] [Work logged] (SSHD-975) SshClient subclasses fail in OSGi environment
[ https://issues.apache.org/jira/browse/SSHD-975?focusedWorklogId=418327&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-418327 ] ASF GitHub Bot logged work on SSHD-975: --- Author: ASF GitHub Bot Created on: 08/Apr/20 08:22 Start Date: 08/Apr/20 08:22 Worklog Time Spent: 10m Work Description: lgoldstein commented on issue #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies URL: https://github.com/apache/mina-sshd/pull/118#issuecomment-610822342 Good - I will merge it in and verify - thanks for the contribution This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 418327) Time Spent: 50m (was: 40m) > SshClient subclasses fail in OSGi environment > - > > Key: SSHD-975 > URL: https://issues.apache.org/jira/browse/SSHD-975 > Project: MINA SSHD > Issue Type: Bug >Affects Versions: 2.3.0, 2.4.0 >Reporter: Robert Varga >Priority: Major > Time Spent: 50m > Remaining Estimate: 0h > > Attempting to subclass SshClient and use it in OSGi environment can fail with > the following: > {noformat} > 2020-04-07T07:46:19,968 | WARN | nioEventLoopGroupCloseable-3-1 | > ChannelInitializer | 64 - io.netty.common - 4.1.45.Final | > Failed to initialize a channel. Closing: [id: 0xfedebbf7] > java.lang.ExceptionInInitializerError: null > at > org.opendaylight.netconf.client.SshClientChannelInitializer.initialize(SshClientChannelInitializer.java:43) > ~[402:org.opendaylight.netconf.client:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.ReconnectPromise.lambda$connect$0(ReconnectPromise.java:54) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.AbstractNetconfDispatcher$3.initChannel(AbstractNetconfDispatcher.java:206) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.AbstractNetconfDispatcher$3.initChannel(AbstractNetconfDispatcher.java:203) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:956) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.access$100(DefaultChannelPipeline.java:46) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1463) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1115) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:650) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:502) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:417) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:474) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) > [64:io.netty.common:4.1.45.Final] > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [64:io.netty.common:4.1.45.Final]
[GitHub] [mina-sshd] lgoldstein commented on issue #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies
lgoldstein commented on issue #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies URL: https://github.com/apache/mina-sshd/pull/118#issuecomment-610822342 Good - I will merge it in and verify - thanks for the contribution This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org
[jira] [Work logged] (SSHD-975) SshClient subclasses fail in OSGi environment
[ https://issues.apache.org/jira/browse/SSHD-975?focusedWorklogId=418326&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-418326 ] ASF GitHub Bot logged work on SSHD-975: --- Author: ASF GitHub Bot Created on: 08/Apr/20 08:20 Start Date: 08/Apr/20 08:20 Worklog Time Spent: 10m Work Description: rovarga commented on issue #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies URL: https://github.com/apache/mina-sshd/pull/118#issuecomment-610821473 Current patch does precisely that. it passed local build for me and the windows build here seems to have failed on an environment issue. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 418326) Time Spent: 40m (was: 0.5h) > SshClient subclasses fail in OSGi environment > - > > Key: SSHD-975 > URL: https://issues.apache.org/jira/browse/SSHD-975 > Project: MINA SSHD > Issue Type: Bug >Affects Versions: 2.3.0, 2.4.0 >Reporter: Robert Varga >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > Attempting to subclass SshClient and use it in OSGi environment can fail with > the following: > {noformat} > 2020-04-07T07:46:19,968 | WARN | nioEventLoopGroupCloseable-3-1 | > ChannelInitializer | 64 - io.netty.common - 4.1.45.Final | > Failed to initialize a channel. Closing: [id: 0xfedebbf7] > java.lang.ExceptionInInitializerError: null > at > org.opendaylight.netconf.client.SshClientChannelInitializer.initialize(SshClientChannelInitializer.java:43) > ~[402:org.opendaylight.netconf.client:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.ReconnectPromise.lambda$connect$0(ReconnectPromise.java:54) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.AbstractNetconfDispatcher$3.initChannel(AbstractNetconfDispatcher.java:206) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > org.opendaylight.netconf.nettyutil.AbstractNetconfDispatcher$3.initChannel(AbstractNetconfDispatcher.java:203) > ~[420:org.opendaylight.netconf.netty-util:1.9.0.SNAPSHOT] > at > io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:956) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.access$100(DefaultChannelPipeline.java:46) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1463) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1115) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:650) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:502) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:417) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:474) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) > [64:io.netty.common:4.1.45.Final] > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) > [67:io.netty.transport:4.1.45.Final] > at > io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) > [64:io.netty.common:4.1.45.Final] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(Fa
[GitHub] [mina-sshd] rovarga commented on issue #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies
rovarga commented on issue #118: [SSHD-975] Use AbstractFactoryManager's classloader for proxies URL: https://github.com/apache/mina-sshd/pull/118#issuecomment-610821473 Current patch does precisely that. it passed local build for me and the windows build here seems to have failed on an environment issue. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org
[GitHub] [mina] panmengyun commented on issue #10: mina server/client example To enhance
panmengyun commented on issue #10: mina server/client example To enhance URL: https://github.com/apache/mina/pull/10#issuecomment-610792890 你好,使用 new NioSocketAcceptor(new SimpleIoProcessorPool( NioProcessor.class, threadpoll))这种形式来创建接收器的时候 如果threadpoll中的corepollsize设置的大小小于电脑的CPU核数,如果比corepollsize更多的连接上来,会导致iosession创建不了 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org