When calling a remote web service through the local DOSGI imported  service (
with the Greeter sample),
I get the following st (see donw here)

The appli is that:

1- on a Felix framework I deploy the Greeter service and expose it as a WS
(http://localhost:9090/greeter)
2- on another Felix , I import the WS from (1) 
3- after verifying (2) is ok, (inspecting dosgi bundle) I deploy a client
for osgi imported service 
4- service is found but the invocation fails :
__________________________________________
ATTENTION: handle failed
java.lang.NoClassDefFoundError: org/mortbay/util/ByteArrayOutputStream2
        at org.mortbay.jetty.Response.sendError(Response.java:279)
        at org.mortbay.jetty.Response.sendError(Response.java:340)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:562)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
Caused by: java.lang.ClassNotFoundException:
org.mortbay.util.ByteArrayOutputStream2 not found by
cxf-dosgi-ri-singlebundle-distribution [1]
        at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
        at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
____________________________________________________

It seems that invocation encounters a problem of mashalling/unmarshalling ?

Thanks
_______________________________________________________________

-----
--
Pierre
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/Marshalling-problem-with-cxf-dosgi-ri-singlebundle-distribution-tp3351273p3351273.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to