-
May 18th, 2010, 11:50 AM
#1
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules