Author: buildbot
Date: Thu Mar 8 15:52:06 2012
New Revision: 807876
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/application-server-specific-configuration-guide.html
Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.
Modified:
websites/production/cxf/content/docs/application-server-specific-configuration-guide.html
==============================================================================
---
websites/production/cxf/content/docs/application-server-specific-configuration-guide.html
(original)
+++
websites/production/cxf/content/docs/application-server-specific-configuration-guide.html
Thu Mar 8 15:52:06 2012
@@ -123,11 +123,11 @@ Apache CXF -- Application Server Specifi
<div class="wiki-content">
<div id="ConfluenceContent"><p>This document provides app server-specific
configuration information for running Apache CXF.</p>
<style type="text/css">/*<![CDATA[*/
-div.rbtoc1314634451884 {margin-left: 1.5em;padding: 0px;}
-div.rbtoc1314634451884 ul {list-style: disc;margin-left: 0px;padding-left:
20px;}
-div.rbtoc1314634451884 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1331221576886 {margin-left: 1.5em;padding: 0px;}
+div.rbtoc1331221576886 ul {list-style: disc;margin-left: 0px;padding-left:
20px;}
+div.rbtoc1331221576886 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style><div class="rbtoc1314634451884">
+/*]]>*/</style><div class="rbtoc1331221576886">
<ul><li><a shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-JBoss">JBoss</a></li><li><a
shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-WebLogic">WebLogic</a></li><ul><ul><li><a
shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-Putjarsinendorsedfolder">Put
jars in endorsed folder</a></li><li><a shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-Packwarinanear%2Cdeploytheearwithweblogicapplication.xml">Pack
war in an ear, deploy the ear with
weblogic-application.xml</a></li></ul></ul><li><a shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-Websphere">Websphere</a></li><ul><li><a
shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-ForWebSphereVersions%3C6.1.0.29">For
WebSphere Versions < 6.1.0.29</a></li><ul><li><a shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-NoWebServicesFeaturePackforWebSphereinstalled">No
Web Services Feature Pack for WebSphere installed</a></li><ul><li
><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-putjarintheendorsedfolder">put
> jar in the endorsed folder</a></li><li><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-Addyourownclassloader">Add
>your own class loader</a></li></ul><li><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-WebServicesFeaturePackforWebSphereInstalled">Web
> Services Feature Pack for WebSphere Installed</a></li></ul><li><a
>shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-ForWebSphere6.1.0.29%2CV7andV8">For
> WebSphere 6.1.0.29+, V7 and V8</a></li></ul><li><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-Glassfish">Glassfish</a></li><li><a
> shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-OC4J">OC4J</a></li><ul><li><a
> shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-Disclaimer">Disclaimer</a></li><li><a
> shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-Background">Background</a
></li><ul><li><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-Configurationoverview">Configuration
> overview</a></li><li><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-OracleOC4Jclassloading">Oracle
> OC4J class loading</a></li><li><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-Neededcomponents">Needed
>components</a></li><li><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-Preparingstaxapi">Preparing
> stax-api</a></li><li><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-ReplacetheOracleXMLparserwithXerces">Replace
> the Oracle XML parser with Xerces</a></li><li><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-GetridofOC4JJAXWSlibraries">Get
> rid of OC4J JAX-WS libraries</a></li><li><a shape="rect"
>href="#ApplicationServerSpecificConfigurationGuide-swappingOracle%7B%7Bwsdl.jar%7D%7Dwith%7B%7Bwsdl4j.jar%7D%7Dand%7B%7Bjaxb.jar%7D%7DAPIwith%7B%7Bjaxbapi2.0.jar%7D%7D">swappin
g Oracle <tt>wsdl.jar</tt> with <tt>wsdl4j.jar</tt> and <tt>jaxb.jar</tt> API
with <tt>jaxb-api-2.0.jar</tt></a></li><li><a shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-Deployingapplications">Deploying
applications</a></li><li><a shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-OracleFAQ">Oracle
FAQ</a></li><ul><li><a shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-I%27mgetting%7B%7Bjava.lang.ClassCastException%3Aorg.apache.xerces.jaxp.DocumentBuilderFactoryImpl%7D%7D">I'm
getting <tt>java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</tt></a></li><li><a
shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-IcannotgetWSDL%28gettingHTTP500accesingmyCXFserviceWSDLwith">I
cannot get WSDL (getting HTTP 500 accesing my CXF service WSDL with
http://myshot/myservice?wsdl)</a></li><li><a shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-I%27mgetting%7B%7Bjava.lang.NoSuchMethodExcep
tion%3Aoracle.j2ee.ws.wsdl.extensions.soap.SOAPBodyImpl.getElementType%28%29%7D%7D">I'm
getting <tt>java.lang.NoSuchMethodException:
oracle.j2ee.ws.wsdl.extensions.soap.SOAPBodyImpl.getElementType()</tt></a></li><li><a
shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-Icannotgetittoworkstill">I
cannot get it to work still</a></li></ul></ul></ul><li><a shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-IntegrationwithApplicationServerFAQ">Integration
with Application Server FAQ</a></li><li><a shape="rect"
href="#ApplicationServerSpecificConfigurationGuide-Resources">Resources</a></li></ul></div>
<h2><a shape="rect"
name="ApplicationServerSpecificConfigurationGuide-JBoss"></a>JBoss</h2>
@@ -264,6 +264,41 @@ wsdl4j-1.6.2.jar </p>
<p>to WAR/META-INF/MANIFEST.MF.</p>
+<p>Another issue that comes up with certain versions of WebSphere is an
incompatibility with the SAAJ implementation. It is recommended to use the
org.apache.servicemix.bundles.saaj-impl-1.3.18_1.jar saaj impl available from
<a shape="rect" class="external-link"
href="http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.saaj-impl/1.3.18_1/"
rel="nofollow">http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.saaj-impl/1.3.18_1/</a>
as that contains a recent version of SAAJ along with it's required DOM
implementation which will work on the IBM JDK. </p>
+
+<p>One user has reported that he was able to get CXF working on WebSphere with
a minimal set of CXF jars by following the above <br clear="none">
+procedures and using the list of jars:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
+<pre class="code-java">
+FastInfoset-1.2.9.jar
+aopalliance-1.0.jar
+commons-logging-1.1.1.jar
+cxf-2.5.2.jar
+geronimo-activation_1.1_spec-1.1.jar
+geronimo-annotation_1.0_spec-1.1.1.jar
+geronimo-javamail_1.4_spec-1.7.1.jar
+geronimo-jaxws_2.2_spec-1.1.jar
+geronimo-stax-api_1.0_spec-1.0.1.jar
+geronimo-ws-metadata_2.0_spec-1.1.3.jar
+jars_in_war.txt
+jaxb-api-2.2.3.jar
+jaxb-impl-2.2.4-1.jar
+neethi-3.0.1.jar
+org.apache.servicemix.bundles.saaj-impl-1.3.18_1.jar
+spring-aop-3.0.6.RELEASE.jar
+spring-asm-3.0.6.RELEASE.jar
+spring-beans-3.0.6.RELEASE.jar
+spring-context-3.0.6.RELEASE.jar
+spring-core-3.0.6.RELEASE.jar
+spring-expression-3.0.6.RELEASE.jar
+spring-web-3.0.6.RELEASE.jar
+stax2-api-3.1.1.jar
+woodstox-core-asl-4.1.1.jar
+wsdl4j-1.6.2.jar
+xmlschema-core-2.0.1.jar
+</pre>
+</div></div>
+
<h2><a shape="rect"
name="ApplicationServerSpecificConfigurationGuide-Glassfish"></a>Glassfish</h2>
<p>CXF Interceptors will not work in Glassfish without this sun-web.xml file
to configure the classloader. By default, Glassfish will use Metro for JAX-WS
services so the classloader needs to be configured to allow CXF libraries to
provide JAX-WS services. The following sun-web.xml xml source was added to
/WEB-INF to resolve this issue:</p>