I hava a pure Java application which publishes a webservice without needing any Application server. How can I configure the Apache Http Loadbalancer to forward requests to servers on which this application is installed.
I can handle it when I deploy an webservice over an Application Server such as Glassfish. But I do not know how to do it with pure Java application.
You should just be able to use http:// instead of ajp:// in your balancer config, like:
or directly forward with proxy like:
Let’s say apache is on 47.168.96.31, then you’d access the service as
http://47.168.96.31/StockQuote/StockQuoteServiceIf you’d rather have the service respond at
http://47.168.96.31/, you could do: