여기에서 JEUS의 domain.xml에 설정되는 웹/서블릿 엔진 설정파일의 설명을 찾을 수 있다.
XML Schema 파일:
JEUS_HOME/lib/schemas/jeus/web-engine.xsd
레퍼런스는 다음 형식으로 구성되어 있다.
XML Schema/XML 트리: XML 설정 파일의 모든 태그 리스트를 정리했다. 각 노드의 형식은 다음과 같다.
태그 레퍼런스로 빨리 찾아보기 위해서 각 태그마다 인덱스 번호( 예: (11) )를 붙여 놓았다. 태그 레퍼런스에서는 이 번호 순서로 설명한다.
XML Schema에서 정의한 XML 태그명을 <tag name> 형식으로 표시한다.
XML Schema에서 정의한 Cardinality를 표시한다. “?” = 0개나 1개의 element, “+” = 1개 이상의 element, “*” = 0개 이상의 element, (기호가 없음) = 정확히 1개의 element
몇몇 태그에는 “P” 문자를 붙여 놓았는데, 해당 태그는 성능에 관계되는 태그라는 것을 뜻한다. 이 태그는 설정을 튜닝할 때 사용된다.
Element Reference: 트리에 있는 각 XML 태그를 설명한다.
Dynamic: 동적 설정 반영 가능
Non-Dynamic: 동적 설정 반영 불가능, Dynamic이 설정되지 않은 항목들이 보통 이에 해당 하나 특별히 설명이 있는 경우 이 항목이 표시된다.
Description: 태그에 대한 간단한 설명.
Value Description: 입력하는 값과 타입.
Value Type: 값의 데이터 타입. (예: String)
Value Type Description: 값의 데이터 타입에 대한 설명
Default Value: 해당 XML을 사용하지 않았을 때 기본적으로 사용되는 값.
Defined Value: 이미 정해져 있는 값.
Example: 해당 XML 태그에 대한 예.
Performance Recommendation: 성능 향상을 위해서 추천하는 값.
Child Elements: 자신의 태그 안에 사용하는 태그.
(85) <web-engine> ?
(86) <default-error-page> ?
(87) <response-header> ?
(88) <custom-header> ?
(89) <header-field> *
(90) <field-name>
(91) <field-value>
(92) <encoding> ?
(93) <request-encoding> ?
(94) <default>
(95) <client-override>
(96) <forced>
(97) <response-encoding> ?
(100) <request-url-encoding> ?
(103) <cookie-policy> ?
(104) <write-value-on-header-policy> ?
(105) <apply-url-encoding-rule> ?
(106) <charset-encoding> ?
(107) <properties> ?
(108) <property> *
(111) <jsp-engine> ?
(112) <check-included-jspfile> ?
(113) <keep-generated> ?
(114) <use-in-memory-compilation> ?
(115) <graceful-jsp-reloading> ?
(116) <graceful-jsp-reloading-period> ?
(117) <jsp-work-dir> ?
(118) <java-compiler> ?
(119) <compile-output-dir> ?
(120) <compile-option> ?
(121) <attach-stacktrace-on-error> ?
(122) <virtual-host> *
(123) <virtual-host-name>
(124) <host-name> +
(125) <thread-pool> ?
(126) <min>
(127) <max>
(128) <max-idle-time> ?
(129) <max-queue> ?
(130) <thread-state-notify> ?
(131) <max-thread-active-time> ?
(132) <interrupt-thread> ?
(133) <active-timeout-notification> ?
(134) <notify-threshold-ratio> ?
(135) <notify-subject> ?
(136) <restart-threshold-ratio> ?
(137) <restart-subject> ?
(138) <encoding> ?
(139) <request-encoding> ?
(140) <default>
(141) <client-override>
(142) <forced>
(143) <response-encoding> ?
(146) <cookie-policy> ?
(147) <write-value-on-header-policy> ?
(148) <apply-url-encoding-rule> ?
(149) <charset-encoding> ?
(150) <properties> ?
(151) <property> *
(154) <attach-stacktrace-on-error> ?
(155) <access-log> ?
(156) <level> ?
(157) <use-parent-handlers> ?
(158) <filter-class> ?
(159) <formatter-pattern> ?
(160) <handler> ?
(161) <file-handler> *
(162) <name>
(163) <level> ?
(164) <encoding> ?
(165) <filter-class> ?
(166) <file-name> ?
(167) <permission> ?
(168) <chown> ?
(169) <enable-rotation> ?
(170) <rotation-count> ?
(171) <rotation-dir> ?
(172) <valid-day>
(173) <valid-hour>
(174) <valid-size>
(175) <buffer-size> ? P
(176) <append> ?
(177) <smtp-handler> * P
(178) <name>
(179) <level> ?
(180) <encoding> ?
(181) <filter-class> ?
(182) <smtp-host-address>
(183) <sender-id>
(184) <sender-password>
(185) <from-address>
(186) <to-address>
(187) <property> *
(190) <cc-address> ?
(191) <bcc-address> ?
(192) <send-for-all-messages> ?
(193) <socket-handler> * P
(194) <name>
(195) <level> ?
(196) <encoding> ?
(197) <filter-class> ?
(198) <address>
(199) <port>
(200) <user-handler> *
(201) <name>
(202) <level> ?
(203) <encoding> ?
(204) <filter-class> ?
(205) <handler-class>
(206) <handler-property> ?
(207) <property> *
(210) <formatter-pattern> ?
(211) <formatter-property> ?
(212) <property> *
(215) <enable> ?
(216) <format> ?
(217) <exclude-ext> ?
(218) <enable-host-name-lookup> ?
(219) <pipeline> ?
(220) <valve> *
(221) <class-name>
(222) <property> *
(225) <web-connections> ?
(226) <http-listener> *
(227) <name>
(228) <thread-pool>
(229) <min>
(230) <max>
(231) <max-idle-time> ?
(232) <max-queue> ?
(233) <thread-state-notify> ?
(234) <max-thread-active-time> ?
(235) <interrupt-thread> ?
(236) <active-timeout-notification> ?
(237) <notify-threshold-ratio> ?
(238) <notify-subject> ?
(239) <restart-threshold-ratio> ?
(240) <restart-subject> ?
(241) <output-buffer-size> ?
(242) <postdata-read-timeout> ?
(243) <max-post-size> ?
(244) <max-parameter-count> ?
(245) <max-header-count> ?
(246) <max-header-size> ?
(247) <max-querystring-size> ?
(248) <server-access-control> ?
(249) <allowed-server> *
(250) <server-listener-ref>
(251) <http2> ?
(252) <settings-enable-push> ?
(254) <settings-max-frame-size> ?
(255) <settings-ack-timeout> ?
(256) <connection-type> ?
(257) <webtob-connector> *
(258) <name>
(259) <thread-pool>
(260) <min>
(261) <max>
(262) <max-idle-time> ?
(263) <max-queue> ?
(264) <thread-state-notify> ?
(265) <max-thread-active-time> ?
(266) <interrupt-thread> ?
(267) <active-timeout-notification> ?
(268) <notify-threshold-ratio> ?
(269) <notify-subject> ?
(270) <restart-threshold-ratio> ?
(271) <restart-subject> ?
(272) <output-buffer-size> ?
(273) <postdata-read-timeout> ?
(274) <max-post-size> ?
(275) <max-parameter-count> ?
(276) <max-header-count> ?
(277) <max-header-size> ?
(278) <max-querystring-size> ?
(279) <wjp-version> ?
(280) <registration-id>
(281) <hth-count> ?
(282) <connection-count>
(283) <threshold> ?
(284) <use-nio> ?
(285) <network-address>
(286) <port>
(287) <ip-address> ?
(288) <domain-socket-address>
(289) <webtob-home> ?
(290) <webtob-ipcbaseport> ?
(291) <read-timeout> ?
(292) <reconnect-interval> ?
(293) <reconnect-count-for-backup> ?
(294) <send-buffer-size> ?
(295) <receive-buffer-size> ?
(296) <request-prefetch> ?
(297) <connection-type> ?
(298) <secure> ?
(299) <trust-store-file-path>
(301) <trust-store-file-type> ?
(302) <key-store-file-path> ?
(303) <key-store-file-password> ?
(304) <private-key-password> ?
(305) <key-store-file-type> ?
(306) <secure-protocol-name> ?
(309) <webtob-backup> ?
(310) <network-address>
(311) <port>
(312) <ip-address> ?
(313) <domain-socket-address>
(314) <webtob-home> ?
(315) <webtob-ipcbaseport> ?
(316) <ajp13-listener> *
(317) <name>
(318) <thread-pool>
(319) <min>
(320) <max>
(321) <max-idle-time> ?
(322) <max-queue> ?
(323) <thread-state-notify> ?
(324) <max-thread-active-time> ?
(325) <interrupt-thread> ?
(326) <active-timeout-notification> ?
(327) <notify-threshold-ratio> ?
(328) <notify-subject> ?
(329) <restart-threshold-ratio> ?
(330) <restart-subject> ?
(331) <output-buffer-size> ?
(332) <postdata-read-timeout> ?
(333) <max-post-size> ?
(334) <max-parameter-count> ?
(335) <max-header-count> ?
(336) <max-header-size> ?
(337) <max-querystring-size> ?
(338) <server-access-control> ?
(339) <allowed-server> *
(340) <server-listener-ref>
(341) <read-timeout> ?
(342) <tcp-listener> *
(343) <name>
(344) <thread-pool>
(345) <min>
(346) <max>
(347) <max-idle-time> ?
(348) <max-queue> ?
(349) <thread-state-notify> ?
(350) <max-thread-active-time> ?
(351) <interrupt-thread> ?
(352) <active-timeout-notification> ?
(353) <notify-threshold-ratio> ?
(354) <notify-subject> ?
(355) <restart-threshold-ratio> ?
(356) <restart-subject> ?
(357) <output-buffer-size> ?
(358) <postdata-read-timeout> ?
(359) <max-post-size> ?
(360) <max-parameter-count> ?
(361) <max-header-count> ?
(362) <max-header-size> ?
(363) <max-querystring-size> ?
(364) <server-access-control> ?
(365) <allowed-server> *
(366) <server-listener-ref>
(367) <connection-type> ?
(369) <tmax-connector> *
(370) <name>
(371) <thread-pool>
(372) <min>
(373) <max>
(374) <max-idle-time> ?
(375) <max-queue> ?
(376) <thread-state-notify> ?
(377) <max-thread-active-time> ?
(378) <interrupt-thread> ?
(379) <active-timeout-notification> ?
(380) <notify-threshold-ratio> ?
(381) <notify-subject> ?
(382) <restart-threshold-ratio> ?
(383) <restart-subject> ?
(384) <output-buffer-size> ?
(385) <postdata-read-timeout> ?
(386) <max-post-size> ?
(387) <max-parameter-count> ?
(388) <max-header-count> ?
(389) <max-header-size> ?
(390) <max-querystring-size> ?
(391) <connection-type> ?
(392) <port>
(393) <server-group-name>
(394) <server-name>
(396) <read-timeout> ?
(397) <reconnect-interval> ?
(398) <reconnect-count-for-backup> ?
(399) <tmax-address> ?
(400) <tmax-version> ?
(401) <server-type> ?
(402) <xaresource-class> ?
(403) <tmax-backup-address> ?
(404) <tmax-backup-port> ?
(405) <monitoring> ?
(406) <check-thread-pool> ?
(407) <check-class-reload> ?
(408) <check-session> ?
(409) <access-log> ?
(410) <level> ?
(411) <use-parent-handlers> ?
(412) <filter-class> ?
(413) <formatter-pattern> ?
(414) <handler> ?
(415) <file-handler> *
(416) <name>
(417) <level> ?
(418) <encoding> ?
(419) <filter-class> ?
(420) <file-name> ?
(421) <permission> ?
(422) <chown> ?
(423) <enable-rotation> ?
(424) <rotation-count> ?
(425) <rotation-dir> ?
(426) <valid-day>
(427) <valid-hour>
(428) <valid-size>
(429) <buffer-size> ? P
(430) <append> ?
(431) <smtp-handler> * P
(432) <name>
(433) <level> ?
(434) <encoding> ?
(435) <filter-class> ?
(436) <smtp-host-address>
(437) <sender-id>
(438) <sender-password>
(439) <from-address>
(440) <to-address>
(441) <property> *
(444) <cc-address> ?
(445) <bcc-address> ?
(446) <send-for-all-messages> ?
(447) <socket-handler> * P
(448) <name>
(449) <level> ?
(450) <encoding> ?
(451) <filter-class> ?
(452) <address>
(453) <port>
(454) <user-handler> *
(455) <name>
(456) <level> ?
(457) <encoding> ?
(458) <filter-class> ?
(459) <handler-class>
(460) <handler-property> ?
(461) <property> *
(464) <formatter-pattern> ?
(465) <formatter-property> ?
(466) <property> *
(469) <enable> ?
(470) <format> ?
(471) <exclude-ext> ?
(472) <enable-host-name-lookup> ?
(473) <session-config> ?
(474) <timeout> ?
(475) <max-session-count> ?
(476) <reload-persistent> ?
(477) <tracking-mode> ?
(481) <session-cookie> ?
(482) <cookie-name> ?
(483) <url-cookie-name> ?
(484) <version> ?
(485) <domain> ?
(486) <path> ?
(487) <max-age> ?
(488) <secure> ?
(489) <http-only> ?
(490) <same-site> ?
(491) <comment> ?
(492) <partitioned> ?
(493) <async-timeout-min-threads> ?
(494) <blocked-url-patterns> ?
(495) <encoded-pattern> *
(496) <decoded-pattern> *
(497) <deny-last-space-character> ?
(498) <deny-null-character> ?
(499) <pipeline> ?
(500) <valve> *
(501) <class-name>
(502) <property> *
(85)
<
domain
><
servers
><
server
>
<web-engine>
| |
Description | 웹 엔진은 J2EE Web/Servlet 애플리케이션이 작동하기 위한 환경을 제공한다. J2EE 스펙에서의 웹 컨테이너에 대응하는 기능이다. 서버가 부팅될 때 실행되며, 하나의 서버에서는 하나의 웹 엔진만 지원한다. |
Value Type | web-containerType |
Child Elements |
(87)
(88)
(93)
(104)
(108)
(112)
(122)
(123)
(226)
(406)
(410)
(474)
(494)
(495)
(500)
|
[예 5.1] domain.xml의 웹 엔진 예제
<?xml version="1.0"?> <domain xmlns="http://www.tmaxsoft.com/xml/ns/jeus"> <servers> <server> <web-engine> <!-- define custom header on HTTP response in current web engine --> <response-header> <custom-header> <header-field> <field-name>TestHeader</field-name> <field-value>This is a test header value</field-value> </header-field> ... <header-field> ... </header-field> </custom-header> </response-header> <!-- refer to another chapter --> <!-- <encoding> ... </encoding> <jsp-engine> ... </jsp-engine> --> <!-- set default-error-page --> <default-error-page>/home/errorpage/error.html</default-error-page> <!-- determine whether attach stacktrace on jeus error page or not --> <attach-stacktrace-on-error>false</attach-stacktrace-on-error> <!-- refer to another chapter --> <!-- <virtual-host> ... </virtual-host> <web-connections> ... </web-connections> --> <monitoring> <!-- thread check interval(checking idle, block threads, etc...) --> <check-thread-pool>60000</check-thread-pool> <!-- reload check interval --> <check-class-reload>60000</check-class-reload> <!-- session check interval(checking session's timeout, session server, etc...) --> <check-session>60000</check-session> </monitoring> <!-- access log for web engine : Common Log Format --> <access-log> <enable>true</enable> <format>common</format> <handler> <file-handler> <name>fileHandler</name> </file-handler> </handler> </access-log> <!-- properties for web engine --> <properties> <property> <key>myKey</key> <value>myValue</value> </property> </properties> <!-- refer to another chapter --> <!-- <session-config> ... </session-config> --> <!-- set the minimum threads to process timeout event of asynchrous processing --> <async-timeout-min-threads>1</async-timeout-min-threads> </web-engine> </server> </servers> </domain>