Hi,

Can't tell so much from what you provided?

Could you please append more details? e.g. how to use the servlet transport, how you configure it? More detail more helpful.

Freeman
On 2010-3-22, at 下午12:58, gingming wrote:


Hi,

I've my components running fine with the default distribution of ServiceMix 3.3.1 using cxf-bc 2009.01 and cxf-se 2009.01, running under Tomcat with the
CxfManagedServlet.

Recently, there's a requirement to do schema validation and I found that only the newer version of the cxf-bc support it. So I upgraded the cxf-bc,
cxf-se and the shared library to the 2010.01 version from the snapshot
release.

However, I'd the following error:

Caused by: java.net.MalformedURLException: no protocol: / MessageExchange
        at java.net.URL.<init>(Unknown Source) [na:1.5.0_22]
        at java.net.URL.<init>(Unknown Source) [na:1.5.0_22]
        at java.net.URL.<init>(Unknown Source) [na:1.5.0_22]
        at
org .apache .cxf .transport .http_jetty.JettyHTTPDestination.<init>(JettyHTTPDestination.java:96)
[cxf-rt-transports-http-jetty-2.2.6.jar:2.2.6]
        at
org .apache .cxf .transport .http_jetty .JettyHTTPTransportFactory .createDestination(JettyHTTPTransportFactory.java:116)
[cxf-rt-transports-http-jetty-2.2.6.jar:2.2.6]
        at
org .apache .cxf .transport .http_jetty .JettyHTTPTransportFactory .getDestination(JettyHTTPTransportFactory.java:103)
[cxf-rt-transports-http-jetty-2.2.6.jar:2.2.6]
at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:90)
[cxf-rt-core-2.2.6.jar:2.2.6]
        at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:58)
[cxf-rt-core-2.2.6.jar:2.2.6]
        at
org .apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java: 532)
[servicemix-cxf-bc-2010.01-SNAPSHOT.jar:2010.01-SNAPSHOT]
        ... 43 common frames omitted


It seems like the Servlet Transport is not enabled after I upgraded to the
2010.01 version?  Any idea on how to fix this?
--
View this message in context: 
http://old.nabble.com/Servlet-Transport-with-cxf-bc-2010.01-tp27982415p27982415.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.



--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to