Resin 1.1
FAQ
Reference
JavaDoc
Demo
Java Tutorial
Getting Started
Configuration
Topics
JSP
XTP/XSL
JavaScript
JS Library
Resin Web Server
Unix Apache
Windows Apache
Unix Netscape
IIS
Other Servlets
Resin Web Server on Unix or Windows
Resin provides a standalone web server. In our benchmarks, it actually serves static pages faster than Apache! The standalone web server is ideal for evaluation or experimentation and is a good choice as the web server for many sites.
Testing and Evaluation
To start the Resin web server, type:
Starting on Unix
> resin1.1/bin/httpd.sh
Starting on Win32
> resin1.1/bin/httpd
The default port is 8080, so use http://localhost:8080 in your browser. Go to the demos and make sure they work. Now, add a file resin1.1/doc/test.jsp containing the following:
<%@ page language=javascript %> 2 + 2 = <%= 2 + 2 %>
You should see the page '2 + 2 = 4'. Try language=java to make sure that Java works as well.
Deploying on Unix
A better way to run the servlet engine in a production environment is to use the start and stop scripts. These scripts add extra reliability to the server. If Resin should ever exit, it will automatically be restarted. To start the web server, use
unix> resin1.1/bin/httpd.sh start
To stop it, use
unix> resin1.1/bin/httpd.sh stop
Deploying on NT
The Resin Web Server can be installed as an NT service. To install the service, use
unix> resin1.1/bin/httpd -install
To remove the service, use
unix> resin1.1/bin/httpd -remove
You will either need to reboot the machine or start the service from the Control Panel/Services panel to start the server. On a machine reboot, NT will automatically start the web server.
Getting Started |  | Unix Apache
Copyright © 1998-2000 Caucho Technology. All rights reserved. Last modified: Tue, 21 Mar 2000 10:25:48 -0800 (PST)