From Resin 3.0

Jump to: navigation, search

The Resin Cookbook contains helpful configuration examples, each focused on a single Resin configuration for a specific purpose.


Full Configurations

Apache-style single webapp server
using /var/www/public-html as the single webapp
Webapps-style war deployment
using /var/www/webapps for .war deployment and expansion
Virtual Hosts using Hosts Directory
using /var/www/hosts/ for virtual hosts and webapps
Cluster with Two Servers
cluster configuration describing how to add multiple servers to a cluster
Resin Load Balancing
Using Resin as a HTTP server, load balancing to backend Resin application servers
Two Cluster Load Balancing
Load balancing /foo and /bar to two separate backend clusters
Resin administration
Configuring the /resin-admin service on port :8081
Resin behind SSL Load Balancer
Redirects and SSL security handling with Resin as a backend
Resin using OpenSSL
Configuring the 443 port to use OpenSSL


Security with User in Role
Security with Ssl
Custom Authenticator with FormLogin and UserInRole
creating a Custom Authenticator with form login
Custom Authenticator and CustomLogin
using a Custom Login with custom cookies

Performance analysis

Debugging throughput issue: blocked thread issues

Proxy and Load Balancing

using Resin to load balance to a backend FastCGI server like Ruby or PHP
using Resin to load balance to a backend HTTP like Apache or IIS


Throttling HTTP by Remote IP
protecting the server against attacks by limiting connections from a single IP address


Mail Log-Handler


Moved Permanently

Timers and Cron

Scheduled Task
Personal tools