You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Pierre-Henry Perret <ph...@gmail.com> on 2011/02/18 14:49:28 UTC
Failed to instantiate BusFactory
Hi all,
I try to use a locallly registered distant ws. It was registered with DOSGI
local discovery and the <service-description> tag:
___________________
AbstractClientHook$DiscoveryCallback.serviceChanged : Notified -
AVAILABLE: [connector.ALConnectorServiceV11] endpoint id:
d179b7b8-8bac-49d0-83ab-efd92d0d09bc
registering proxy for endpoint ID: d179b7b8-8bac-49d0-83ab-efd92d0d09bc
So it the service is registered and proxyfied... isn't it ?
Now, I try to use this serviceand get the following st:
2011-02-18 14:05:29,594 : SEVERE : Thread-2 : LogUtils.log : Failed to
instantiate bus factory.
java.lang.ClassCastException: class
org.apache.cxf.bus.spring.SpringBusFactory
at java.lang.Class.asSubclass(Class.java:3018)
at org.apache.cxf.BusFactory.newInstance(BusFactory.java:164)
at org.apache.cxf.BusFactory.newInstance(BusFactory.java:140)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106)
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
at
org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:64)
What do you think ?
Is there a config I have missed ?
-----
--
Pierre
--
View this message in context: http://cxf.547215.n5.nabble.com/Failed-to-instantiate-BusFactory-tp3391092p3391092.html
Sent from the cxf-user mailing list archive at Nabble.com.