Am Sonntag, den 28.10.2007, 09:21 -0400 schrieb Hoda, Nadeem [USA]: > Anybody have trouble with CXF on oc4j (10.1.3.3.0) app server? > > Out of the box, I get the following error with the wsdl_first sample > (this same helloworld.war works fine with tomcat 5.5): > > 07/10/28 16:38:03.656 helloworld: Error initializing servlet > java.lang.RuntimeException: > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path > resource [META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested > exception is org.springframework.beans.BeanInstantiationException: Could > not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: > Constructor threw exception; nested exception is > java.lang.ClassCastException: oracle.xml.parser.v2.DTD > at > org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.ja > va:87) > at
You may need to switch from the Oracle XML libraries to Apache ones (Xerces). That is commonly done. See 2(b) here: http://www.jroller.com/gmazza/entry/migrating_spring_based_webapp_from If that doesn't fix it, classloader logging might also help point to the problem (same blog entry). HTH, Glen
