|
Resin provides several configuration options. We suggest you use the httpd (Resin web server) option first to evaluate Resin. If you need to use an external web server, you can configure to work with it. Resin has two major configuration options:
If you have any trouble starting Resin, check the troubleshooting FAQ. If that page doesn't solve the problem, please write us so we can update our documentation.
Resin needs Java before it can run. It can use either JDK 1.1.x and JDK 1.2. Sun's JDK for Windows, Solaris, and Linux can be found at http://java.sun.com. Sun also has links to some other ports of the JDK. Linux users can also check out the IBM JDK. Currently, however, the IBM is currently less stable than the Sun JDK.
The easiest and fastest Resin configuration uses the Resin httpd. This configuration provides a Java HTTP server. We recommend you start with this before trying any other configuration.
The server listens at port 8080 in the standard configuration.
A more sophisticated configuration combines Apache and Resin on Unix or Win32. It uses Apache to serve static content like html and images and Resin to serve JSPs and Servlets. This configuration allows you to increase reliability by load balancing across several machines. The Apache configuration uses two pieces: a C program extending Apache () and Java program supporting servlets and JSP (.) The two pieces communicate with a special high-speed protocol.
On Unix, you'll run configure using --with-apache and then make:
On unix, Resin can also be configured to run with Netscape. The idea is the same as for Apache. On Unix, you'll run configure using --with-netscape and then make. The argument to --with-netscape is the directory containing the netscape start and stop scripts, i.e. the parent of the config directory.
On Windows, the setup program should configure Netscape's obj.conf correctly.
You can also combine IIS and Resin. IIS serves static content like html and images and Resin serves JSPs and Servlets. The IIS configuration requires two pieces: , an ISAPI extension which lets IIS talk to Resin, and , Resin's Java support.
You can also combine WebSite and Resin. WebSite serves static content like html and images and Resin serves JSPs and Servlets. The WebSite configuration requires two pieces: , an ISAPI extension which lets IIS talk to Resin, and , Resin's Java support.
Configuration is identical to the IIS configuration.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||