-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjetty-context.xml
31 lines (30 loc) · 1.07 KB
/
jetty-context.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<!--
<Set name="contextPath">/gallica-obvie</Set>
<Set name="war">/data/app/gallica-obvie/obvie</Set>
-->
<!-- Not tested, may solve a windows problem when editing a static file -->
<Call name="setInitParameter">
<Arg>org.eclipse.jetty.servlet.Default.useFileMappedBuffer</Arg>
<Arg>false</Arg>
</Call>
<Call name="setInitParameter">
<Arg>obvie.datadir</Arg>
<Arg><SystemProperty name="obvie.datadir"/></Arg>
<!--
If Jetty runs as a service on a debian system,
only a few folders are allowed for write
<Arg>/var/lib/jetty9/data/gallica-obvie</Arg>
-->
</Call>
<Call name="setInitParameter">
<Arg>obvie.poolsize</Arg>
<Arg>20</Arg>
</Call>
<Call name="setInitParameter">
<Arg>obvie.baselife</Arg>
<Arg>10</Arg>
</Call>
</Configure>