You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Vassilis Virvilis <v....@biovista.com> on 2009/03/31 08:59:05 UTC
Re: client apache cxf-2.2 jar dependencies: cxf-http-jetty required backtrace
Hi,
On Friday 27 March 2009, Daniel Kulp wrote:
>
> > 5) Is
> > cxf-rt-transports-http-jetty-2.2.jar really required for a client. It was
> > not required in 2.1.3
>
> It shouldn't be required for 2.2 either and in my tests, it isn't. I've been
> trying to get a testcase that shows that it is required and so far no-one has
> stepped up to provide one. If I can get a testcase, then sure, I'll take a
> look. (hmm.... I bet my testcases all use spring. I wonder if that's why.
> Yours wouldn't.) Anyway, a simple (preferrably maven based, but not
> required) test case would be a HUGE help.
>
Here is what happens if I remove lib/cxf-rt-transports-http-jetty-2.2.jar from the build.
Maybe I am missing again some configuration since I don't use spring?
This post indicated that the jetty module is actually required...
http://markmail.org/message/b3ldvupzyrtxdlfn#query:Could not find conduit initiator for transport+page:1+mid:b3ldvupzyrtxdlfn+state:results
[java] INFO: com.biovista.lib.Net:getProxyClient() Creating proxy client for http://srv-eu.biovista.com/ws/BEAService
[java] Error:java.lang.reflect.InvocationTargetException
[java] java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at com.biovista.lib.BRunnable.run(BRunnable.java:51)
[java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[java] Caused by: java.lang.RuntimeException: Could not find conduit initiator for transport http://schemas.xmlsoap.org/soap/http
[java] at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:148)
[java] at org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:79)
[java] at org.apache.cxf.endpoint.UpfrontConduitSelector.prepare(UpfrontConduitSelector.java:61)
[java] at org.apache.cxf.endpoint.ClientImpl.prepareConduitSelector(ClientImpl.java:684)
[java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:466)
[java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299)
[java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251)
[java] at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
[java] at org.apache.cxf.frontend.ClientProxy.invoke(ClientProxy.java:68)
[java] at $Proxy11.getAvailableTypes(Unknown Source)
[java] at com.biovista.acgt.client.LiteratureMiningServiceClient.<init>(LiteratureMiningServiceClient.java:78)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[java] at java.lang.Class.newInstance0(Class.java:350)
[java] at java.lang.Class.newInstance(Class.java:303)
[java] at com.biovista.lib.Singleton.getInstance(Singleton.java:13)
[java] at com.biovista.lib.gui.Application.createMainFrame(Application.java:48)
[java] ... 12 more
Re: client apache cxf-2.2 jar dependencies: cxf-http-jetty required backtrace
Posted by Daniel Kulp <dk...@apache.org>.
OK. Now fixed on trunk. Will be in tonights snapshots.
Dan
On Tue March 31 2009 9:12:43 am Vassilis Virvilis wrote:
> On Tuesday 31 March 2009, Vassilis Virvilis wrote:
> > [java] at
> > java.awt.EventDispatchThread.run(EventDispatchThread.java:110) [java]
> > Caused by: java.lang.RuntimeException: Could not find conduit initiator
> > for transport http://schemas.xmlsoap.org/soap/http [java] at
> > org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransport
> >Factory.java:148) [java] at
> > org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(Abstra
> >ctConduitSelector.java:79)
>
> just saw it.
>
> It is documented as bug in https://issues.apache.org/jira/browse/CXF-1999
>
>
> .bill
--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog
Re: client apache cxf-2.2 jar dependencies: cxf-http-jetty required backtrace
Posted by Vassilis Virvilis <v....@biovista.com>.
On Tuesday 31 March 2009, Vassilis Virvilis wrote:
> [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> [java] Caused by: java.lang.RuntimeException: Could not find conduit initiator for transport http://schemas.xmlsoap.org/soap/http
> [java] at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:148)
> [java] at org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:79)
just saw it.
It is documented as bug in https://issues.apache.org/jira/browse/CXF-1999
.bill