BBBBBBBBBB
BBEBVEःqt BB
e uBtl^BBT
ResinEAE PElBVE KgꥃEAEm(WindowslkBFBq
26/Mar/2002BBSystemInfinity PⶃJ LmT
Special Thanks IGjAIA cVAIA AAAgA⤁uA꤃AlAAGAJAAAJAPAEBF
0. RESINAqAgAAAj
RESINA}Caucho TechnologyAꡃVEPAIA줃jAAA륃IBVEE쥃eElB\vnvv~EEE jEnAkAPBv
ZRAqAgAAAjA}URL
http://caucho.com/
A CZlALAjAbA^AIAABv
AEAEAkA} Apache 1.3.20 + Resin2.0.4 A lAeA\WindowsZ夃kAzETEeElEuEeEA C LAJAPBv
AJA\ResinAzj N }[E[AqAUNIXlkAzn c\AAAzAkUNIXGgJAkTlwAIA礃}EwEeElZ夃zEIEAElA HA뤃HBD
TlzAznNNEA CPwAqALAjCVAIAAAwBv
AJA\jeg@AlALAjA}[nCVAzA⤃zAAuACA줁JAPBF
cAABF
TomcatAzt EkAzcAIA^AlN^A줃jAAAJAPBv
EIBVEE쥃eElAzVHj[EEE EAE
EXBVEPA PPAPA뤃^AAAkVHj[iFAqEIBVEE쥃eElA ꥃEE EAE뤃LAjAbA롁v
l wAnÃIz`Akw CgkX
ZwAkA}E饁AETE Pz`AmwA^ABul wAnÃIX kw CgkXBv
m鲃nTJX(Load Balancing)
nv\ zEIBVE~AqEꥃbEBEPElA 꿃JAꡁuAuA륃IBVE~AE^EE LAjA⼃Hj[iFAqcZAzEIBVE~AqX 툃LA[Bv
1. j[Rzk@GgJAqAgAAAj
j[Rzk@AqAgAAAjA}[nCVAzGgJAkEzk@ALAjAAAJAPBv
AEA찃nE[AzEE饃eElEEDBVEःqAgAAAjZ AuA꤁JALA\A餃VAZ BA FG꤁AALAJAPBF
Resin 1 B@ Takako's Machine
Resin 2 B@ Kimura's Machine
Resin 3 B@ Takako's NOTE_PC
Windows 2000
Java2 SDK 1.3.1_01
Apache 1.3.20
Resin 2.0.4
Windows 2000
Java2 SDK 1.3.1_01
Resin 2.0.4
Windows 2000 Server
Java2 SDK 1.3.1_01
Resin 2.0.4
uBApacheB@Resin = 1:1Azj[RjEPElAqA}Resin1AzAKw Bv
uBApacheB@Resin = 1:N(m鲃nTJX @[nCVLoad BalancingAlmXVB)Azj[RjEPElAqA}Resin1/2/3A Bv
2. E^EE VEm
http://www.caucho.com/download/index.xtp
(E~EAEnEꡁuEXBVEPEEBVEm)AHA饃^EE VEmALAJAPBv
E^EE VEmEEBEAE뤃qA}E~EAEnEȃkAlEXBVEPlkAAuA뤃zAkTlwAzEE饃eElEEDBVE(Windows or UNIX)A
mwtiFAqP賈TAjE^EE VEmEEBEAE 롁v
EXBVEPEEBVEmBuE~EAEnE꤃lA⤃qUnixwAztar.gzL`V[AlWindowswAzzipL`V[Aw[AIA줃jAAAJAPBv
Resin A} All Pure Java AnAzAkAmA`A ^EE VEmALAjA⻃lABAJAPA
Apache A IIS AqEuEmEFE LAjw APA뤃lAAq mwAqAnA륃EEwEbE\m Az .dll AnAmAWindows lkAqA}GJAJA줃jAAAJAPBv
Unix lkA}EuEmEFE PA뤃lAAqA}AEA HnAkEEE EAE ALAJAPBv
3. EAE PElBVE
ResinA}WebEIBVE~AzIBkXAʃTATT eAjAAA뤃zAkeAczAkA⻃lABAJAPBv(EPE\E mEuE \BFBq
AXALAjq\ServletEEE jEnjAwwBuEAE PElBVE zEkEEDE륃l^Kg꤃kA}EPE\E mEuE \AqAnAeAjAAAJAPBv
AXAEAkAJARA}ResinA AE PElBVE뤃LAjEPE\E mEuEVE \AkIbj[ALAjAKAJALA礃Bv
EAE PElBVE뤃lAAAeAjA⥃^EE VEmALA\EuBVEHEAEA ःPA뤃^AAAnAzAkGneAAkAPEwBF
EAE PElBVE뤃PA륃kEvE쥃bElE ᡁuAXAEAq[j[ALAjEuBVEHEAEA NEHALAjCVAIAABv
ResinA^AAAkTlAAnA饁AE PElBVE뤃}AEA줃kXFzTAkAPBv
uBAkA⥃E lResinAeAjBvBvBvq\ServletEEE jEnAzTiwwAqAXAeAbA꤃kAPA褃wA@B`(^^BJ
4. EAE PElBVE夃z^Kg
ResinAzEAE PElBVE夃z^Kg꤃}V礃qvCAgAkAPBv
[nCVAzGgJn\ Kg꤃PA뤃^AAAkAPBv
BJAVA_HOME BgBBJ2SDKAzEkEvE쥃bElE g꤃PA롁v
Bz㤃BA~JSDKA EmE饁AEAzgZCVAqEAE PElBVE뤃LA\Z硃@C:\jdk1.3.1_01B
BRESIN_HOME Bg ResinA AE PElBVE뤃LA\EkEvE쥃bElE g꤃PA롁v
Bz㤃BA~C:\ResinAzgZCVAqEAE PElBVE뤃LA\Z硃@C:\Resin\resin-2.0.4B
uBZ嵃AkA}JAVA_HOMEAz^KgⵃXALAjAAAJAPABuGgJn\ kJAVA_HOMEA}gtZJSDKA AE PElBVE뤃LA\T q^Kg꤃LAjALAJAAAJAPBv
BBBAlAPA뤃lResinEAE PElBVE qmwAn^Kg꤃}GgJn\ ESIN_HOMEAz^Kg꤃^AAAqAnA꤁JAPBF
5. Resin AzIbj[/g仁KBnEPE\E mEuE \AzZ硃FBq
ResinAzIbj[Bg仁KA}AlAjAⴃneAAkAPBF
WindowslkAkA}Ibj[wAz.exeEEBEAE뤃w[AIA줃jAAAJAPBvRESIN_HOME/binAze濃lA zk@ALAjCVAIAABv
binEkEvE쥃bElE꤃zhttpd.exeEEBEAE뤃Ibj[EEBEAE뤃kAPBvE^EE륃bEꥃeEbALAjCVAIAABv
DOSEE ElAq[nCVAzmXVBAAIA졁uStart/Stop`Fc EvE mEAEHAAA~tIT bj[G[zTAkAPBF
Resin 2.0.4 (built Thu Nov 15 17:56:24 PST 2001)
BBBgB
Copyright(c) 1998-2001 Caucho Technology. All rights reserved.
Starting Resin on Mon, 18 Mar 2002 22:37:01 +0900 (JST)
BBBgu
http listening to *:8080
BBBgv
srun listening to 133.217.102.28:6802
BBBgA
[2002-03-18 22:37:03.421] initializing application /examples/login
[2002-03-18 22:37:03.421] initializing application /examples/tags
[2002-03-18 22:37:03.437] initializing application /examples/xsl
[2002-03-18 22:37:03.437] initializing application /examples/templates
[2002-03-18 22:37:03.437] initializing application /java_tut
[2002-03-18 22:37:03.437] initializing application /examples/navigation
[2002-03-18 22:37:03.437] initializing application /examples/basic
[2002-03-18 22:37:03.437] initializing application /
[2002-03-18 22:37:03.437] initializing application /examples/tictactoe
BResinAzVerA XVBALAjAAAJAPBv
uResinAzIbj[T A XVBALAjAAAJAPBv
vResinAzWebEIBVE~IBkXAIbj[ALBuNjX~ALEBVElA XVBALAjAAAJAPBv
AResinAzServlet/JSPEEE jEnIBkXAIbj[ALBuIPEuEmE쥃P(Or EEPEltZBqAlNjX~ALEBVElA XVBALAjAAAJAPBv
ResinAzg仁KA}Ibj[N塁umXVBAIAStartB\StopC̃tAkStopA Fc LBQuitBEE\E BCVALAJAPBv
6.EPE\E mEuE \AzIbj[j[Rzk@
EE饃EJA DZ夃CBuhttp://B^Kg꤃LA\vmv~EuEmE쥃P Or EEPElEwBVEࡃ:8080AlckP kCVAIAABv
tIT [RLAjAAA줃~BResin Defoault Home PageBAlAAAEBVENAmXVBAIA줁JAPBv
AEAEAJAkAkEPE\E mEuE \Az^Kg꤃G[zTAkAPBF
7. ApacheAlAz}uLlBnj⡃E[m ETEPL\Bq
Apache AzEEE EvE[E졃VELE EBEAE롃httpd.confBAqResinAz^Kg mCeALAJAPBv
WindowslkAkA}ApacheAlAz}uLlAqRESINEAE PElBVE qRAIARESIN_HOME/resin2.0.4/srun/win32-1.3.6/mod_caucho.dllA
Plug-inAlALAjTlwAIA줁JAPBvBnmod_cauchoAlAAAtZ`[BvBvBvAHAnAꥃEAAJALA\(^^; AnAqA⤃XAEAJAkEEbA餃nAbAjA⡁vBvBvBq
LoadModule caucho_module RESIN_HOME/srun/win32-1.3.6/mod_caucho.dll
AddModule mod_caucho.c
<IfModule mod_caucho.c>
BBCauchoConfigFile RESIN_HOME/conf/resin.conf
BB<Location /caucho-status>
BBBBSetHandler caucho-status
BB</Location>
</IfModule>