Configure Apache CXF in Geronimo - apache

I have installed Apache Geronimo 3.0.1 with Tomcat 7 and Axis2 Application server to deploy my application. I made my application work in Geronimo. I want to know what are the components can be configure to Apache geronimo especially Apache CXF, Through this link I come to know about component of Geronimo.
Now I want to configure Apache CXF in Geronimo. The link Configure JAX-WS engine says how to configure Apache CXF in Geronimo. Since I installed Apache Geronimo 3.0.1 with Tomcat 7 and Axis2, Apache Axis2 is bundled with Apache Geronimo as per given link. So, I can't configure cxf in geronimo as per the procedure in Configure JAX-WS engine guide like
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.
I did set the environment variable as well as
GERONIMO_OPTS="-Dorg.apache.geronimo.jaxws.provider=axis2"
but no use.
Can any one tell me how can I Configure Apache CXF in Geronimo and how to use this service in my application?
Note: I want to use RESTfull Http and Local Transport service from Apache cxf that's why I wanted to use Apache cxf instead of Apache axis

Go to \var\config directory. Open config.xml file.
check "org.apache.geronimo.configs/cxf/3.0.1/car", "org.apache.geronimo.configs/cxf-deployer/3.0.1/car"
Set load="true" if it exist. Otherwise, Download and install it.
Set GERONIMO_OPTS="-Dorg.apache.geronimo.jaxws.provider=cxf"

Related

I can add a new module in Apache Http server, Can i do the same in IBM Http Server (IHS) as it uses the apache http server underneath?

I have this requirement to write a customized module in http server. Newer version of the application uses the APACHE http server and the older version is deployed on IHS (IBM Http Server). I tried googling it but I couldn't find anywhere if I can write a module and packaged it in IHS .Is that possible ? If yes , how ? Do I have to get the code and build it with my module or I can write some extension and plugin into IHS. anything will help , thanks.
Yes, you extend IHS the same way you extend a vanilla Apache HTTP Server module -- with the Apache HTTP Server API.
You can either use binary modules compiled against vanilla Apache, or compile directly against IHS with the inclued bin/apxs script.
For pointers, look at any existing module in the core distribution of Apache, or Nick Kew's Apache Modules book.

Can we use Apache tomcat instead of JBOSS for EJBCA?

Actaully I am trying to use EJBCA as CA in my project wherein there is already apache tomcat deployed and I am not in favour of using any other webserver. So, Can we use Apache tomcat instead of JBOSS for EJBCA?
No you can not a full JEE server is needed.

Apache module supports in wsman profile

I want to know which all modules in apache server supports wsman profile completly?
Have mod_wsman module for configuring openwsman web service in apache.
You can download source code from this link .https://github.com/Openwsman/mod_wsman
make , install and configure it in apache.
mod_wsman is openwsman-server but without the http stack.
It's an Apache plugin, so you can use the Apache http stack to handle
requests and pass them to the openwsman-server backend for processing.
mod_wsman is not very well maintained.
Assuming by wsman you mean WS-Management...
Of the standard modules that ship with Apache Web Server (httpd). None.
Apache Tomcat also has no support for this.

How to install Tomcat on Apache HTTP Server

I am playing around GeoServer and I have a Apache HTTP Server
I want to put GeoServer on my Apache HTTP Server, but we can only download a WAR file of GeoServer for Tomcat.
Is it possible to install Tomcat on Apache HTTP server?
Tomcat is seperate product which has nothing to do with the Apache Web Server and has to be installed separately,
Apache Tomcat has nothing to do with Apache HTTP Server. If you are trying to deploy some java webapps with JSPs and Servlets (and may be other web framework that uses these two) you just need to install tomcat server only. You can download it from here.
If you want to know the difference b/w Tomcat and HTTP server its given in this question
Hope this is useful. If any mistakes pardon me.

Can Struts 2 run on Apache2 server without Tomcat?

Please help! I got very frustrated with this assignment to demonstrate Apache and Java Struts. I cannot make struts apps run in the Apache web directory. They only work under Tomcat.
Can I use Struts only under Apache without Tomcat? ... Thanks very much!
Apache and Tomcat serve different purposes. You cannot use Apache to run Struts because it's just a web server, not a java web container.
What you could do is to setup Apache as a reverse proxy to a tomcat instance, so the "Internet" would talk to your Apache, but still Tomcat would be serving your requests in the end.