This chapter explains the tags related to web servlet engines in domain.xml.
XML schema file:
JEUS_HOME/lib/schemas/jeus/web-engine.xsd
XML references are configured in the following format.
XML Schema/XML Tree: Summarizes all the tags of XML configuration file. Each node is defined in the following format.
Tag reference enables quick search for tags. Each tag is attached with index numbers ( ex: (11) ). Tags are explained with this number in tag reference.
The XML tag name defined in the XML schema is expressed in the format of <tag name>.
Tags are set with cardinality defined in XML schema.
“?” is for 0 or 1 element, “+” is for 1 or more elements, “*” is for 0 or more elements, (no symbol) is for exactly one element
Several tags have "P" character, meaning that they are the tags related to performance. These tags are used to tune the setting.
Element Reference: Explains XML tags in the tree.
Dynamic: Allowed to change the configuration dynamically.
Non-Dynamic: Not allowed to change the configuration dynamically. This is expressed only for the special case to comment out.
Description: A short description for tags.
Value Description: The value and type.
Value Type: Data type of the value. (ex: String)
Value Type Description: Description for the data type of the value.
Default Value: The value to be used by default when the XML is not used.
Defined Value: The default value.
Example: The XML tag example.
Performance Recommendation: The value recommended to improve performance.
Child Elements:The tags contained in its own tag element.
(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 | A Web engine provides the environment for running J2EE Web and Servlet applications. It corresponds to the web container in the J2EE specifications. It is started when the JEUS server starts. Each JEUS server can only have one Web engine. |
Value Type | web-containerType |
Child Elements |
(87)
(88)
(93)
(104)
(108)
(112)
(122)
(123)
(226)
(406)
(410)
(474)
(494)
(495)
(500)
|
[Example 5.1] Example File
<?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>