Announcement Announcement Module
Collapse

Spring Dynamic Modules forum decommissioned in favor of Eclipse Gemini Blueprint

With the official first release of Eclipse Gemini Blueprint shipped, the migration of the Spring Dynamic Modules code base to the Eclipse Foundation, as part of the Gemini project, has been completed.

As such, this forum has been decommissioned in favour of the Eclipse Gemini forums.
See more
See less
HTTP Service not working when deploying cxf bundles Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTTP Service not working when deploying cxf bundles

    Hi All,
    I am able to sucessfully expose an HTTP Servlet through HTTP Service using Spring DM 1.2.1 in Felix. But , when I try to deploy CXF Distributed OSGI for providing a remote service, i get the following exception

    INFO: lookup discovery service: interface: org.springframework.beans.factory.xml.NamespaceHan dlerResolver filter: (objectClass=org.springframework.beans.factory.xml .NamespaceHandlerResolver)
    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.AbstractRefres hableApplicationContext.getBeanFactory(AbstractRef reshableApplicationContext.java:153)
    at org.springframework.osgi.extender.internal.depende ncies.startup.DependencyWaiterApplicationContextEx ecutor.close(DependencyWaiterApplicationContextExe cutor.java:345)
    at org.springframework.osgi.extender.internal.depende ncies.startup.DependencyWaiterApplicationContextEx ecutor.fail(DependencyWaiterApplicationContextExec utor.java:401)
    at org.springframework.osgi.extender.internal.depende ncies.startup.DependencyWaiterApplicationContextEx ecutor.stageOne(DependencyWaiterApplicationContext Executor.java:287)
    at org.springframework.osgi.extender.internal.depende ncies.startup.DependencyWaiterApplicationContextEx ecutor.refresh(DependencyWaiterApplicationContextE xecutor.java:175)
    at org.springframework.osgi.context.support.AbstractD elegatedExecutionApplicationContext.refresh(Abstra ctDelegatedExecutionApplicationContext.java:175)
    at org.springframework.osgi.extender.internal.activat or.ContextLoaderListener$2.run(ContextLoaderListen er.java:718)
    at java.lang.Thread.run(Unknown Source)

    My service is no more running after this exception.

    I even gave a try with Spring DM 2.0.0 M1 but to no avail.

    Can some one please help me on this.

    Regards
    RK.
Working...
X