karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Pieber (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-1807) The blueprint bean sshServerFactory in bundle org.apache.karaf.shell.ssh/2.2.9 incorrectly threw an exception from its destroy method
Date Tue, 11 Sep 2012 10:37:07 GMT

     [ https://issues.apache.org/jira/browse/KARAF-1807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Pieber resolved KARAF-1807.
-----------------------------------

    Resolution: Not A Problem

As stated in my previous comment I consider this not a problem for now as long as there had
been no further discussion on this on the Karaf mailing list
                
> The blueprint bean sshServerFactory in bundle org.apache.karaf.shell.ssh/2.2.9 incorrectly
threw an exception from its destroy method
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1807
>                 URL: https://issues.apache.org/jira/browse/KARAF-1807
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-core, karaf-shell
>    Affects Versions: 2.2.9
>            Reporter: Andrey Borisov
>             Fix For: 2.2.10
>
>
> I am builing custom distribution of karaf.
> features that are being installed:
> featuresBoot=\
> karaf-framework,config,ssh,management,kar,jasypt-encryption,playtech-karaf,\
> camel,camel-blueprint,camel-context,camel-bindy,camel-ognl,camel-crypto,camel-sql,\
> camel-xstream,camel-csv,camel-saxon,camel-protobuf,camel-freemarker,camel-velocity,camel-castor,camel-dozer,camel-jackson,camel-jaxb,camel-jxpath,camel-stax,camel-xmljson,camel-xmpp,\
> camel-ftp,camel-jmx,\
> camel-ruby,camel-groovy,camel-scala,camel-script-groovy,camel-script-jruby,camel-script-javascript,\
> camel-jdbc,camel-exec,camel-jasypt,camel-routebox,camel-script,\
> camel-spring-javaconfig,camel-spring-ws,camel-spring-batch,camel-spring-security\
> After 30 seconds since start of karaf I am getting exception:
> {code}
> karaf@root> org.apache.aries.blueprint[org.apache.aries.blueprint.container.BeanRecipe]
: The blueprint bean sshServerFactory in bundle org.apache.karaf.shell.ssh/2.2.9 incorrectly
threw an exception from its destroy method.
> java.lang.IllegalAccessError: tried to access class org.apache.sshd.SshServer$1 from
class org.apache.sshd.SshServer
>         at org.apache.sshd.SshServer.stop(SshServer.java:395)
>         at org.apache.sshd.SshServer.stop(SshServer.java:384)
>         at org.apache.karaf.shell.ssh.SshServerFactory.stop(SshServerFactory.java:58)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:225)
>         at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:838)
>         at org.apache.aries.blueprint.container.BeanRecipe.destroy(BeanRecipe.java:743)
>         at org.apache.aries.blueprint.container.BlueprintRepository.destroy(BlueprintRepository.java:295)
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroyComponents(BlueprintContainerImpl.java:672)
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.destroy(BlueprintContainerImpl.java:825)
>         at org.apache.aries.blueprint.container.BlueprintExtender.destroyContext(BlueprintExtender.java:250)
>         at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:242)
>         at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:438)
>         at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:453)
>         at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:237)
>         at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:413)
>         at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
>         at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
>         at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
>         at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3879)
>         at org.apache.felix.framework.Felix.stopBundle(Felix.java:2268)
>         at org.apache.felix.framework.Felix$RefreshHelper.stop(Felix.java:4668)
>         at org.apache.felix.framework.Felix.refreshPackages(Felix.java:3699)
>         at org.apache.felix.framework.PackageAdminImpl.run(PackageAdminImpl.java:365)
>         at java.lang.Thread.run(Thread.java:662)
> ^D
> {code}
> could you please advice what's wrong?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message