Been having a heck of a time getting my CXF application running on WAS 6.1.0.19. After getting this error: Error 500: Error creating bean with name 'chirophysioEndpoint': Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError
Followed the instructions listed on the wiki [1], by moving wsdl4j into java/jre/lib/endorsed and it got me a bit farther (by that I mean another type of error): Error 500: 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: com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl incompatible with javax.xml.parsers.DocumentBuilderFactory Asked Dan K. about this and he asked me to try and remove my xerces and serializer jars, unfortunately that didn't do it. Here is a list of dependencies I have in the untouched version of my WAR [2] Any help would be greatly appreciated, we are very much stuck in a "we can't deploy to DEV, maybe we should look at Axis" type of situation. Please, for the love of god save me. Craig. [1] http://cwiki.apache.org/confluence/display/CXF20DOC/Application+Server+Specific+Configuration+Guide#ApplicationServerSpecificConfigurationGuide-Websphere [2] CorpBusinessDelegates-r1v7m0.jar CorpJavaUtilsRuntime-3.1.0.jar CorpJavaUtilsRuntimeModel-1.0.0.jar CorpJavaUtilsSecurity-r2v3m0.jar CorpLogger-r2v2m0.jar CorpPerformanceLogger-r1v0m0.jar CorpServiceInterface-r5v2m1.jar FastInfoset-1.2.7.jar GroupProviderEClaimsWSIHL7Jar-r1v0m0.jar GroupProviderEClaimsWSIServiceJar-r1v0m0.jar JavaUtils-r1v4m0.jar XmlSchema-1.4.5.jar activation-1.1.jar aopalliance-1.0.jar asm-2.2.3.jar bcprov-jdk15-1.43.jar com.springsource.javax.jms-1.1.0.jar com.springsource.javax.transaction-1.1.0.jar com.springsource.org.apache.commons.logging-1.1.1.jar com.springsource.org.apache.log4j-1.2.15.jar com.springsource.org.aspectj.runtime-1.6.3.RELEASE.jar commons-beanutils-1.6.jar commons-collections-2.0.jar commons-lang-2.4.jar commons-logging-1.0.3.jar cxf-api-2.2.3.jar cxf-common-schemas-2.2.3.jar cxf-common-utilities-2.2.3.jar cxf-rt-bindings-soap-2.2.3.jar cxf-rt-bindings-xml-2.2.3.jar cxf-rt-core-2.2.3.jar cxf-rt-databinding-jaxb-2.2.3.jar cxf-rt-frontend-jaxws-2.2.3.jar cxf-rt-frontend-simple-2.2.3.jar cxf-rt-transports-http-2.2.3.jar cxf-rt-ws-addr-2.2.3.jar cxf-rt-ws-security-2.2.3.jar cxf-tools-common-2.2.3.jar geronimo-activation_1.1_spec-1.0.2.jar geronimo-annotation_1.0_spec-1.1.1.jar geronimo-javamail_1.4_spec-1.6.jar geronimo-jaxws_2.1_spec-1.0.jar geronimo-stax-api_1.0_spec-1.0.1.jar geronimo-ws-metadata_2.0_spec-1.1.2.jar jaxb-api-2.2.jar jaxb-impl-2.1.9.jar jaxb-libs-1.0.5.jar jaxb-xjc-2.0EA3.jar jaxp-api-1.4.2.jar jaxp-ri-1.4.2.jar jdom-1.0.jar junit-addons-1.4.jar log4j-1.2.9.jar neethi-2.0.4.jar out.txt saaj-api-1.3.jar saaj-impl-1.3.2.jar serializer-2.7.1.jar spring-beans-2.5.6.jar spring-context-2.5.6.jar spring-core-2.5.6.jar spring-web-2.5.5.jar stax-api-1.0-2.jar wsdl4j-1.6.2.jar wss4j-1.5.8.jar wstx-asl-3.2.8.jar xalan-2.7.1.jar xercesImpl-2.6.2.jar xml-resolver-1.2.jar xmlParserAPIs-2.6.2.jar xmlsec-1.4.3.jar xsdbeans-5.0.1.jar -- Craig Tataryn site: http://www.basementcoders.com/ podcast:http://feeds.feedburner.com/TheBasementCoders irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin twitter: craiger
