aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <>
Subject [jira] [Resolved] (ARIES-1504) ServiceUnavailableException when a Karaf-Feature gets uninstalled and re-installed
Date Wed, 31 Jan 2018 08:29:00 GMT


Guillaume Nodet resolved ARIES-1504.
    Resolution: Won't Fix
      Assignee: Guillaume Nodet

This is usually a coding problem as this exception is expected in some cases and actually
means that the blueprint container has been destroyed for some reason.  No code related to
blueprint beans should be executed beyond this point, so you're certainly keeping a reference
to a bean somehow.  
Please reopen or create a new issue with a test case if needed.

> ServiceUnavailableException when a Karaf-Feature gets uninstalled and re-installed
> ----------------------------------------------------------------------------------
>                 Key: ARIES-1504
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-core-1.5.0
>            Reporter: Roland Hauser
>            Assignee: Guillaume Nodet
>            Priority: Major
> I get a strange exception when I uninstall and then re-install a feature on Karaf (without
restarting Karaf). The referenced settings-service is available (I can see it in the Karaf
> {code}
> org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint container
is being or has been destroyed: (objectClass=com.bechtle.sol.kernel.api.settings.SettingsService)
> 	at org.apache.aries.blueprint.container.ReferenceRecipe.getService([42:org.apache.aries.blueprint.core:1.5.0]
> 	at org.apache.aries.blueprint.container.ReferenceRecipe.access$000([42:org.apache.aries.blueprint.core:1.5.0]
> 	at org.apache.aries.blueprint.container.ReferenceRecipe$[42:org.apache.aries.blueprint.core:1.5.0]
> 	at Proxy9fcb3aef_066e_4c6c_a1b1_92d8b4c4d6c7.getInteger(Unknown Source)[:]
> 	at com.bechtle.sol.postevent.impl.registry.EventRegistry.tryToAquireProperty([213:com.bechtle.sol.postevent.impl:1.0.0.SNAPSHOT]
> 	at com.bechtle.sol.postevent.impl.messaging.listener.MessageListenerImpl.process([213:com.bechtle.sol.postevent.impl:1.0.0.SNAPSHOT]
> 	at com.bechtle.sol.postevent.impl.messaging.listener.MessageListenerImpl.onMessage([213:com.bechtle.sol.postevent.impl:1.0.0.SNAPSHOT]
> 	at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener([127:org.apache.servicemix.bundles.spring-jms:4.0.7.RELEASE_3]
> {code}

This message was sent by Atlassian JIRA

View raw message