Hi,
Could you please provide more info about this issue?
What OSGi container you're using(felix, karaf, servicemix4 or else)?
which version?
How you deploy the cxf http-osgi transport bundle? is there a osgi
http service implementation already available in your OSGi container?
Freeman
On 2011-1-19, at 上午7:10, Anthony Lauro wrote:
Hey All,
Anyone ever seen this? The class is on the classpath, but I don't
understand what it's waiting for.
[ ContextLoaderListener] Application context refresh failed
(OsgiBundleXmlApplicationContext(bundle=xxx.service,
config=osgibundle:/META-INF/spring/*.xml))
org.springframework.context.ApplicationContextException: Application
context initialization for 'xxx.service' has timed out waiting for
(objectClass
=org.apache.cxf.transport.http_osgi.OsgiDestinationRegistryIntf)
at
org
.springframework
.osgi
.extender
.internal
.dependencies
.startup
.DependencyWaiterApplicationContextExecutor
.timeout(DependencyWaiterApplicationContextExecutor.java:490)
[org.springframework.osgi.extender_2.0.0.M1.jar:2.0.0.M1]
at
org
.springframework
.osgi
.extender
.internal
.dependencies
.startup.DependencyWaiterApplicationContextExecutor.access
$000(DependencyWaiterApplicationContextExecutor.java:55)
[org.springframework.osgi.extender_2.0.0.M1.jar:2.0.0.M1]
at
org
.springframework
.osgi
.extender
.internal
.dependencies.startup.DependencyWaiterApplicationContextExecutor
$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:
110) [org.springframework.osgi.extender_2.0.0.M1.jar:2.0.0.M1]
at java.util.TimerThread.mainLoop(Timer.java:512) [na:1.6.0_18-ea]
at java.util.TimerThread.run(Timer.java:462) [na:1.6.0_18-ea]
[DependencyWaiterApplicationContextExecutor] Unable to create
application context for [xxx.service], unsatisfied dependencies:
Dependency on
[(objectClass
=org.apache.cxf.transport.http_osgi.OsgiDestinationRegistryIntf)]
(from bean [&osgiDestinationRegistry])
org.springframework.context.ApplicationContextException: Application
context initialization for 'xxx.service' has timed out waiting for
(objectClass
=org.apache.cxf.transport.http_osgi.OsgiDestinationRegistryIntf)
at
org
.springframework
.osgi
.extender
.internal
.dependencies
.startup
.DependencyWaiterApplicationContextExecutor
.timeout(DependencyWaiterApplicationContextExecutor.java:490)
[org.springframework.osgi.extender_2.0.0.M1.jar:2.0.0.M1]
at
org
.springframework
.osgi
.extender
.internal
.dependencies
.startup.DependencyWaiterApplicationContextExecutor.access
$000(DependencyWaiterApplicationContextExecutor.java:55)
[org.springframework.osgi.extender_2.0.0.M1.jar:2.0.0.M1]
at
org
.springframework
.osgi
.extender
.internal
.dependencies.startup.DependencyWaiterApplicationContextExecutor
$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:
110) [org.springframework.osgi.extender_2.0.0.M1.jar:2.0.0.M1]
at java.util.TimerThread.mainLoop(Timer.java:512) [na:1.6.0_18-ea]
at java.util.TimerThread.run(Timer.java:462) [na:1.6.0_18-ea]
Thanks,
Tony
--
Freeman Fang
------------------------
FuseSource: http://fusesource.com
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org