版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2004/06/29/000523.html
HomePage
http://www.caucho.com/resin/
Download
http://www.caucho.com/download/index.xtp
Resin is a fast servlet and JSP engine supporting load balancing for increased reliability. Resin encourages separation of content from style with its XSL support. Servlets can generate simple XML and use an XSL filter to format results for each client's capability, from palm pilots to Mozilla.
HTTP/1.1
Resin includes a full-featured HTTP/1.1 web server dedicated to serving fast Java dynamic content.
Resin will work with most web servers, including Apache, IIS, iPlanet, Zeus, and any web server providing the NSAPI or ISAPI interfaces.
Resin supports virtual hosting with its web server and in conjunction with web servers like Apache. ISPs can use Resin's virtual hosting to give Servlets to their users and companies can use Resin's virtual hosting to provide multiple views of a site.
Servlets
Resin supports the latest Servlet 2.3 specification from Sun.
JSP Processing
Processing of JSP 1.2 files is the simplest use of Resin.
XSL Stylesheets
XSL stylesheets let servlets and JSP separate content from formatting.
----->
Documentation Document Description
resin-install.pdf Resin installation guide
resin-reference.pdf Resin reference guide
javadoc.jar JavaDoc for the Resin-EE classes
Resin 3.0 Windows .zip Unix tar.gz Date
resin-3.0.8.zip (5.5M) resin-3.0.8.tar.gz (5.8M) 2004/06/08
resin-ee-3.0.8.zip (6.4M) resin-ee-3.0.8.tar.gz (6.4M) 2004/06/08
resin-3.0.8-src.zip (3.5M) resin-3.0.8-src.tar.gz (1.6M) 2004/06/08
resin-ee-3.0.8-src.zip (600k) resin-ee-3.0.8-src.tar.gz (300k) 2004/06/08
resin-3_0-snap.zip (4.3M) resin-3_0-snap.tar.gz (4.0M) 2004/06/07
resin-ee-3_0-snap.zip (5.2M) resin-ee-3_0-snap.tar.gz (4.7M) 2004/06/07
resin-3_0-snap-src.zip (2.3M) resin-3_0-snap-src.tar.gz (1.6M) 2004/06/07
resin-ee-3_0-snap-src.zip (2.3M) resin-ee-3_0-snap-src.tar.gz (1.6M) 2004/06/07
Resin 2.1 Windows .zip Unix tar.gz Date
resin-2.1.13.zip (3.2M) resin-2.1.13.tar.gz (3.0M) 2004/03/30
resin-ee-2.1.13.zip (4.9M) resin-ee-2.1.13.tar.gz (4.5M) 2004/03/30
resin-2.1.13-src.zip (2.3M) resin-2.1.13-src.tar.gz (1.6M) 2004/03/30
resin-ee-2.1.13-src.zip (2.3M) resin-ee-2.1.13-src.tar.gz (1.6M) 2004/03/30
resin-snap.zip (3.7M) resin-snap.tar.gz (3.2M) 2004/06/10
resin-ee-snap.zip (4.6M) resin-ee-snap.tar.gz (4.5M) 2004/06/10
resin-snap-src.zip (2.3M) resin-snap-src.tar.gz (1.6M) 2004/06/10
resin-ee-snap-src.zip resin-ee-snap-src.tar.gz 2004/06/10
----->
% cat /etc/profile
pathmunge /usr/java/j2sdk1.4.2_04/bin after
JAVA_HOME=/usr/java/j2sdk1.4.2_04/
export JAVA_HOME
% make
(cd src/c/plugin; make)
make[1]: Entering directory `/datacenter/soft/resin-2.1.13/src/c/plugin'
for dir in common resin; do (cd $dir; make); done
make[2]: Entering directory `/datacenter/soft/resin-2.1.13/src/c/plugin/common'
gcc -c -I -I/usr/kerberos/include -g -O2 stream.c
gcc -c -I -I/usr/kerberos/include -g -O2 registry.c
gcc -c -I -I/usr/kerberos/include -g -O2 config.c
gcc -c -I -I/usr/kerberos/include -g -O2 memory.c
/usr/bin/ld -r -o common.o stream.o registry.o config.o memory.o
gcc -c -I -I/usr/kerberos/include -g -O2 -fpic stream.c && mv stream.o stream.lo
gcc -c -I -I/usr/kerberos/include -g -O2 -fpic registry.c && mv registry.o registry.lo
gcc -c -I -I/usr/kerberos/include -g -O2 -fpic config.c && mv config.o config.lo
gcc -c -I -I/usr/kerberos/include -g -O2 -fpic memory.c && mv memory.o memory.lo
/usr/bin/ld -r -o common.lo stream.lo registry.lo config.lo memory.lo
make[2]: Leaving directory `/datacenter/soft/resin-2.1.13/src/c/plugin/common'
make[2]: Entering directory `/datacenter/soft/resin-2.1.13/src/c/plugin/resin'
gcc -g -O2 -DRESIN_HOME=\"/datacenter/soft/resin-2.1.13\" -I -I/usr/kerberos/include -I/usr/java/j2sdk1.4.2_04//include -I/usr/java/j2sdk1.4.2_04//include/linux -I../common -DCPU=\"i386\" -DOS= -c -o resin.o resin.c
gcc -g -O2 -DRESIN_HOME=\"/datacenter/soft/resin-2.1.13\" -I -I/usr/kerberos/include -I/usr/java/j2sdk1.4.2_04//include -I/usr/java/j2sdk1.4.2_04//include/linux -I../common -DCPU=\"i386\" -DOS= -c -o std.o std.c
gcc -g -O2 -DRESIN_HOME=\"/datacenter/soft/resin-2.1.13\" -I -I/usr/kerberos/include -I/usr/java/j2sdk1.4.2_04//include -I/usr/java/j2sdk1.4.2_04//include/linux -I../common -DCPU=\"i386\" -DOS= -c -o memory.o memory.c
gcc -g -O2 -DRESIN_HOME=\"/datacenter/soft/resin-2.1.13\" -I -I/usr/kerberos/include -I/usr/java/j2sdk1.4.2_04//include -I/usr/java/j2sdk1.4.2_04//include/linux -I../common -DCPU=\"i386\" -DOS= -c -o ssl.o ssl.c
gcc -o resin resin.o ../common/common.o std.o memory.o ssl.o -lpthread -ldl -lssl -lcrypto
gcc -g -O2 -DRESIN_HOME=\"/datacenter/soft/resin-2.1.13\" -I -I/usr/kerberos/include -I/usr/java/j2sdk1.4.2_04//include -I/usr/java/j2sdk1.4.2_04//include/linux -I../common -DCPU=\"i386\" -DOS= -c -o jni_vfs.o jni_vfs.c
/usr/bin/ld -shared -o libresin.so jni_vfs.o std.o memory.o ssl.o -lpthread -ldl -lssl -lcrypto
make[2]: Leaving directory `/datacenter/soft/resin-2.1.13/src/c/plugin/resin'
(cd resin; make resin_so)
make[2]: Entering directory `/datacenter/soft/resin-2.1.13/src/c/plugin/resin'
make[2]: Nothing to be done for `resin_so'.
make[2]: Leaving directory `/datacenter/soft/resin-2.1.13/src/c/plugin/resin'
make[1]: Leaving directory `/datacenter/soft/resin-2.1.13/src/c/plugin'
%make install
(cd src/c/plugin; make install)
make[1]: Entering directory `/datacenter/soft/resin-2.1.13/src/c/plugin'
(cd resin; make install_so)
make[2]: Entering directory `/datacenter/soft/resin-2.1.13/src/c/plugin/resin'
mkdir /datacenter/soft/resin-2.1.13/libexec
cp libresin.so /datacenter/soft/resin-2.1.13/libexec
make[2]: Leaving directory `/datacenter/soft/resin-2.1.13/src/c/plugin/resin'
for dir in common resin; do (cd $dir; make install); done
make[2]: Entering directory `/datacenter/soft/resin-2.1.13/src/c/plugin/common'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/datacenter/soft/resin-2.1.13/src/c/plugin/common'
make[2]: Entering directory `/datacenter/soft/resin-2.1.13/src/c/plugin/resin'
mkdir /datacenter/soft/resin-2.1.13/libexec
mkdir: cannot create directory `/datacenter/soft/resin-2.1.13/libexec': File exists
make[2]: [install] Error 1 (ignored)
cp libresin.so /datacenter/soft/resin-2.1.13/libexec
cp resin /datacenter/soft/resin-2.1.13/bin
make[2]: Leaving directory `/datacenter/soft/resin-2.1.13/src/c/plugin/resin'
make[1]: Leaving directory `/datacenter/soft/resin-2.1.13/src/c/plugin'
-rw-r--r-- 1 root root 18 Jun 29 16:55 conf15148.sh
-rw-r--r-- 1 root root 18 Jun 29 16:55 conf15260.sh
-rw-r--r-- 1 root root 125 Jun 29 16:56 Makefile
-rwxr-xr-x 1 root root 29223 Jun 29 16:56 config.status*
drwxrwxr-x 2 windtear windtear 112 Jun 29 16:56 contrib/
-rw-r--r-- 1 root root 9050 Jun 29 16:56 config.log
drwxr-xr-x 2 root root 80 Jun 29 16:56 libexec/
drwxrwxr-x 2 windtear windtear 280 Jun 29 16:56 bin/
l bin/
total 328
-rwxrwxr-x 1 windtear windtear 435 Apr 2 02:57 xsl.sh*
-rw-rw-r-- 1 windtear windtear 17024 Apr 2 02:57 wrapper.pl.in
-rwxrwxr-x 1 windtear windtear 1256 Apr 2 02:57 jspc.sh*
-rwxrwxr-x 1 windtear windtear 2185 Apr 2 02:57 httpd.sh*
-rw-rw-r-- 1 windtear windtear 1040 Apr 2 02:57 fastcgirunner.pl.in
-rwxr-xr-x 1 root root 17022 Jun 29 16:56 wrapper.pl*
-rw-r--r-- 1 root root 1038 Jun 29 16:56 fastcgirunner.pl
-rwxr-xr-x 1 root root 273733 Jun 29 16:56 resin*
[Tue Jun 29 16:57:04 /datacenter/soft/resin-2.1.13]
# find ./ -name resin
./bin/resin
./src/c/plugin/resin
./src/c/plugin/resin/resin
# ./httpd.sh
Resin 2.1.13 (built Thu Apr 1 10:57:42 PST 2004)
Copyright(c) 1998-2003 Caucho Technology. All rights reserved.
Starting Resin on Tue, 29 Jun 2004 16:58:38 +0800 (CST)
[2004-06-29 16:58:39.074] Compiling /datacenter/soft/resin-2.1.13/doc/examples/login/WEB-INF/classes/test/TestAuthenticator.java
[2004-06-29 16:58:40.459] initializing application http://localhost:8080/
[2004-06-29 16:58:40.460] initializing application http://localhost:8080/java_tut
[2004-06-29 16:58:40.460] initializing application http://localhost:8080/examples/basic
[2004-06-29 16:58:40.461] initializing application http://localhost:8080/examples/tags
[2004-06-29 16:58:40.461] initializing application http://localhost:8080/examples/tictactoe
[2004-06-29 16:58:40.461] initializing application http://localhost:8080/examples/navigation
[2004-06-29 16:58:40.461] initializing application http://localhost:8080/examples/xsl
[2004-06-29 16:58:40.461] initializing application http://localhost:8080/examples/templates
[2004-06-29 16:58:40.462] initializing application http://localhost:8080/examples/login
http listening to *:8080
srun listening to 127.0.0.1:6802
|