tsmoon created KARAF-2034:
-----------------------------

             Summary: Support of Gemini Blueprint
                 Key: KARAF-2034
                 URL: https://issues.apache.org/jira/browse/KARAF-2034
             Project: Karaf
          Issue Type: Bug
          Components: karaf-feature, karaf-osgi
    Affects Versions: 2.3.0
         Environment: win 7 64bit jdk1.6-64bit karaf 2.3.0 gemini blue-* 
1.0.2.RELEASE
            Reporter: tsmoon


This link https://issues.apache.org/jira/browse/KARAF-928 about  Support of 
Gemini Blueprint this issue closed.
but i test in karaf 2.3.0 
fount this error

i install the gemini bundles
features install spring //3.0.7.RELEASE
install -s mvn:org.eclipse.gemini/org.eclipse.gemini.blueprint.io/1.0.2.RELEASE
install -s 
mvn:org.eclipse.gemini/org.eclipse.gemini.blueprint.extender/1.0.2.RELEASE
install -s 
mvn:org.eclipse.gemini/org.eclipse.gemini.blueprint.core/1.0.2.RELEASE


the exception :
2012-11-26 18:48:28,615 | WARN  |  shutdown thread | OsgiBundleXmlApplicationCon
text  | 89 - org.springframework.context - 3.0.7.RELEASE | Exception thrown from
 ApplicationListener handling ContextClosedEvent
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c
all 'refresh' before multicasting events via the context: OsgiBundleXmlApplicati
onContext(bundle=org.apache.karaf.deployer.kar, config=bundle://32.0:0/OSGI-INF/
blueprint/kar-deployer.xml): startup date [Mon Nov 26 18:48:15 CST 2012]; root o
f context hierarchy
        at org.springframework.context.support.AbstractApplicationContext.getApp
licationEventMulticaster(AbstractApplicationContext.java:316)[89:org.springframe
work.context:3.0.7.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:303)[89:org.springframework.context:3.0.7
.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.doClos
e(AbstractApplicationContext.java:1007)[89:org.springframework.context:3.0.7.REL
EASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplic
ationContext.doClose(AbstractOsgiBundleApplicationContext.java:187)[82:org.eclip
se.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.jav
a:60)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:194
)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWit
hCustomTCCL(PrivilegedUtils.java:85)[82:org.eclipse.gemini.blueprint.core:1.0.2.
RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.ja
va:190)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext$NoDependenciesWaitRefreshExecutor.close(AbstractDelegatedEx
ecutionApplicationContext.java:82)[82:org.eclipse.gemini.blueprint.core:1.0.2.RE
LEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:2
14)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.close(
AbstractApplicationContext.java:970)[89:org.springframework.context:3.0.7.RELEAS
E]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager.closeApplicationContext(LifecycleManager.java:316)[81:org.eclipse.gemini.bl
ueprint.extender:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager.access$200(LifecycleManager.java:54)[81:org.eclipse.gemini.blueprint.extend
er:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager$3.run(LifecycleManager.java:364)[81:org.eclipse.gemini.blueprint.extender:1
.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.util.concurrent.Runnab
leTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:55)[81:org.ec
lipse.gemini.blueprint.extender:1.0.2.RELEASE]
        at org.springframework.scheduling.timer.DelegatingTimerTask.run(Delegati
ngTimerTask.java:70)[89:org.springframework.context:3.0.7.RELEASE]
        at java.util.TimerThread.mainLoop(Timer.java:512)[:1.6.0_33]
        at java.util.TimerThread.run(Timer.java:462)[:1.6.0_33]
2012-11-26 18:48:28,616 | WARN  |  shutdown thread | OsgiBundleXmlApplicationCon
text  | 89 - org.springframework.context - 3.0.7.RELEASE | Exception thrown from
 LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refr
esh' before invoking lifecycle methods via the context: OsgiBundleXmlApplication
Context(bundle=org.apache.karaf.deployer.kar, config=bundle://32.0:0/OSGI-INF/bl
ueprint/kar-deployer.xml): startup date [Mon Nov 26 18:48:15 CST 2012]; root of
context hierarchy
        at org.springframework.context.support.AbstractApplicationContext.getLif
ecycleProcessor(AbstractApplicationContext.java:329)[89:org.springframework.cont
ext:3.0.7.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.doClos
e(AbstractApplicationContext.java:1015)[89:org.springframework.context:3.0.7.REL
EASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplic
ationContext.doClose(AbstractOsgiBundleApplicationContext.java:187)[82:org.eclip
se.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.jav
a:60)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:194
)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWit
hCustomTCCL(PrivilegedUtils.java:85)[82:org.eclipse.gemini.blueprint.core:1.0.2.
RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.ja
va:190)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext$NoDependenciesWaitRefreshExecutor.close(AbstractDelegatedEx
ecutionApplicationContext.java:82)[82:org.eclipse.gemini.blueprint.core:1.0.2.RE
LEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:2
14)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.close(
AbstractApplicationContext.java:970)[89:org.springframework.context:3.0.7.RELEAS
E]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager.closeApplicationContext(LifecycleManager.java:316)[81:org.eclipse.gemini.bl
ueprint.extender:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager.access$200(LifecycleManager.java:54)[81:org.eclipse.gemini.blueprint.extend
er:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager$3.run(LifecycleManager.java:364)[81:org.eclipse.gemini.blueprint.extender:1
.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.util.concurrent.Runnab
leTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:55)[81:org.ec
lipse.gemini.blueprint.extender:1.0.2.RELEASE]
        at org.springframework.scheduling.timer.DelegatingTimerTask.run(Delegati
ngTimerTask.java:70)[89:org.springframework.context:3.0.7.RELEASE]
        at java.util.TimerThread.mainLoop(Timer.java:512)[:1.6.0_33]
        at java.util.TimerThread.run(Timer.java:462)[:1.6.0_33]
2012-11-26 18:48:28,616 | ERROR |  shutdown thread | BlueprintLoaderListener
      | 81 - org.eclipse.gemini.blueprint.extender - 1.0.2.RELEASE | Application
 context close failed (OsgiBundleXmlApplicationContext(bundle=org.apache.karaf.d
eployer.kar, config=bundle://32.0:0/OSGI-INF/blueprint/kar-deployer.xml))
java.lang.IllegalStateException: BeanFactory not initialized or already closed -
 call 'refresh' before accessing beans via the ApplicationContext
        at org.springframework.context.support.AbstractRefreshableApplicationCon
text.getBeanFactory(AbstractRefreshableApplicationContext.java:171)[89:org.sprin
gframework.context:3.0.7.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.destro
yBeans(AbstractApplicationContext.java:1048)[89:org.springframework.context:3.0.
7.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplic
ationContext.destroyBeans(AbstractOsgiBundleApplicationContext.java:194)[82:org.
eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.doClos
e(AbstractApplicationContext.java:1022)[89:org.springframework.context:3.0.7.REL
EASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplic
ationContext.doClose(AbstractOsgiBundleApplicationContext.java:187)[82:org.eclip
se.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.jav
a:60)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:194
)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWit
hCustomTCCL(PrivilegedUtils.java:85)[82:org.eclipse.gemini.blueprint.core:1.0.2.
RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.ja
va:190)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext$NoDependenciesWaitRefreshExecutor.close(AbstractDelegatedEx
ecutionApplicationContext.java:82)[82:org.eclipse.gemini.blueprint.core:1.0.2.RE
LEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:2
14)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.close(
AbstractApplicationContext.java:970)[89:org.springframework.context:3.0.7.RELEAS
E]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager.closeApplicationContext(LifecycleManager.java:316)[81:org.eclipse.gemini.bl
ueprint.extender:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager.access$200(LifecycleManager.java:54)[81:org.eclipse.gemini.blueprint.extend
er:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager$3.run(LifecycleManager.java:364)[81:org.eclipse.gemini.blueprint.extender:1
.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.util.concurrent.Runnab
leTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:55)[81:org.ec
lipse.gemini.blueprint.extender:1.0.2.RELEASE]
        at org.springframework.scheduling.timer.DelegatingTimerTask.run(Delegati
ngTimerTask.java:70)[89:org.springframework.context:3.0.7.RELEASE]
        at java.util.TimerThread.mainLoop(Timer.java:512)[:1.6.0_33]
        at java.util.TimerThread.run(Timer.java:462)[:1.6.0_33]
2012-11-26 18:48:28,617 | ERROR |  shutdown thread | DelegatingTimerTask
      | 89 - org.springframework.context - 3.0.7.RELEASE | Unexpected exception
thrown from Runnable: org.eclipse.gemini.blueprint.extender.internal.util.concur
rent.RunnableTimedExecution$MonitoredRunnable@7b72cdd8
java.lang.IllegalStateException: BeanFactory not initialized or already closed -
 call 'refresh' before accessing beans via the ApplicationContext
        at org.springframework.context.support.AbstractRefreshableApplicationCon
text.getBeanFactory(AbstractRefreshableApplicationContext.java:171)[89:org.sprin
gframework.context:3.0.7.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.destro
yBeans(AbstractApplicationContext.java:1048)[89:org.springframework.context:3.0.
7.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplic
ationContext.destroyBeans(AbstractOsgiBundleApplicationContext.java:194)[82:org.
eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.doClos
e(AbstractApplicationContext.java:1022)[89:org.springframework.context:3.0.7.REL
EASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractOsgiBundleApplic
ationContext.doClose(AbstractOsgiBundleApplicationContext.java:187)[82:org.eclip
se.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.jav
a:60)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:194
)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWit
hCustomTCCL(PrivilegedUtils.java:85)[82:org.eclipse.gemini.blueprint.core:1.0.2.
RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.ja
va:190)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext$NoDependenciesWaitRefreshExecutor.close(AbstractDelegatedEx
ecutionApplicationContext.java:82)[82:org.eclipse.gemini.blueprint.core:1.0.2.RE
LEASE]
        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecuti
onApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:2
14)[82:org.eclipse.gemini.blueprint.core:1.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.close(
AbstractApplicationContext.java:970)[89:org.springframework.context:3.0.7.RELEAS
E]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager.closeApplicationContext(LifecycleManager.java:316)[81:org.eclipse.gemini.bl
ueprint.extender:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager.access$200(LifecycleManager.java:54)[81:org.eclipse.gemini.blueprint.extend
er:1.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleMan
ager$3.run(LifecycleManager.java:364)[81:org.eclipse.gemini.blueprint.extender:1
.0.2.RELEASE]
        at org.eclipse.gemini.blueprint.extender.internal.util.concurrent.Runnab
leTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:55)[81:org.ec
lipse.gemini.blueprint.extender:1.0.2.RELEASE]
        at org.springframework.scheduling.timer.DelegatingTimerTask.run(Delegati
ngTimerTask.java:70)[89:org.springframework.context:3.0.7.RELEASE]
        at java.util.TimerThread.mainLoop(Timer.java:512)[:1.6.0_33]
        at java.util.TimerThread.run(Timer.java:462)[:1.6.0_33]



--
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

Reply via email to