This page provides instructions on using Expresso with Caucho's Resin Servlet Container. The instructions are for Resin-1.2.x (Servlet API 2.2), but the procedure will be almost identical for Resin-2.0.x (Servlet API 2.3).
- Obtain Resin (as of this writing, current version is 1.2.8) - http://www.caucho.com/download. Uncompress the files into a local directory. It'll uncompress into <LOCAL_DIR>/resin-1.2.8 (let's call this <RESIN_HOME>). That's pretty much it for primary installation.
-
Modify <RESIN_HOME>/conf/resin.conf to suit your needs.
Here's an example resin.conf that is used for local development with Expresso on a Win2K PC.
- Unjar the Expresso .war file into <RESIN_HOME>/webapps. This should create a hierarchy under <RESIN_HOME>/webapps/expresso-web/....
- Make sure there is a <RESIN_HOME>/webapps/expresso-web/WEB-INF/log directory. If not, create an empty directory. This is where the Expresso logs will go, if you need to debug later. The Resin log is in <RESIN_HOME>/log
-
Navigate to <RESIN_HOME>/bin and run httpd.exe on WIndows, httpd.sh on Unix/Linux.
- Access http://localhost:8080/expresso-web to get to Expresso!