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/09 00:56:20 UTC

ClassCast Exception with dosgi/iPOJO

Hello,

I have encountered a problem while importing , with a <service-description>
tag , a remote web service.

The importer registers the service locally:
_____________________________________
INFO: Notified - AVAILABLE: [org.energetic.webservices.bd.HardwareMonitor]
endpoint id: 22eabd55-809a-41f6-a138-b5fad6853d58
_______________________________________

Then I start a client wich requires the service and I see it been looked up:
______________________________________________
INFO: lookup discovery service: interface: org.myorg.webservices.tt.Monitor
filter: null
____________________________________________________________


But follows  the following st:
_____________________________________
INFO: Creating a org.myorg.webservices.tt.Monitor client, wsdl address is
null
9 févr. 2011 00:25:09 org.apache.cxf.BusFactory newInstance
GRAVE: 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)
	at javax.xml.ws.Service.<init>(Service.java:36)
	at javax.xml.ws.Service.create(Service.java:116)
	at
org.apache.cxf.dosgi.dsw.handlers.WsdlConfigurationTypeHandler.createWebService(WsdlConfigurationTypeHandler.java:90
____________________________________________________

and the service cant be instantiated.

ANy idea ?


-----
--
Pierre
-- 
View this message in context: http://cxf.547215.n5.nabble.com/ClassCast-Exception-with-dosgi-iPOJO-tp3376852p3376852.html
Sent from the cxf-user mailing list archive at Nabble.com.