1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START==========================================
5 ===================================================================
6 Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7 Copyright © 2017-2018 Amdocs
8 ===================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END============================================
23 <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
24 <Configure id="ajsc-server" class="org.eclipse.jetty.server.Server">
25 <!-- DO NOT REMOVE!!!! This is setting up the AJSC Context -->
26 <New id="ajscContext" class="org.eclipse.jetty.webapp.WebAppContext">
27 <Set name="contextPath"><SystemProperty name="AJSC_CONTEXT_PATH" /></Set>
28 <Set name="extractWAR">true</Set>
29 <Set name="tempDirectory"><SystemProperty name="AJSC_TEMP_DIR" /></Set>
30 <Set name="war"><SystemProperty name="AJSC_WAR_PATH" /></Set>
31 <Set name="descriptor"><SystemProperty name="AJSC_HOME" />/etc/runner-web.xml</Set>
32 <Set name="overrideDescriptor"><SystemProperty name="AJSC_HOME" />/etc/ajsc-override-web.xml</Set>
33 <Set name="throwUnavailableOnStartupException">true</Set>
34 <Set name="servletHandler">
35 <New class="org.eclipse.jetty.servlet.ServletHandler">
36 <Set name="startWithUnavailable">false</Set>
39 <Set name="extraClasspath"><SystemProperty name="AJSC_HOME" />/extJars/httpclient-4.5.jar,<SystemProperty name="AJSC_HOME" />/extJars/httpcore-4.4.1.jar,<SystemProperty name="AJSC_HOME" />/extJars/json-20131018.jar</Set>
43 <New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection">
45 <Array type="org.eclipse.jetty.webapp.WebAppContext">
47 <Ref refid="ajscContext" />
56 <New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
58 <Ref refid="Contexts" />
60 <Call id="extAppHotDeployProvider" name="addAppProvider">
62 <New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
63 <Set name="monitoredDirName"><SystemProperty name="AJSC_HOME" />/extApps</Set>
64 <Set name="scanInterval">10</Set>
65 <Set name="extractWars">true</Set>
73 <Call name="addConnector">
75 <New class="org.eclipse.jetty.server.ServerConnector">
77 <Ref refid="ajsc-server" />
79 <Set name="port"><SystemProperty name="AJSC_HTTP_PORT" default="80" /></Set>
84 <Get name="ThreadPool">
85 <Set name="minThreads"><SystemProperty name="AJSC_JETTY_ThreadCount_MIN" /></Set>
86 <Set name="maxThreads"><SystemProperty name="AJSC_JETTY_ThreadCount_MAX" /></Set>
87 <Set name="idleTimeout"><SystemProperty name="AJSC_JETTY_IDLETIME_MAX" /></Set>
88 <Set name="detailedDump">false</Set>