817560f9 by Ean Schuessler

Moved servlet declaration

1 parent faf593b2
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This software is in the public domain under CC0 1.0 Universal plus a
3 Grant of Patent License.
4
5 To the extent possible under law, the author(s) have dedicated all
6 copyright and related and neighboring rights to this software to the
7 public domain worldwide. This software is distributed without any warranty.
8
9 You should have received a copy of the CC0 Public Domain Dedication
10 along with this software (see the LICENSE.md file). If not, see
11 <https://creativecommons.org/publicdomain/zero/1.0/>. -->
12
13 <moqui-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14 xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/moqui-conf-3.xsd">
15
16 <webapp-list>
17 <webapp name="webroot" http-port="8080">
18 <root-screen host="*" location="component://moqui-mcp-2/screen/McpScreens.xml"/>
19 <servlet name="EnhancedMcpServlet" class="org.moqui.mcp.EnhancedMcpServlet"
20 load-on-startup="5" async-supported="true">
21 <init-param name="keepAliveIntervalSeconds" value="30"/>
22 <init-param name="maxConnections" value="100"/>
23 <url-pattern>/mcp/*</url-pattern>
24 </servlet>
25 </webapp>
26 </webapp-list>
27
28 </moqui-conf>
...\ No newline at end of file ...\ No newline at end of file