[
https://issues.apache.org/jira/browse/DOSGI-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935307#action_12935307
]
Sergio commented on DOSGI-71:
-----------------------------
Reproducible on karaf 2.1 with cxf-dosgi-ri-singlebundle-distribution 1.2.
Causes throwing
{quote}
Exception in thread "SpringOsgiExtenderThread-2"
java.lang.IllegalStateException: BeanFactory not initialized or already closed
- call 'refresh' before accessing beans via the ApplicationContext
at
org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:153)
at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:345)
at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.fail(DependencyWaiterApplicationContextExecutor.java:401)
at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:287)
at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175)
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)
at
org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:718)
at java.lang.Thread.run(Thread.java:662)
{quote}
Many times
> Spring DM demo not working with Karaf
> -------------------------------------
>
> Key: DOSGI-71
> URL: https://issues.apache.org/jira/browse/DOSGI-71
> Project: CXF Distributed OSGi
> Issue Type: Bug
> Components: Product, Samples
> Affects Versions: 1.1
> Reporter: David Bosschaert
>
> It's working standalone, but doesn't work properly with Karaf.
> See:
> http://old.nabble.com/DOSGI-Spring-DM-demo-not-working-either-with-multi-bundle-or-single-bundle-distro-td28287633.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.