我已经安装了Apache Geronimo 3.0.1 with Tomcat 7 and Axis2应用服务器来部署我的应用程序。我让我的应用程序在Geronimo中工作。我想知道Apache Geronimo可以配置哪些组件,尤其是Apache CXF,通过this link我了解了geronimo的组件。
现在我想在Geronimo中配置Apache CXF。链接Configure JAX-WS engine说明了如何在Geronimo中配置Apache CXF。因为我安装了Apache Geronimo 3.0.1 with Tomcat 7 and Axis2,所以根据given link,Apache Axis2与Apache Geronimo捆绑在一起。因此,我不能按照Configure JAX-WS engine指南中的过程在geronimo中配置cxf,比如
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.我确实设置了环境变量以及
GERONIMO_OPTS="-Dorg.apache.geronimo.jaxws.provider=axis2"但是没有用。
谁能告诉我如何在Geronimo中配置Apache CXF,以及如何在我的应用程序中使用该服务?
注意:我想使用来自Apache cxf的RESTfull Http和Local Transport服务,这就是我想使用Apache cxf而不是Apache axis的原因
发布于 2014-04-02 20:31:18
配置转到\var\
https://stackoverflow.com/questions/17614212
复制相似问题