Author: buildbot
Date: Fri Sep 4 13:47:02 2015
New Revision: 964330
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/jax-rs-deployment.html
Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/cxf/content/docs/jax-rs-deployment.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-deployment.html (original)
+++ websites/production/cxf/content/docs/jax-rs-deployment.html Fri Sep 4
13:47:02 2015
@@ -117,16 +117,16 @@ Apache CXF -- JAX-RS Deployment
<!-- Content -->
<div class="wiki-content">
<div
id="ConfluenceContent"><p> </p><p> </p><p> </p><p> </p><p> <span
class="inline-first-p" style="font-size:2em;font-weight:bold">JAX-RS :
Deployment</span> </p><p> </p><p> </p><p> </p><p> </p><p><style
type="text/css">/*<![CDATA[*/
-div.rbtoc1435780230830 {padding: 0px;}
-div.rbtoc1435780230830 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1435780230830 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1441374390412 {padding: 0px;}
+div.rbtoc1441374390412 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1441374390412 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1435780230830">
+/*]]>*/</style></p><div class="toc-macro rbtoc1441374390412">
<ul class="toc-indentation"><li><a shape="rect"
href="#JAX-RSDeployment-ServletContainers">Servlet Containers</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#JAX-RSDeployment-Tomcat">Tomcat</a></li></ul>
</li><li><a shape="rect"
href="#JAX-RSDeployment-ApplicationServers">Application Servers</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#JAX-RSDeployment-Glassfish">Glassfish</a></li><li><a shape="rect"
href="#JAX-RSDeployment-JBoss">JBoss</a></li><li><a shape="rect"
href="#JAX-RSDeployment-WebLogic">WebLogic</a>
-<ul class="toc-indentation"><li><a shape="rect"
href="#JAX-RSDeployment-SpecifyingaWebLogicspecificJSPservlet">Specifying a
WebLogic specific JSP servlet</a></li><li><a shape="rect"
href="#JAX-RSDeployment-CXFRuntimeDelegate">CXF RuntimeDelegate</a></li><li><a
shape="rect"
href="#JAX-RSDeployment-SelectingWoodstoxasthedefaultparser">Selecting Woodstox
as the default parser</a></li><li><a shape="rect"
href="#JAX-RSDeployment-HowtouseCXFJAX-RS2.0ifWebLogicshipsJAX-RS1.1">How to
use CXF JAX-RS 2.0 if WebLogic ships JAX-RS 1.1</a></li></ul>
+<ul class="toc-indentation"><li><a shape="rect"
href="#JAX-RSDeployment-SpecifyingaWebLogicspecificJSPservlet">Specifying a
WebLogic specific JSP servlet</a></li><li><a shape="rect"
href="#JAX-RSDeployment-CXFRuntimeDelegate">CXF RuntimeDelegate</a></li><li><a
shape="rect"
href="#JAX-RSDeployment-SelectingWoodstoxasthedefaultparser">Selecting Woodstox
as the default parser</a></li><li><a shape="rect"
href="#JAX-RSDeployment-DowngradingServletversion">Downgrading Servlet
version</a></li><li><a shape="rect"
href="#JAX-RSDeployment-Removingmyfaces-shared-impljar">Removing
myfaces-shared-impl jar</a></li><li><a shape="rect"
href="#JAX-RSDeployment-HowtouseCXFJAX-RS2.0ifWebLogicshipsJAX-RS1.1">How to
use CXF JAX-RS 2.0 if WebLogic ships JAX-RS 1.1</a></li></ul>
</li><li><a shape="rect" href="#JAX-RSDeployment-Geronimo">Geronimo</a>
<ul class="toc-indentation"><li><a shape="rect"
href="#JAX-RSDeployment-CXFRuntimeDelegate.1">CXF RuntimeDelegate</a></li></ul>
</li></ul>
@@ -143,7 +143,31 @@ div.rbtoc1435780230830 li {margin-left:
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</pre>
-</div></div><p>This instructs WebLogic's classloaders to look FIRST in the
JARS from the application's WEB-INF/lib directory for Service Provider
Implementations (in this case, to find
META-INF/services/javax.xml.stream.XMLInputFactory in the Woodstox JAR) rather
than to the system classloader.<br clear="none"> Please see this <a
shape="rect" class="external-link"
href="https://forums.oracle.com/forums/message.jspa?messageID=9953045"
rel="nofollow">thread</a> for more information.</p><h3
id="JAX-RSDeployment-HowtouseCXFJAX-RS2.0ifWebLogicshipsJAX-RS1.1">How to use
CXF JAX-RS 2.0 if WebLogic ships JAX-RS 1.1</h3><p>Please see the following
email <a shape="rect" class="external-link"
href="http://cxf.547215.n5.nabble.com/jaxrs-cxf-deployment-issues-on-weblogic-12c-tp5742398p5756013.html"
rel="nofollow">message</a>.</p><h2
id="JAX-RSDeployment-Geronimo">Geronimo</h2><h3
id="JAX-RSDeployment-CXFRuntimeDelegate.1">CXF RuntimeDelegate</h3><p>It has
been reported CXF RuntimeDelegate may no
t be visible after the application has been redeployed in Geronimo. Most
likely Geronimo needs to be configured similar to the way WebLogic has to to
resolve the same issue (please see the relevant section above), TODO: update
the section once we know the actual details.</p></div>
+</div></div><p>This instructs WebLogic's classloaders to look FIRST in the
JARS from the application's WEB-INF/lib directory for Service Provider
Implementations (in this case, to find
META-INF/services/javax.xml.stream.XMLInputFactory in the Woodstox JAR) rather
than to the system classloader.<br clear="none"> Please see this <a
shape="rect" class="external-link"
href="https://forums.oracle.com/forums/message.jspa?messageID=9953045"
rel="nofollow">thread</a> for more information.</p><h3
id="JAX-RSDeployment-DowngradingServletversion">Downgrading Servlet
version</h3><p>It was reported that downgrading a web-app descriptor version in
web.xml can help disable the native (Jersey) scanning:</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: xml; gutter: false; theme: Default"
style="font-size:12px;"> <!-- From: -->
+ <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-app_3_0.xsd">
+ </web-app>
+ <!-- To: -->
+ <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ </web-app></pre>
+</div></div><h3 id="JAX-RSDeployment-Removingmyfaces-shared-impljar">Removing
myfaces-shared-impl jar</h3><p>It was reported if myfaces-shared-impl-4.1.0.jar
is shipped in a web application lib folder then removing it helps, with the
following descriptor being effective:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: xml; gutter: false; theme: Default"
style="font-size:12px;"><weblogic-web-app>
+ <context-root>/emessaging</context-root>
+ <container-descriptor>
+ <prefer-web-inf-classes>false</prefer-web-inf-classes>
+ <prefer-application-packages>
+ <package-name>javax.faces.*</package-name>
+ </prefer-application-packages>
+ </container-descriptor>
+
+</weblogic-web-app></pre>
+</div></div><p> </p><p> </p><p> </p><h3
id="JAX-RSDeployment-HowtouseCXFJAX-RS2.0ifWebLogicshipsJAX-RS1.1">How to use
CXF JAX-RS 2.0 if WebLogic ships JAX-RS 1.1</h3><p>Please see the following
email <a shape="rect" class="external-link"
href="http://cxf.547215.n5.nabble.com/jaxrs-cxf-deployment-issues-on-weblogic-12c-tp5742398p5756013.html"
rel="nofollow">message</a>.</p><h2
id="JAX-RSDeployment-Geronimo">Geronimo</h2><h3
id="JAX-RSDeployment-CXFRuntimeDelegate.1">CXF RuntimeDelegate</h3><p>It has
been reported CXF RuntimeDelegate may not be visible after the application has
been redeployed in Geronimo. Most likely Geronimo needs to be configured
similar to the way WebLogic has to to resolve the same issue (please see the
relevant section above), TODO: update the section once we know the actual
details.</p></div>
</div>
<!-- Content -->
</td>