You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Apache Geronimo 2.0 is distributed with two JAX-WS engines: Apache Axis2 and Apache CXF. By default, the Geronimo-Jetty assembly is configured to use CXF as its JAX-WS engine and Geronimo-Tomcat assembly is configured to use Axis2.

There are two way to configure which JAX-WS engine should be used:

Setting a system property

To configure Axis2 as Geronimo's JAX-WS engine, set the org.apache.geronimo.jaxws.provider system property to "axis2". For example:

export GERONIMO_OPTS="-Dorg.apache.geronimo.jaxws.provider=axis2"

To configure CXF as Geronimo's JAX-WS engine, set the org.apache.geronimo.jaxws.provider system property to "cxf". For example:

export GERONIMO_OPTS="-Dorg.apache.geronimo.jaxws.provider=cxf"

Changing the configuration file

To configure Axis2 as Geronimo's JAX-WS engine, modify the $GERONIMO_HOME/var/config/config.xml file in the following way:

  1. Remove the condition attribute and add the load="false" attribute to org.apache.geronimo.configs/cxf-deployer/2.0/car module.
  2. Remove the condition attribute and add the load="true" attribute to org.apache.geronimo.configs/axis2-deployer/2.0/car module.

To configure CXF as Geronimo's JAX-WS engine, modify the $GERONIMO_HOME/var/config/config.xml file in the following way:

  1. Remove the condition attribute and add the load="false" attribute to org.apache.geronimo.configs/axis2-deployer/2.0/car module.
  2. Remove the condition attribute and add the load="true" attribute to org.apache.geronimo.configs/cxf-deployer/2.0/car module.
  • No labels