You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by adam galloway <ad...@nrg-edge.com> on 2010/02/04 21:27:13 UTC

What is so different about CXF with WebSphere 6.1 on AIX?

I have a CXF 2.2.4 application running fine in WebSphere 6.1.0.29 on Ubuntu. 
Using the Application Server Specific Configuration Guide in WebSphere on
Ubuntu I simply create a shared library with a classpath value pointing to
wsdl4j-1.6.2.jar and add that shared library to a new "application first"
class loader at the server configuration level.  I restart the server and
all runs fine.

I do the exact same steps with WebSphere 6.1.0.29 on AIX and I get saaj
exceptions.

I then tried adding saaj-imp, saaj-api and jaxp-ri to the shared library and
it gives me a classnotfound exception for StAXResult.

I then add jaxp-api to the shared library and it gives me 

java.lang.ClassCastException:
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
incompatible with javax.xml.parsers.DocumentBuilderFactory 

This runs great on WebSphere with Ubuntu, I'm struggling to find a
difference in the two.

Any help would be appreciated.
-- 
View this message in context: http://old.nabble.com/What-is-so-different-about-CXF-with-WebSphere-6.1-on-AIX--tp27459210p27459210.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: What is so different about CXF with WebSphere 6.1 on AIX?

Posted by adam galloway <ad...@nrg-edge.com>.
We do not have Web Services Feature Pack installed on either Ubuntu or AIX
but I have added the manifest entry (DisableIBMJAXWSEngine: true) that was
added with fix pack 29. It has had no affect.

I've also tried to follow the article on IBM developer works that is linked
from the CXF docs and though the sample app appears to run fine, the ear
that they provide has CXF 2.1.3 included.

And whenever I remove the "conflicting" jars they have listed in their
steps, the application gives ClassNotFound errors referring to the Sun JDK
classes.  I'm using maven to build this project and I'm not sure if there's
something I need to change with compiliation.  I'm attempting to recreate
Craig's steps in getting it to work from this thread:

http://mail-archives.apache.org/mod_mbox/cxf-users/200910.mbox/%3C8384c2b90910261256r68c45e8dxe2615a581d355b8f@mail.gmail.com%3E




dkulp wrote:
> 
> 
> We recently added some updated docs about using CXF with 6.1.0.29 that IBM
> provided:
> 
> http://cxf.apache.org/docs/application-server-specific-configuration-guide.html#ApplicationServerSpecificConfigurationGuide-Websphere
> 
> Can you double check the instructions that are there?
> 
> Dan
> 
> 
> On Thu February 4 2010 3:27:13 pm adam galloway wrote:
>> I have a CXF 2.2.4 application running fine in WebSphere 6.1.0.29 on
>>  Ubuntu. Using the Application Server Specific Configuration Guide in
>>  WebSphere on Ubuntu I simply create a shared library with a classpath
>>  value pointing to wsdl4j-1.6.2.jar and add that shared library to a new
>>  "application first" class loader at the server configuration level.  I
>>  restart the server and all runs fine.
>> 
>> I do the exact same steps with WebSphere 6.1.0.29 on AIX and I get saaj
>> exceptions.
>> 
>> I then tried adding saaj-imp, saaj-api and jaxp-ri to the shared library
>>  and it gives me a classnotfound exception for StAXResult.
>> 
>> I then add jaxp-api to the shared library and it gives me
>> 
>> java.lang.ClassCastException:
>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
>> incompatible with javax.xml.parsers.DocumentBuilderFactory
>> 
>> This runs great on WebSphere with Ubuntu, I'm struggling to find a
>> difference in the two.
>> 
>> Any help would be appreciated.
>> 
> 
> -- 
> Daniel Kulp
> dkulp@apache.org
> http://www.dankulp.com/blog
> 
> 

-- 
View this message in context: http://old.nabble.com/What-is-so-different-about-CXF-with-WebSphere-6.1-on-AIX--tp27459210p27461020.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: What is so different about CXF with WebSphere 6.1 on AIX?

Posted by Daniel Kulp <dk...@apache.org>.
We recently added some updated docs about using CXF with 6.1.0.29 that IBM provided:

http://cxf.apache.org/docs/application-server-specific-configuration-guide.html#ApplicationServerSpecificConfigurationGuide-Websphere

Can you double check the instructions that are there?

Dan


On Thu February 4 2010 3:27:13 pm adam galloway wrote:
> I have a CXF 2.2.4 application running fine in WebSphere 6.1.0.29 on
>  Ubuntu. Using the Application Server Specific Configuration Guide in
>  WebSphere on Ubuntu I simply create a shared library with a classpath
>  value pointing to wsdl4j-1.6.2.jar and add that shared library to a new
>  "application first" class loader at the server configuration level.  I
>  restart the server and all runs fine.
> 
> I do the exact same steps with WebSphere 6.1.0.29 on AIX and I get saaj
> exceptions.
> 
> I then tried adding saaj-imp, saaj-api and jaxp-ri to the shared library
>  and it gives me a classnotfound exception for StAXResult.
> 
> I then add jaxp-api to the shared library and it gives me
> 
> java.lang.ClassCastException:
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
> incompatible with javax.xml.parsers.DocumentBuilderFactory
> 
> This runs great on WebSphere with Ubuntu, I'm struggling to find a
> difference in the two.
> 
> Any help would be appreciated.
> 

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Re: What is so different about CXF with WebSphere 6.1 on AIX?

Posted by adam galloway <ad...@nrg-edge.com>.
Just to update here is the list of jars included in WEB-INF/lib

aopalliance-1.0.jar
asm-2.2.3.jar
bcprov-jdk15-1.43.jar
commons-beanutils-1.8.1.jar
commons-collections-3.2.1.jar
commons-dbcp-1.2.2.jar
commons-lang-2.4.jar
commons-logging-1.1.1.jar
commons-pool-1.3.jar
cxf-api-2.2.4.jar
cxf-common-schemas-2.2.4.jar
cxf-common-utilities-2.2.4.jar
cxf-rt-bindings-soap-2.2.4.jar
cxf-rt-bindings-xml-2.2.4.jar
cxf-rt-core-2.2.4.jar
cxf-rt-databinding-jaxb-2.2.4.jar
cxf-rt-frontend-jaxws-2.2.4.jar
cxf-rt-frontend-simple-2.2.4.jar
cxf-rt-transports-http-2.2.4.jar
cxf-rt-ws-addr-2.2.4.jar
cxf-rt-ws-security-2.2.4.jar
cxf-tools-common-2.2.4.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.1.jar
jaxb-impl-2.1.12.jar
jaxp-api-1.4.2.jar
jaxp-ri-1.4.2.jar
jsr173_api-1.0.jar
log4j-1.2.8.jar
neethi-2.0.4.jar
quartz-1.6.3.jar
saaj-api-1.3.jar
saaj-impl-1.3.2.jar
serializer-2.7.1.jar
spring-2.5.6.SEC01.jar
wsdl4j-1.6.2.jar
wss4j-1.5.8.jar
wstx-asl-3.2.8.jar
xalan-2.7.1.jar
xml-resolver-1.2.jar
XmlSchema-1.4.5.jar
xmlsec-1.4.3.jar




adam galloway wrote:
> 
> I have a CXF 2.2.4 application running fine in WebSphere 6.1.0.29 on
> Ubuntu.  Using the Application Server Specific Configuration Guide in
> WebSphere on Ubuntu I simply create a shared library with a classpath
> value pointing to wsdl4j-1.6.2.jar and add that shared library to a new
> "application first" class loader at the server configuration level.  I
> restart the server and all runs fine.
> 
> I do the exact same steps with WebSphere 6.1.0.29 on AIX and I get saaj
> exceptions.
> 
> I then tried adding saaj-imp, saaj-api and jaxp-ri to the shared library
> and it gives me a classnotfound exception for StAXResult.
> 
> I then add jaxp-api to the shared library and it gives me 
> 
> java.lang.ClassCastException:
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
> incompatible with javax.xml.parsers.DocumentBuilderFactory 
> 
> This runs great on WebSphere with Ubuntu, I'm struggling to find a
> difference in the two.
> 
> Any help would be appreciated.
> 

-- 
View this message in context: http://old.nabble.com/What-is-so-different-about-CXF-with-WebSphere-6.1-on-AIX--tp27459210p27459297.html
Sent from the cxf-user mailing list archive at Nabble.com.