| author | ymh <ymh.work@gmail.com> |
| Sun, 14 Jul 2024 22:00:08 +0200 | |
| changeset 666 | 9d6550026232 |
| parent 444 | 19f0b7803aed |
| permissions | -rw-r--r-- |
| 9 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
444
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
2 |
<web-app |
|
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 45 | 4 |
xmlns="http://java.sun.com/xml/ns/javaee" |
| 221 | 5 |
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" |
6 |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" |
|
7 |
version="3.0"> |
|
|
444
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
8 |
<listener> |
|
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
9 |
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
| 45 | 10 |
</listener> |
|
444
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
11 |
<listener> |
|
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
12 |
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class> |
| 221 | 13 |
</listener> |
|
444
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
14 |
<context-param> |
|
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
15 |
<param-name>contextConfigLocation</param-name> |
|
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
16 |
<param-value>/WEB-INF/applicationContext.xml</param-value> |
| 45 | 17 |
</context-param> |
| 9 | 18 |
<servlet> |
19 |
<servlet-name>cometd</servlet-name> |
|
|
106
d34e253f5c32
Simplify spring integration + correct key for collaborative usage
ymh <ymh.work@gmail.com>
parents:
71
diff
changeset
|
20 |
<servlet-class>org.cometd.server.CometdServlet</servlet-class> |
|
444
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
21 |
<async-supported>false</async-supported> |
| 9 | 22 |
<init-param> |
23 |
<param-name>logLevel</param-name> |
|
|
106
d34e253f5c32
Simplify spring integration + correct key for collaborative usage
ymh <ymh.work@gmail.com>
parents:
71
diff
changeset
|
24 |
<param-value>1</param-value> |
| 9 | 25 |
</init-param> |
26 |
<init-param> |
|
27 |
<param-name>timeout</param-name> |
|
28 |
<param-value>30000</param-value> |
|
29 |
</init-param> |
|
30 |
<init-param> |
|
31 |
<param-name>jsonDebug</param-name> |
|
32 |
<param-value>false</param-value> |
|
|
444
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
33 |
</init-param> |
|
48
01fb9167ad75
Correct bug on insert, delete move objects
ymh <ymh.work@gmail.com>
parents:
47
diff
changeset
|
34 |
<init-param> |
|
01fb9167ad75
Correct bug on insert, delete move objects
ymh <ymh.work@gmail.com>
parents:
47
diff
changeset
|
35 |
<param-name>maxSessionsPerBrowser</param-name> |
|
01fb9167ad75
Correct bug on insert, delete move objects
ymh <ymh.work@gmail.com>
parents:
47
diff
changeset
|
36 |
<param-value>-1</param-value> |
| 9 | 37 |
</init-param> |
| 58 | 38 |
<init-param> |
|
48
01fb9167ad75
Correct bug on insert, delete move objects
ymh <ymh.work@gmail.com>
parents:
47
diff
changeset
|
39 |
<param-name>transports</param-name> |
|
01fb9167ad75
Correct bug on insert, delete move objects
ymh <ymh.work@gmail.com>
parents:
47
diff
changeset
|
40 |
<param-value>org.cometd.websocket.server.WebSocketTransport</param-value> |
| 58 | 41 |
</init-param> |
|
272
c87698c8cde6
correct oejw.WebSocketConnectionRFC6455:Text message too large > 65520 chars bug
ymh <ymh.work@gmail.com>
parents:
221
diff
changeset
|
42 |
<init-param> |
|
c87698c8cde6
correct oejw.WebSocketConnectionRFC6455:Text message too large > 65520 chars bug
ymh <ymh.work@gmail.com>
parents:
221
diff
changeset
|
43 |
<param-name>ws.bufferSize</param-name> |
|
c87698c8cde6
correct oejw.WebSocketConnectionRFC6455:Text message too large > 65520 chars bug
ymh <ymh.work@gmail.com>
parents:
221
diff
changeset
|
44 |
<param-value>100000</param-value> |
| 304 | 45 |
</init-param> |
| 9 | 46 |
<load-on-startup>1</load-on-startup> |
47 |
</servlet> |
|
48 |
<servlet-mapping> |
|
49 |
<servlet-name>cometd</servlet-name> |
|
50 |
<url-pattern>/cometd/*</url-pattern> |
|
51 |
</servlet-mapping> |
|
52 |
<servlet> |
|
53 |
<servlet-name>admin</servlet-name> |
|
54 |
<servlet-class>org.coweb.servlet.AdminServlet</servlet-class> |
|
|
444
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
55 |
<async-supported>false</async-supported> |
| 9 | 56 |
<init-param> |
57 |
<param-name>ConfigURI</param-name> |
|
58 |
<param-value>/WEB-INF/cowebConfig.json</param-value> |
|
59 |
</init-param> |
|
60 |
<load-on-startup>2</load-on-startup> |
|
61 |
</servlet> |
|
62 |
<servlet-mapping> |
|
63 |
<servlet-name>admin</servlet-name> |
|
|
123
daa99448319d
first step for site administration
ymh <ymh.work@gmail.com>
parents:
106
diff
changeset
|
64 |
<url-pattern>/ocw_admin/*</url-pattern> |
| 9 | 65 |
</servlet-mapping> |
66 |
<servlet> |
|
|
220
ecbb104cf3b6
Upgrade to jetty 8, Jersey 2.3, cometd 2.7, coweb 1.0.1 and more...
ymh <ymh.work@gmail.com>
parents:
164
diff
changeset
|
67 |
<servlet-name>restServlet</servlet-name> |
|
ecbb104cf3b6
Upgrade to jetty 8, Jersey 2.3, cometd 2.7, coweb 1.0.1 and more...
ymh <ymh.work@gmail.com>
parents:
164
diff
changeset
|
68 |
<servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class> |
|
444
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
69 |
<async-supported>false</async-supported> |
| 9 | 70 |
<init-param> |
|
220
ecbb104cf3b6
Upgrade to jetty 8, Jersey 2.3, cometd 2.7, coweb 1.0.1 and more...
ymh <ymh.work@gmail.com>
parents:
164
diff
changeset
|
71 |
<param-name>javax.ws.rs.Application</param-name> |
|
ecbb104cf3b6
Upgrade to jetty 8, Jersey 2.3, cometd 2.7, coweb 1.0.1 and more...
ymh <ymh.work@gmail.com>
parents:
164
diff
changeset
|
72 |
<param-value>org.iri_research.renkan.rest.RestApplication</param-value> |
| 9 | 73 |
</init-param> |
74 |
<load-on-startup>1</load-on-startup> |
|
75 |
</servlet> |
|
76 |
<servlet-mapping> |
|
|
220
ecbb104cf3b6
Upgrade to jetty 8, Jersey 2.3, cometd 2.7, coweb 1.0.1 and more...
ymh <ymh.work@gmail.com>
parents:
164
diff
changeset
|
77 |
<servlet-name>restServlet</servlet-name> |
| 9 | 78 |
<url-pattern>/rest/*</url-pattern> |
79 |
</servlet-mapping> |
|
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
45
diff
changeset
|
80 |
<servlet> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
45
diff
changeset
|
81 |
<servlet-name>spring</servlet-name> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
45
diff
changeset
|
82 |
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
|
444
19f0b7803aed
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents:
316
diff
changeset
|
83 |
<async-supported>false</async-supported> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
45
diff
changeset
|
84 |
<load-on-startup>1</load-on-startup> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
45
diff
changeset
|
85 |
</servlet> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
45
diff
changeset
|
86 |
<servlet-mapping> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
45
diff
changeset
|
87 |
<servlet-name>spring</servlet-name> |
| 51 | 88 |
<url-pattern>/</url-pattern> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
45
diff
changeset
|
89 |
</servlet-mapping> |
|
146
2f3ef07f3eef
add basic security for admin pages
ymh <ymh.work@gmail.com>
parents:
123
diff
changeset
|
90 |
<filter> |
|
2f3ef07f3eef
add basic security for admin pages
ymh <ymh.work@gmail.com>
parents:
123
diff
changeset
|
91 |
<filter-name>springSecurityFilterChain</filter-name> |
|
2f3ef07f3eef
add basic security for admin pages
ymh <ymh.work@gmail.com>
parents:
123
diff
changeset
|
92 |
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> |
|
2f3ef07f3eef
add basic security for admin pages
ymh <ymh.work@gmail.com>
parents:
123
diff
changeset
|
93 |
</filter> |
|
2f3ef07f3eef
add basic security for admin pages
ymh <ymh.work@gmail.com>
parents:
123
diff
changeset
|
94 |
<filter-mapping> |
|
2f3ef07f3eef
add basic security for admin pages
ymh <ymh.work@gmail.com>
parents:
123
diff
changeset
|
95 |
<filter-name>springSecurityFilterChain</filter-name> |
|
2f3ef07f3eef
add basic security for admin pages
ymh <ymh.work@gmail.com>
parents:
123
diff
changeset
|
96 |
<url-pattern>/*</url-pattern> |
|
2f3ef07f3eef
add basic security for admin pages
ymh <ymh.work@gmail.com>
parents:
123
diff
changeset
|
97 |
</filter-mapping> |
| 304 | 98 |
<filter> |
99 |
<filter-name>cross-origin</filter-name> |
|
100 |
<filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class> |
|
101 |
</filter> |
|
102 |
<filter-mapping> |
|
103 |
<filter-name>cross-origin</filter-name> |
|
104 |
<url-pattern>/cometd/*</url-pattern> |
|
105 |
<url-pattern>/rest/*</url-pattern> |
|
106 |
</filter-mapping> |
|
|
272
c87698c8cde6
correct oejw.WebSocketConnectionRFC6455:Text message too large > 65520 chars bug
ymh <ymh.work@gmail.com>
parents:
221
diff
changeset
|
107 |
</web-app> |