Equinox+Spring DM + OSGified tomcat [message #528716] |
Wed, 21 April 2010 14:54 |
Abhinav Mishra Messages: 4 Registered: April 2010 |
Junior Member |
|
|
Hi All,
I need some help to run OSGified Tomcat in Equinox.
Environment :
Eclipse : 3.5
Imported following bundles:
org.eclipse.osgi3.5.1 and dependencies
spring related bundles(version 2.5SEC01) : org.springframework.aop,aspects,beans,context,core,web,etc
OSGi related bundles:
osgi.test,web,web-extender,io,core,mock,common.logging,junit
OSGified tomcat and its dependencies:
org.apache.catalina.springsource
all from site:http://www.springsource.com/repository/app/
I created a new OSGi Run configuration and when I start all the bundles I get following error:
INFO: Initializing Timer
Apr 21, 2010 8:21:01 PM org.springframework.osgi.web.deployer.tomcat.TomcatWarDeploy er afterPropertiesSet
SEVERE: No Catalina Service found, bailing out
org.springframework.osgi.service.ServiceUnavailableException : service matching filter=[(objectClass=org.apache.catalina.Service)] unavailable
at org.springframework.osgi.service.importer.support.internal.a op.ServiceDynamicInterceptor.getTarget(ServiceDynamicInterce ptor.java:403)
at org.springframework.osgi.service.importer.support.internal.a op.ServiceDynamicInterceptor.afterPropertiesSet(ServiceDynam icInterceptor.java:462)
at org.springframework.osgi.service.importer.support.OsgiServic eProxyFactoryBean.createProxy(OsgiServiceProxyFactoryBean.ja va:194)
at org.springframework.osgi.service.importer.support.AbstractSe rviceImporterProxyFactoryBean.getObject(AbstractServiceImpor terProxyFactoryBean.java:83)
at org.springframework.osgi.service.importer.support.OsgiServic eProxyFactoryBean.getObject(OsgiServiceProxyFactoryBean.java :141)
at org.springframework.osgi.web.deployer.internal.util.Utils.cr eateServerServiceProxy(Utils.java:117)
at org.springframework.osgi.web.deployer.tomcat.TomcatWarDeploy er.afterPropertiesSet(TomcatWarDeployer.java:90)
at org.springframework.osgi.web.extender.internal.activator.War ListenerConfiguration.createDefaultWarDeployer(WarListenerCo nfiguration.java:197)
at org.springframework.osgi.web.extender.internal.activator.War ListenerConfiguration. <init>(WarListenerConfiguration.java:105)
at org.springframework.osgi.web.extender.internal.activator.War LoaderListener$1.run(WarLoaderListener.java:353)
at java.lang.Thread.run(Thread.java:619)
Apr 21, 2010 8:21:01 PM org.springframework.osgi.web.extender.internal.activator.War LoaderListener$1 run
SEVERE: Cannot property start Spring-DM WebExtender; stopping bundle...
org.springframework.osgi.OsgiException: Cannot create Tomcat deployer
at org.springframework.osgi.web.extender.internal.activator.War ListenerConfiguration.createDefaultWarDeployer(WarListenerCo nfiguration.java:201)
at org.springframework.osgi.web.extender.internal.activator.War ListenerConfiguration. <init>(WarListenerConfiguration.java:105)
at org.springframework.osgi.web.extender.internal.activator.War LoaderListener$1.run(WarLoaderListener.java:353)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.osgi.service.ServiceUnavailableException : service matching filter=[(objectClass=org.apache.catalina.Service)] unavailable
at org.springframework.osgi.service.importer.support.internal.a op.ServiceDynamicInterceptor.getTarget(ServiceDynamicInterce ptor.java:403)
at org.springframework.osgi.service.importer.support.internal.a op.ServiceDynamicInterceptor.afterPropertiesSet(ServiceDynam icInterceptor.java:462)
at org.springframework.osgi.service.importer.support.OsgiServic eProxyFactoryBean.createProxy(OsgiServiceProxyFactoryBean.ja va:194)
at org.springframework.osgi.service.importer.support.AbstractSe rviceImporterProxyFactoryBean.getObject(AbstractServiceImpor terProxyFactoryBean.java:83)
at org.springframework.osgi.service.importer.support.OsgiServic eProxyFactoryBean.getObject(OsgiServiceProxyFactoryBean.java :141)
at org.springframework.osgi.web.deployer.internal.util.Utils.cr eateServerServiceProxy(Utils.java:117)
at org.springframework.osgi.web.deployer.tomcat.TomcatWarDeploy er.afterPropertiesSet(TomcatWarDeployer.java:90)
at org.springframework.osgi.web.extender.internal.activator.War ListenerConfiguration.createDefaultWarDeployer(WarListenerCo nfiguration.java:197)
... 3 more
Apr 21, 2010 8:21:01 PM org.springframework.scheduling.timer.TimerTaskExecutor destroy
INFO: Cancelling Timer
Changing run level or starting web-extender manully is not resolving the issue.
Please provide your input/suggestions.
Abhinav Mishra
|
|
|
|
Powered by
FUDForum. Page generated in 0.01889 seconds