axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From techi_amol <techi_a...@yahoo.com>
Subject Axis2 osgi bundle on Tomcat+servletbridge
Date Wed, 02 Jul 2008 17:57:37 GMT

Hi All,

i followed the instructions given in axis2_osgi_integration.pdf, and instead
of using equinox standalone with embedded Jetty, I tried to do the same
thing on Tomcat, with servletbridge.war hosting the equinox osgi env. (For
more details please refer
http://www.nabble.com/-Axis2--Axis2-OSGi-bundle.-Phase-1-td18046920.html)

However, when i try to start org.apache.axis2.osgi_1.0.0.SNAPSHOT bundle, i
get the following exception

org.osgi.framework.BundleException: Exception in
org.apache.axis2.osgi.internal.Activator.start() of bundle
org.apache.axis2.osgi.

        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:260)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:294)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:279)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:214)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError
        at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:596)
        at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)
        at
org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
        at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:90)
        at
org.apache.axis2.osgi.deployment.OSGiServerConfigurator.populateAxisConfiguration(OSGiServerConfigurator.java:80)
        at
org.apache.axis2.osgi.deployment.OSGiServerConfigurator.getAxisConfiguration(OSGiServerConfigurator.java:61)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:68)
        at
org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory.createConfigurationContext(OSGiConfigurationContextFac
tory.java:51)
        at org.apache.axis2.osgi.InitServlet.init(InitServlet.java:45)
        at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:65)
        at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:141)
        at
org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
        at
org.apache.axis2.osgi.internal.Activator$HttpServiceTracker.addingService(Activator.java:76)
        at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
        at
org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
        at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
        at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
        at org.apache.axis2.osgi.internal.Activator.start(Activator.java:45)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
        ... 14 more
Nested Exception:
java.lang.NoClassDefFoundError
        at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:596)
        at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)
        at
org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
        at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:90)
        at
org.apache.axis2.osgi.deployment.OSGiServerConfigurator.populateAxisConfiguration(OSGiServerConfigurator.java:80)
        at
org.apache.axis2.osgi.deployment.OSGiServerConfigurator.getAxisConfiguration(OSGiServerConfigurator.java:61)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:68)
        at
org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory.createConfigurationContext(OSGiConfigurationContextFac
tory.java:51)
        at org.apache.axis2.osgi.InitServlet.init(InitServlet.java:45)
        at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:65)
        at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:141)
        at
org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
        at
org.apache.axis2.osgi.internal.Activator$HttpServiceTracker.addingService(Activator.java:76)
        at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
        at
org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
        at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
        at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
        at org.apache.axis2.osgi.internal.Activator.start(Activator.java:45)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:260)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:294)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:279)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:214)
        at java.lang.Thread.run(Thread.java:595)
Nested Exception:
java.lang.NoClassDefFoundError
        at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:596)
        at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)
        at
org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
        at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:90)
        at
org.apache.axis2.osgi.deployment.OSGiServerConfigurator.populateAxisConfiguration(OSGiServerConfigurator.java:80)
        at
org.apache.axis2.osgi.deployment.OSGiServerConfigurator.getAxisConfiguration(OSGiServerConfigurator.java:61)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:68)
        at
org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory.createConfigurationContext(OSGiConfigurationContextFac
tory.java:51)
        at org.apache.axis2.osgi.InitServlet.init(InitServlet.java:45)
        at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:65)
        at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:141)
        at
org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
        at
org.apache.axis2.osgi.internal.Activator$HttpServiceTracker.addingService(Activator.java:76)
        at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
        at
org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
        at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
        at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
        at org.apache.axis2.osgi.internal.Activator.start(Activator.java:45)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:260)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:145)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:294)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:279)
        at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:214)
        at java.lang.Thread.run(Thread.java:595)


can anyone help me with this.

cheers
a
-- 
View this message in context: http://www.nabble.com/Axis2-osgi-bundle-on-Tomcat%2Bservletbridge-tp18243298p18243298.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message