From Resin 3.0

Jump to: navigation, search

When you have a backend service that cannot be run inside Resin's Java container, a server like Ruby or IIS or even Apache, you can use Resin's HttpProxy dispatch to load balance requests to that backend.

Since Resin's HttpProxy uses load balancing automatically, you can balance the load across multiple servers.

  • serves HTTP from port 80
  • changes user to "resin" from root
  • enables proxy caching
  • HttpProxy load balances to and

HttpProxy dispatch in resin.xml

The HttpProxy is part of Resin's rewrite-dispatch capability.

 <resin xmlns="">

   <log-handler name="" level="all" path="stdout:"
                timestamp="[%y-%m-%d %H:%M:%S.%s] {%{thread}} "/>

   <cluster id="">
     <resin:import path="${__DIR__}/app-default.xml"/>

     <server id="">
       <http port="80"/>


     <host id="">
       <web-app id="">



Personal tools