Oliver, Thanks for the tip, this solved my problems!
-- Brian On Fri, Dec 30, 2011 at 1:31 PM, Oliver Wulff <[email protected]> wrote: > Deploy the saaj impl (but not api) from servicemix into your web-inf/lib. > Had the same issue. > Hth > Oli > > Glen Mazza <[email protected]> schrieb: > > > Unfortunately my blog entry was vague--I'm unsure whether I loaded it as > a WAR or as an EAR--the WebLogic article it refers to states that either > will work. You might wish to put nothing in WEB-INF/lib and try > creating your web service as an EAR (it will go as a /lib subfolder > under that level instead) per my blog entry--that might clarify the > classloading issues for WebSphere. But YMMV, as I haven't tested it in > a few months (under CXF 2.4.x) and app server setups will vary from > machine to machine. > > I shouldn't need to list JARs used in the blog entry as you > request--with Maven projects, the dependencies listed in the Maven pom > file should be sufficient to define what is needed. However for the > project I ran a few months ago, this is what was in my target\ear\lib > folder: > > 09/19/2011 11:57 AM 4,467 aopalliance-1.0.jar > 09/19/2011 11:57 AM 43,578 asm-3.3.jar > 09/19/2011 11:57 AM 60,686 commons-logging-1.1.1.jar > 09/19/2011 11:57 AM 359,515 cxf-api-2.4.2.jar > 09/19/2011 11:57 AM 329,926 cxf-common-utilities-2.4.2.jar > 09/19/2011 11:57 AM 173,409 cxf-rt-bindings-soap-2.4.2.jar > 09/19/2011 11:57 AM 37,299 cxf-rt-bindings-xml-2.4.2.jar > 09/19/2011 11:57 AM 506,706 cxf-rt-core-2.4.2.jar > 09/19/2011 11:57 AM 92,269 cxf-rt-databinding-jaxb-2.4.2.jar > 09/19/2011 11:57 AM 352,975 cxf-rt-frontend-jaxws-2.4.2.jar > 09/19/2011 11:57 AM 99,255 cxf-rt-frontend-simple-2.4.2.jar > 09/19/2011 11:57 AM 65,887 cxf-rt-management-2.4.2.jar > 09/19/2011 11:57 AM 18,230 cxf-rt-transports-common-2.4.2.jar > 09/19/2011 11:57 AM 206,259 cxf-rt-transports-http-2.4.2.jar > 09/19/2011 11:57 AM 87,046 cxf-rt-ws-addr-2.4.2.jar > 09/19/2011 11:57 AM 160,063 cxf-tools-common-2.4.2.jar > 09/19/2011 11:57 AM 223,298 geronimo-javamail_1.4_spec-1.7.1.jar > 09/19/2011 11:57 AM 876,610 jaxb-impl-2.1.13.jar > 09/19/2011 11:57 AM 70,663 neethi-3.0.1.jar > 09/19/2011 11:57 AM 10,571 service-bundle-1.0-SNAPSHOT.jar > 09/19/2011 11:57 AM 321,190 spring-aop-3.0.5.RELEASE.jar > 09/19/2011 11:57 AM 53,082 spring-asm-3.0.5.RELEASE.jar > 09/19/2011 11:57 AM 555,410 spring-beans-3.0.5.RELEASE.jar > 09/19/2011 11:57 AM 668,861 spring-context-3.0.5.RELEASE.jar > 09/19/2011 11:57 AM 382,442 spring-core-3.0.5.RELEASE.jar > 09/19/2011 11:57 AM 169,752 spring-expression-3.0.5.RELEASE.jar > 09/19/2011 11:57 AM 395,587 spring-web-3.0.5.RELEASE.jar > 09/19/2011 11:57 AM 182,112 stax2-api-3.1.1.jar > 09/19/2011 11:57 AM 478,446 woodstox-core-asl-4.1.1.jar > 09/19/2011 11:57 AM 148,429 wsdl4j-1.6.2.jar > 09/19/2011 11:57 AM 84,091 xml-resolver-1.2.jar > 09/19/2011 11:57 AM 160,085 xmlschema-core-2.0.jar > > HTH, > Glen > > On 12/28/2011 7:17 PM, Brian Hayward wrote: >> Thanks for replying. >> >> I found your article before, I also followed Thaker's guide, none of >> them have solved it. >> >> It is a problem with my list of jars in WEB-INF/lib. Unfortunately, I >> just don't know what the correct combination of jars is to make this >> work. I've tried to piece it together unsuccessfully by looking at >> other articles - but the articles for 2.5 are thin. Most are for >> 2.0-2.2 CXF / Spring 2.x. >> >> If you add to your article a complete list of the jars and >> dependencies required in WEB-INF/lib and endorsed folders to get this >> to work, it would prove a great service to me and others I suspect. >> So far, I've not found any site or article that provides this list for >> WAS 7.0 + CXF 2.5. >> >> Thanks, >> Brian >> >> >> On Wed, Dec 28, 2011 at 5:38 PM, Glen Mazza<[email protected]> wrote: >>> Might this help? >>> http://www.jroller.com/gmazza/entry/deploying_webservices_on_websphere >>> >>> Glen >>> >>> >>> On 12/28/2011 05:56 PM, Brian Hayward wrote: >>>> Hey all, >>>> >>>> So far, I've tried a number of things to get the above combination >>>> working with no luck. >>>> * Follow the PDF provided by IBM >>>> * Follow the tips in this email thread, such as putting neethi, >>>> xmlschema in the JVM endorsed folder >>>> * Parent Last classloader configurations >>>> * Disabling JAX-WS Annotation Scanning >>>> * With and without saaj-*-1.3.2 and xerces in the WEB-INF/lib >>>> * CXF Wiki articles >>>> * With and without SUN JAXP 1.4.x in WEB-INF/lib >>>> >>>> It works fine in Apache Tomcat, but no dice on WAS 7.0. >>>> >>>> All of my issues revolve around XML Parsing and JAX-WS implementation >>>> jar conflicts. Not sure which exception to list, It seems I go in >>>> circles - I always get one of 3 different exceptions depending on the >>>> arrangement of the jars. >>>> >>>> If someone has been successful with this, can you send a list of the >>>> jar's in WEB-INF/lib + any additions to endorsed folders that were >>>> required? Also - if you have a good maven pom.xml for building it >>>> with the right dependencies, that would be even better. >>>> >>>> Here is my current exception: >>>> Caused by: java.lang.ClassCastException: >>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl >>>> incompatible with javax.xml.parsers.DocumentBuilderFactory >>>> at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown >>>> Source) >>>> at java.util.Properties.loadFromXML(Properties.java:662) >>>> >>>> >>>> Here is the list of jar's in WEB-INF/lib folder: >>>> >>>> antlr-2.7.6.jar >>>> aopalliance-1.0.jar >>>> asm-3.3.jar >>>> asm-all-3.1.jar >>>> cglib-nodep-2.2.jar >>>> classworlds-1.1.jar >>>> commons-beanutils-1.8.3.jar >>>> commons-beanutils-core-1.8.0.jar >>>> commons-cli-1.0.jar >>>> commons-codec-1.2.jar >>>> commons-collections-3.1.jar >>>> commons-configuration-1.6.jar >>>> commons-digester-1.8.jar >>>> commons-httpclient-2.0.2.jar >>>> commons-io-1.3.2.jar >>>> commons-lang-2.5.jar >>>> commons-logging-1.1.1.jar >>>> commons-logging-api-1.0.4.jar >>>> commons-validator-1.2.0.jar >>>> cxf-api-2.5.0.jar >>>> cxf-common-utilities-2.5.0.jar >>>> cxf-rt-bindings-soap-2.5.0.jar >>>> cxf-rt-bindings-xml-2.5.0.jar >>>> cxf-rt-core-2.5.0.jar >>>> cxf-rt-databinding-jaxb-2.5.0.jar >>>> cxf-rt-frontend-jaxrs-2.5.0.jar >>>> cxf-rt-frontend-jaxws-2.5.0.jar >>>> cxf-rt-frontend-simple-2.5.0.jar >>>> cxf-rt-rs-security-xml-2.5.0.jar >>>> cxf-rt-transports-common-2.5.0.jar >>>> cxf-rt-transports-http-2.5.0.jar >>>> cxf-rt-transports-http-jetty-2.5.0.jar >>>> cxf-rt-ws-addr-2.5.0.jar >>>> cxf-rt-ws-policy-2.5.0.jar >>>> cxf-rt-ws-security-2.5.0.jar >>>> cxf-services-sts-core-2.5.0.jar >>>> cxf-tools-common-2.5.0.jar >>>> dom4j-1.6.1.jar >>>> doxia-core-1.0-alpha-7.jar >>>> doxia-decoration-model-1.0-alpha-7.jar >>>> doxia-sink-api-1.0-alpha-7.jar >>>> doxia-site-renderer-1.0-alpha-7.jar >>>> easymock-3.0.jar >>>> easymockclassextension-3.0.jar >>>> ehcache-core-2.4.4.jar >>>> file-management-1.1.jar >>>> hazelcast-1.9.4.jar >>>> hibernate-core-3.5.4-Final.jar >>>> jaxb-impl-2.1.13.jar >>>> jaxp-api.jar >>>> jaxp-ri.jar >>>> jdom-1.0.jar >>>> jettison-1.3.jar >>>> joda-time-1.6.2.jar >>>> jsch-0.1.27.jar >>>> jsp-api-2.1.jar >>>> jsr311-api-1.1.1.jar >>>> jstl-1.2.jar >>>> jta-1.1.jar >>>> jtidy-4aug2000r7-dev.jar >>>> log4j-1.2.16.jar >>>> neethi-3.0.1.jar >>>> objenesis-1.2.jar >>>> opensaml-2.5.1-1.jar >>>> openws-1.4.2-1.jar >>>> oro-2.0.7.jar >>>> serializer-2.7.1.jar >>>> slf4j-api-1.5.11.jar >>>> slf4j-log4j12-1.5.11.jar >>>> slide-webdavlib-2.1.jar >>>> spring-2.5.6.jar >>>> spring-aop-3.0.5.RELEASE.jar >>>> spring-asm-3.0.6.RELEASE.jar >>>> spring-beans-3.0.5.RELEASE.jar >>>> spring-context-3.0.6.RELEASE.jar >>>> spring-core-3.0.6.RELEASE.jar >>>> spring-expression-3.0.6.RELEASE.jar >>>> spring-ldap-core-1.3.1.RELEASE.jar >>>> spring-tx-3.0.5.RELEASE.jar >>>> spring-web-3.0.6.RELEASE.jar >>>> stax2-api-3.1.1.jar >>>> velocity-1.4.jar >>>> velocity-dep-1.4.jar >>>> woodstox-core-asl-4.1.1.jar >>>> wsdl4j-1.6.2.jar >>>> wss4j-1.6.3.jar >>>> xalan-2.7.1.jar >>>> xml-apis-1.0.b2.jar >>>> xml-im-exporter-1.1.jar >>>> xml-resolver-1.2.jar >>>> xmlschema-core-2.0.1.jar >>>> xmlsec-1.4.5.jar >>>> xmltooling-1.3.2-1.jar >>> >>> >>> -- >>> Glen Mazza >>> Talend Community Coders >>> http://coders.talend.com >>> blog: http://www.jroller.com/gmazza >>> > > > -- > Glen Mazza > Talend Community Coder > http://coders.talend.com >
