The quote says "Web server framework" not "Web server." The point is, by itself, Apache won't run any arbitrary java program.

You can do it a few ways, two come to mind:

a) Try using Apache's mod_proxy to reverse proxy requests to your standalone webserver. You would configure Apache on port 80 (or whatever port you want for your clients to connect to) and your XmlRpc Webserver on say port 8080. Apache will proxy requests for you, essentially you have a stand-alone approach with an Apache wrapper sitting in front (for dealing with redirects, authentication, and other uri resources).

b) You can use a Servlet runner, like Tomcat, JBoss, etc. These have their own Apache modules which connect Apache to the java process, which can then run your xmlrpc server. If you go this route, you don't actually want a stand-alone xmlrpc server, instead you are using the servlet runner's environment to run your code.



Lorenzo Musizza wrote:
Hi all,
I am successfull running an xmlrpc standalone server but now I'd like to
run my xmlrpc server embedded in the Apache webserver,
is it possible? I can't find an example how to do it.
This page http://ws.apache.org/xmlrpc/server.html says:

The XML-RPC library can be embedded into any Web server framework that supports reading HTTP POSTs from an InputStream.

but how can I do this?
Thanks in advance!

Lorenzo

Reply via email to