cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zarar Siddiqi <>
Subject Glassfish keeps using default provider, ignores META-INF/services/
Date Fri, 03 Dec 2010 18:47:08 GMT

Got two apps serving as a client to an external web service, one is on
Tomcat and one is on Glassfish.  The Tomcat one works like a charm, but
Glassfish keeps throwing the classic ClassCastException: cannot be cast to

Funny part is that I have cxf-bundle already in the classpath of the war
inside the ear and it contains the file which
contains the line org.apache.cxf.jaxws.spi.ProviderImpl.  So I dont' see why
it's using the provider that comes bundled with the JDK in rt.jar.  I even
tried putting the cxf-bundle jar at the root of the EAR but that doesn't do
it either.  I even tried setting it using System.setProperty() and also
attempted to create a file manually under WEB-INF/classes/... but nothing.

Any ideas on what might be missing?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message