Hi Josh

CXF trunk has been updated to use a jax-rs 1.1 api but 
cxf-dosgi-ri-dsw-cxf-1.1-SNAPSHOT depends on cxf 2.2.4.
So does it look like as if the real cause of the missing WebApplicationException exception is that no WSPolicyFeatureBeanInfo can be loaded ? It is strange...

Is there any chance that you have other JAX-RS implementations loaded as well ?

thanks, Sergey



----- Original Message ----- From: "Josh Holtzman" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 22, 2009 11:26 AM
Subject: Re: WebApplicationException not found by DOSGi


It looks like the classloader is not able to load
org.apache.cxf.ws.policy.WSPolicyFeatureBeanInfo, in case that rings any
bells.

Josh


On Tue, Sep 22, 2009 at 9:31 AM, Josh Holtzman <[email protected]>wrote:

For some reason, cxf-dosgi-ri-dsw-cxf-1.1-SNAPSHOT.jar has stopped starting
up.  Has something changed in the last couple of days?  FWIW, the JSR311
bundle is running:

[  40] [Active     ] [    2] Apache ServiceMix Specs :: JSR311 API 1.0
(1.3.0)

Thanks,
Josh

org.osgi.framework.BundleException: Activator start error in bundle
cxf-dosgi-ri-dsw-cxf [47].
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1506)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:779)
    at
org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:105)
    at
org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:291)
    at
org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:177)
    at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NoClassDefFoundError:
javax/ws/rs/WebApplicationException
    at
org.apache.cxf.dosgi.dsw.handlers.JaxRSHttpServiceConfigurationTypeHandler.createServer(JaxRSHttpServiceConfigurationTypeHandler.java:76)
    at
org.apache.cxf.dosgi.dsw.hooks.ServiceHookUtils.createServer(ServiceHookUtils.java:86)
    at
org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.createServer(CxfPublishHook.java:106)
    at
org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPublishHook.java:80)
    at
org.apache.cxf.dosgi.dsw.Activator.checkExistingServices(Activator.java:151)
    at org.apache.cxf.dosgi.dsw.Activator.start(Activator.java:81)
    at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)




Reply via email to