[JEUSMain.xml]
<jeus-system xmlns="http://www.tmaxsoft.com/xml/ns/jeus" version="6.0">
<jeus-system xmlns="http://www.tmaxsoft.com/xml/ns/jeus" version="6.0">
<node>
<name>ddakker-v</name>
<class-ftp>true</class-ftp>
<sequential-start>true</sequential-start>
<enable-webadmin>true</enable-webadmin>
<engine-container>
<name>container1</name>
<command-option>-Xmx128m</command-option>
<sequential-start>true</sequential-start>
<engine-command>
<type>servlet</type>
<name>engine1</name>
</engine-command>
</engine-container>
<engine-container>
<name>container2</name>
<command-option>-Xmx128m</command-option>
<sequential-start>true</sequential-start>
<engine-command>
<type>servlet</type>
<name>engine2</name>
</engine-command>
</engine-container>
</node>
<application>
<name>wb_a</name> <!-- 그냥 Context 이름이다. 컨텍스트 설정은 자동으로 생성되는 WEB-INF/jeus-web-dd.xml 에서 설정한다. -->
<path>c:\webContent_a</path>
<deployment-target>
<target>
<engine-container-name>ddakker-v_container1</engine-container-name>
<web-context-group>
<name>MyGroup</name>
</web-context-group>
</target>
</deployment-target>
<deployment-type>COMPONENT</deployment-type>
<web-component/>
</application>
<application>
<application>
<name>web_b</name> <!-- 그냥 Context 이름이다. 컨텍스트 설정은 자동으로 생성되는 WEB-INF/jeus-web-dd.xml 에서 설정한다. -->
<path>c:\webContent_b</path>
<deployment-target>
<target>
<engine-container-name>ddakker-v_container2</engine-container-name>
<web-context-group>
<name>MyGroup2</name>
</web-context-group>
</target>
</deployment-target>
<deployment-type>COMPONENT</deployment-type>
<web-component/>
</application>
</jeus-system>
../config/ddakker-v/ddakker-v_servlet_engine2 폴더 생성 (1번꺼 생성해서 붙인다.)
[WEBMain.xml]
[http.m]
컴파일 \> wscfl -i http.m
[jeus.properties.cmd]
[참조]
http://eroicaplus.blog.me/90035788574
http://eroicaplus.blog.me/90035788551
http://kalpa730.blog.me/140115359356
../config/ddakker-v/ddakker-v_servlet_engine2 폴더 생성 (1번꺼 생성해서 붙인다.)
[WEBMain.xml]
<web-container xmlns="http://www.tmaxsoft.com/xml/ns/jeus" version="6.0">
<context-group>
<group-name>MyGroup2</group-name>
<webserver-connection>
<http-listener>
<listener-id>http1</listener-id>
<port>8089</port>
<thread-pool>
<min>10</min>
<max>20</max>
<step>1</step>
</thread-pool>
</http-listener>
<webtob-listener>
<listener-id>webtob1</listener-id>
<port>9900</port>
<output-buffer-size>8192</output-buffer-size>
<thread-pool>
<min>1</min>
<max>5</max>
<step>1</step>
<max-idle-time>30000</max-idle-time>
</thread-pool>
<webtob-address>localhost</webtob-address> <!-- WebToB 아이피 -->
<webtob-home>C:/TmaxSoft/WebtoB4.1</webtob-home>
<registration-id>MyGroup</registration-id>
</webtob-listener>
</webserver-connection>
</context-group>
</web-container>
[http.m]
*DOMAIN
webtob1
*NODE
ddakker-v WEBTOBDIR="C:/TmaxSoft/WebtoB4.1",
SHMKEY = 54000,
HOSTNAME = "a.test.co.kr",
DOCROOT="C:/webContent_a", -- 드라이브명 실래시(/), 역슬레시(\) 에 따라 안 될수 있음
PORT = "8080",
HTH = 1,
NODENAME = "$(NODENAME)",
LOGGING = "log1",
ERRORLOG = "log2",
JSVPORT = 9900
*VHOST
vhost_b DOCROOT = "C:/webContent_b", -- 드라이브명 실래시(/), 역슬레시(\) 에 따라 안 될수 있음
NODENAME = "ddakker-v",
HOSTNAME = "b.test.co.kr",
PORT = "8080",
LOGGING = "log1",
ERRORLOG = "log2",
IndexName = "index.html, index.htm, index.jsp"
*SVRGROUP
htmlg NODENAME = "ddakker-v", SVRTYPE = HTML
cgig NODENAME = "ddakker-v", SVRTYPE = CGI
ssig NODENAME = "ddakker-v", SVRTYPE = SSI
jsvg NODENAME = "ddakker-v", SVRTYPE = JSV
jsvg_b NODENAME = "ddakker-v", SVRTYPE = JSV, VhostName = vhost_b
jsvg_b NODENAME = "ddakker-v", SVRTYPE = JSV, VhostName = vhost_b
*SERVER
html SVGNAME = htmlg, MinProc = 2, MaxProc = 10
cgi SVGNAME = cgig, MinProc = 4, MaxProc = 10
ssi SVGNAME = ssig, MinProc = 2, MaxProc = 10
MyGroup SVGNAME = jsvg, MinProc = 25, MaxProc = 30
MyGroup2 SVGNAME = jsvg_b, MinProc = 1, MaxProc = 5
MyGroup2 SVGNAME = jsvg_b, MinProc = 1, MaxProc = 5
*URI
uri1 Uri = "/cgi-bin/", Svrtype = CGI
*ALIAS
alias1 URI = "/cgi-bin/", RealPath = "C:/TmaxSoft/WebtoB4.1/cgi-bin/"
*LOGGING
log1 Format = "DEFAULT", FileName = "C:/TmaxSoft/WebtoB4.1/log/access.log",
Option = "sync"
log2 Format = "ERROR", FileName = "C:/TmaxSoft/WebtoB4.1/log/error.log",
Option = "sync"
*EXT
htm MimeType = "text/html", SvrType = HTML
html MimeType = "text/html", SvrType = HTML
hwp MimeType = "application/x-hwp", SvrType = HTML
pdf MimeType = "application/x-pdf", SVRTYPE = HTML
css MimeType = "text/css", SvrType = HTML
js MimeType = "application/x-javascript", SvrType = HTML
jsp MimeType = "application/jsp", SvrType = JSV
jspf MimeType = "text/plain", SvrType = JSV
do MimeType = "application/servlet", SvrType = JSV
gul MimeType = "application/gul", SvrType = HTML
gif MimeType="image/gif", SvrType=HTML
jpeg MimeType="image/gif", SvrType=HTML
jpg MimeType="image/gif", SvrType=HTML
wmv MimeType="audio/video/x-ms-wmv", SvrType=JSV
zip MimeType="application/zip", SvrType=HTML
jar MimeType="application/x-java-archive", SvrType=HTML
exe MimeType="application/octet-stream", SvrType=HTML
swf MimeType="application/x-shockwave-flash", SvrType=HTML
컴파일 \> wscfl -i http.m
[jeus.properties.cmd]
rem set up JEUS_WSDIR
rem SET JEUS_WSDIR=%JEUS_HOME%\webserver -- 주석
[제우스 웹 어드민]
http://localhost:9744/webadmin/app
[제우스 웹 어드민]
http://localhost:9744/webadmin/app
[참조]
http://eroicaplus.blog.me/90035788574
http://eroicaplus.blog.me/90035788551
http://kalpa730.blog.me/140115359356