我已經安裝了Apache Geronimo 3.0.1 with Tomcat 7 and Axis2
應用程序服務器來部署我的應用程序。我在Geronimo中完成了我的應用程序工作。我想知道哪些組件可以配置到Apache geronimo特別是Apache CXF
,通過this link我來了解一下Geronimo的組件。在Geronimo中配置Apache CXF
現在我想在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捆綁在一起。所以,我不能在Geronimo中的Configure JAX-WS engine
引導配置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