The Resin standalone web server starts
listening to HTTP requests on port 8080 and listens on port 6802
for any Apache or IIS plugin. Resin can then be
used for development or evaluation. The steps are:
Install JDK 1.4 or later. On Unix, set the JAVA_HOME variable or
link /usr/java to the java home. On Windows, check to make sure the
JDK installation set JAVA_HOME correctly.
unzip/untar the Resin download
On Unix, execute use ./configure; make; make install
Start resin-3.0.0/bin/httpd.sh on Unix or resin-3.0.0/httpd.exe on Win32
Add JSP files like resin-3.0.0/doc/hello.jsp. The URL in your
browser will be http://localhost:8080/hello.jsp
Add servlets like resin-3.0.0/doc/WEB-INF/classes/test/HelloServlet.java
Add .war files like resin-3.0.0/webapps/hello.war, url in your
browser is http://localhost:8080/hello
Create web-apps directly like
url in your browser is http://localhost:8080/hello.
Create a file resin-3.0.0/webapps/hello/WEB-INF/web.xml to
configure the 'hello' web application.
If needed, modify the Resin configuration in resin-3.0.0/conf/resin.conf
.war files will be deployed in resin-3.0.x/webapps.
Until you're ready to deploy the server, those are all the
steps needed to get started with Resin.
Resin needs Java before it can run. It needs JDK 1.4 or a later JDK.
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.
The easiest and fastest Resin configuration uses the Resin as the primary or
only web server. 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 default configuration and
can be changed to the HTTP port 80 during deployment.
Install JDK 1.4 or later.
Check that the environemnt variable JAVA_HOME is set to the JDK location, i.e "c:\j2sdk1.4.1_01"
Define the environment variable RESIN_HOME to the location of
Resin, for example "c:\resin-3.0.0"
Install JDK 1.4 or later and link /usr/java to the Java home or define the environment variable JAVA_HOME.
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:
isapi_srun.dll, an ISAPI extension which lets IIS talk to
Resin, and srun, Resin's Java support.
For this setup you must configure both IIS and Resin. The Resin
configuration is identical to Resin's httpd configuration. The IIS
configuration tells IIS how to find Resin.
Setup the registry and IIS using resin-3.0.0/bin/setup
Any needed Resin resin.conf changes
Start Resin with resin-3.0.0/httpd.exe.
For more details and troubleshooting steps, see the
Resin with IIS configuration page.