Oh one more piece of info I just thought to add that I think is relevant: the serviceunavailableexception is caused by "the blueprint container is being or has been destroyed".
On Wed, Mar 25, 2020 at 11:31 AM Harrison Tarr <[email protected]> wrote: > Hi all, > > I'm running into a weird problem with my blueprint bundle in Karaf. I have > bundle A that exports a service (it uses a factory-method vs a constructor, > as it's a third party interface > ( <bean id="dataSession" class="com.datastax.driver.core.Session" > factory-method="dataSession" factory-ref="cassandraSession"/> ) > When I restart bundle B that uses the service, some of the calls that use > the session throw a ServiceUnavailableException (but not all?) > In any case, shouldn't bundle B remake all the necessary service > references? > > Any ideas what could be causing this? The service is definitely still > available. I'm happy to provide more info if it's necessary, I'm hoping > maybe this is an easy fix though! > > Regards, > > Harrison >
