ucb_deployer 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +19 -0
- data/README.txt +0 -0
- data/Rakefile +22 -0
- data/bin/deployer +36 -0
- data/cas_web.xml +100 -0
- data/lib/confluence_deployer.rb +228 -0
- data/spec/build/confluence/lib/soulwing-casclient-x.x.x.jar +0 -0
- data/spec/build/confluence/src/confluence/WEB-INF/classes/confluence-init.properties +41 -0
- data/spec/build/confluence/src/confluence/WEB-INF/classes/seraph-config.xml +46 -0
- data/spec/build/confluence/src/confluence/WEB-INF/lib/postgresql-x.x.x.jar +0 -0
- data/spec/build/confluence/src/confluence/WEB-INF/lib/soulwing-casclient-x.x.x.jar +0 -0
- data/spec/build/confluence/src/confluence/WEB-INF/web.xml +1016 -0
- data/spec/confluence_deployer/confluence_deployer_spec.rb +104 -0
- data/spec/fixtures/bad_dot_cdeprc +1 -0
- data/spec/fixtures/confluence-init.properties +41 -0
- data/spec/fixtures/dot_cdeprc +7 -0
- data/spec/fixtures/seraph-config.xml +46 -0
- data/spec/fixtures/web.xml +1016 -0
- data/spec/spec_helper.rb +30 -0
- data/ucb_deployer.gemspec +32 -0
- metadata +93 -0
@@ -0,0 +1,1016 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
|
3
|
+
|
4
|
+
<web-app>
|
5
|
+
|
6
|
+
<display-name>Confluence</display-name>
|
7
|
+
<description>Confluence Web App</description>
|
8
|
+
|
9
|
+
<context-param>
|
10
|
+
<param-name>contextConfigLocation</param-name>
|
11
|
+
<param-value>
|
12
|
+
classpath:/databaseSubsystemContext.xml,
|
13
|
+
classpath:/services/cacheServiceContext.xml,
|
14
|
+
classpath:/services/bandanaServiceContext.xml,
|
15
|
+
classpath:/services/eventServiceContext.xml,
|
16
|
+
classpath:/services/pluginServiceContext.xml,
|
17
|
+
classpath:/services/taskQueueServiceContext.xml,
|
18
|
+
classpath:/services/permissionsServiceContext.xml,
|
19
|
+
classpath:/applicationContext.xml,
|
20
|
+
classpath:/i18NContext.xml,
|
21
|
+
classpath:/securityContext.xml,
|
22
|
+
classpath:/productionDatabaseContext.xml,
|
23
|
+
classpath:/indexingSubsystemContext.xml,
|
24
|
+
classpath:/searchSubsystemContext.xml,
|
25
|
+
classpath:/rpcSubsystemContext.xml,
|
26
|
+
classpath:/upgradeSubsystemContext.xml,
|
27
|
+
classpath:/wikiSubsystemContext.xml,
|
28
|
+
classpath:/wikiFiltersSubsystemContext.xml,
|
29
|
+
classpath:/velocityContext.xml,
|
30
|
+
classpath:/importExportSubsystemContext.xml,
|
31
|
+
classpath:/schedulingSubsystemContext.xml,
|
32
|
+
classpath:/atlassianUserContext.xml,
|
33
|
+
classpath:/attachmentSubsystemContext.xml,
|
34
|
+
classpath:/services/baseServiceContext.xml,
|
35
|
+
classpath:/services/contentServiceContext.xml,
|
36
|
+
classpath:/services/userServiceContext.xml,
|
37
|
+
classpath:/services/statusServiceContext.xml,
|
38
|
+
classpath:/services/labelServiceContext.xml,
|
39
|
+
classpath:/com/atlassian/confluence/compatibility/compatibility-context.xml,
|
40
|
+
classpath:/jmxContext.xml,
|
41
|
+
classpath:/cacheProviderContext.xml
|
42
|
+
</param-value>
|
43
|
+
</context-param>
|
44
|
+
|
45
|
+
<context-param>
|
46
|
+
<param-name>contextClass</param-name>
|
47
|
+
<param-value>com.atlassian.confluence.setup.ConfluenceXmlWebApplicationContext</param-value>
|
48
|
+
</context-param>
|
49
|
+
|
50
|
+
<!-- Uncomment the following to disable the space export long running task. -->
|
51
|
+
<!--
|
52
|
+
<context-param>
|
53
|
+
<param-name>unsupportedContainersForExportLongRunningTask</param-name>
|
54
|
+
<param-value>websphere,jboss</param-value>
|
55
|
+
</context-param>
|
56
|
+
-->
|
57
|
+
|
58
|
+
<filter>
|
59
|
+
<filter-name>header-sanitiser</filter-name>
|
60
|
+
<filter-class>com.atlassian.core.filters.HeaderSanitisingFilter</filter-class>
|
61
|
+
</filter>
|
62
|
+
|
63
|
+
<filter>
|
64
|
+
<filter-name>log404s</filter-name>
|
65
|
+
<filter-class>com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter</filter-class>
|
66
|
+
</filter>
|
67
|
+
|
68
|
+
<filter>
|
69
|
+
<filter-name>jmx</filter-name>
|
70
|
+
<filter-class>com.atlassian.confluence.jmx.JmxFilter</filter-class>
|
71
|
+
</filter>
|
72
|
+
|
73
|
+
|
74
|
+
<filter>
|
75
|
+
<filter-name>johnson</filter-name>
|
76
|
+
<filter-class>com.atlassian.confluence.web.ConfluenceJohnsonFilter</filter-class>
|
77
|
+
</filter>
|
78
|
+
|
79
|
+
<filter>
|
80
|
+
<filter-name>sessioninview</filter-name>
|
81
|
+
<filter-class>com.atlassian.config.FlushingSpringSessionInViewFilterForHibernate</filter-class>
|
82
|
+
</filter>
|
83
|
+
|
84
|
+
<filter>
|
85
|
+
<filter-name>login</filter-name>
|
86
|
+
<filter-class>com.atlassian.seraph.filter.LoginFilter</filter-class>
|
87
|
+
</filter>
|
88
|
+
|
89
|
+
<filter>
|
90
|
+
<filter-name>trustedapp</filter-name>
|
91
|
+
<filter-class>com.atlassian.confluence.security.trust.seraph.ConfluenceTrustedApplicationsFilter</filter-class>
|
92
|
+
</filter>
|
93
|
+
|
94
|
+
<filter>
|
95
|
+
<filter-name>requestcache</filter-name>
|
96
|
+
<filter-class>com.atlassian.confluence.util.RequestCacheThreadLocalFilter</filter-class>
|
97
|
+
</filter>
|
98
|
+
|
99
|
+
|
100
|
+
<filter>
|
101
|
+
<filter-name>sitemesh</filter-name>
|
102
|
+
<filter-class>com.atlassian.confluence.util.profiling.ProfilingPageFilter</filter-class>
|
103
|
+
</filter>
|
104
|
+
|
105
|
+
<filter>
|
106
|
+
<filter-name>encoding</filter-name>
|
107
|
+
<filter-class>com.atlassian.confluence.setup.ConfluenceEncodingFilter</filter-class>
|
108
|
+
</filter>
|
109
|
+
|
110
|
+
<filter>
|
111
|
+
<filter-name>caching</filter-name>
|
112
|
+
<filter-class>com.atlassian.confluence.web.filter.ConfluenceCachingFilter</filter-class>
|
113
|
+
</filter>
|
114
|
+
|
115
|
+
<filter>
|
116
|
+
<filter-name>security</filter-name>
|
117
|
+
<filter-class>com.atlassian.seraph.filter.SecurityFilter</filter-class>
|
118
|
+
</filter>
|
119
|
+
|
120
|
+
<filter>
|
121
|
+
<filter-name>userthreadlocal</filter-name>
|
122
|
+
<filter-class>com.atlassian.confluence.util.UserThreadLocalFilter</filter-class>
|
123
|
+
</filter>
|
124
|
+
|
125
|
+
<filter>
|
126
|
+
<filter-name>servletcontextthreadlocal</filter-name>
|
127
|
+
<filter-class>com.atlassian.core.filters.ServletContextThreadLocalFilter</filter-class>
|
128
|
+
</filter>
|
129
|
+
|
130
|
+
<filter>
|
131
|
+
<filter-name>threadLocalCache</filter-name>
|
132
|
+
<filter-class>com.atlassian.confluence.web.filter.ThreadLocalCacheFilter</filter-class>
|
133
|
+
</filter>
|
134
|
+
|
135
|
+
<filter>
|
136
|
+
<filter-name>expires-one-hour</filter-name>
|
137
|
+
<filter-class>com.atlassian.core.filters.ExpiresFilter</filter-class>
|
138
|
+
<init-param>
|
139
|
+
<!-- specify the which HTTP parameter to use to turn the filter on or off -->
|
140
|
+
<!-- if not specified - defaults to "profile.filter" -->
|
141
|
+
<param-name>expiryTimeInSeconds</param-name>
|
142
|
+
<param-value>3600</param-value>
|
143
|
+
</init-param>
|
144
|
+
</filter>
|
145
|
+
|
146
|
+
<filter>
|
147
|
+
<filter-name>thread-local-error-collection</filter-name>
|
148
|
+
<filter-class>com.atlassian.confluence.util.ConfluenceErrorFilter</filter-class>
|
149
|
+
</filter>
|
150
|
+
|
151
|
+
<filter>
|
152
|
+
<filter-name>profiling</filter-name>
|
153
|
+
<filter-class>com.atlassian.confluence.util.profiling.ConfluenceProfilingFilter</filter-class>
|
154
|
+
<init-param>
|
155
|
+
<!-- specify the which HTTP parameter to use to turn the filter on or off -->
|
156
|
+
<!-- if not specified - defaults to "profile.filter" -->
|
157
|
+
<param-name>activate.param</param-name>
|
158
|
+
<param-value>profile</param-value>
|
159
|
+
</init-param>
|
160
|
+
<init-param>
|
161
|
+
<!-- specify the whether to start the filter automatically -->
|
162
|
+
<!-- if not specified - defaults to "true" -->
|
163
|
+
<param-name>autostart</param-name>
|
164
|
+
<param-value>false</param-value>
|
165
|
+
</init-param>
|
166
|
+
</filter>
|
167
|
+
|
168
|
+
<filter>
|
169
|
+
<filter-name>AccessLogFilter</filter-name>
|
170
|
+
<filter-class>com.atlassian.confluence.util.AccessLogFilter</filter-class>
|
171
|
+
</filter>
|
172
|
+
|
173
|
+
<filter>
|
174
|
+
<filter-name>gzipFilter</filter-name>
|
175
|
+
<filter-class>com.atlassian.confluence.util.zip.ConfluenceGzipFilter</filter-class>
|
176
|
+
</filter>
|
177
|
+
|
178
|
+
<filter>
|
179
|
+
<filter-name>ClusterHeaderFilter</filter-name>
|
180
|
+
<filter-class>com.atlassian.confluence.util.ClusterHeaderFilter</filter-class>
|
181
|
+
</filter>
|
182
|
+
|
183
|
+
<!-- this filter is used to rewrite through the /s/* filter to add caching headers. see: urlrewrite.xml -->
|
184
|
+
<filter>
|
185
|
+
<filter-name>UrlRewriteFilter</filter-name>
|
186
|
+
<filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
|
187
|
+
</filter>
|
188
|
+
|
189
|
+
<filter>
|
190
|
+
<filter-name>LoggingContextFilter</filter-name>
|
191
|
+
<filter-class>com.atlassian.confluence.util.LoggingContextFilter</filter-class>
|
192
|
+
</filter>
|
193
|
+
|
194
|
+
<filter>
|
195
|
+
<filter-name>RequestTimeFilter</filter-name>
|
196
|
+
<filter-class>com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter</filter-class>
|
197
|
+
</filter>
|
198
|
+
|
199
|
+
<filter>
|
200
|
+
<filter-name>filter-plugin-dispatcher-after-encoding</filter-name>
|
201
|
+
<filter-class>com.atlassian.confluence.plugin.servlet.filter.ServletFilterModuleContainerFilter</filter-class>
|
202
|
+
<init-param>
|
203
|
+
<param-name>location</param-name>
|
204
|
+
<param-value>after-encoding</param-value>
|
205
|
+
</init-param>
|
206
|
+
</filter>
|
207
|
+
|
208
|
+
<filter>
|
209
|
+
<filter-name>filter-plugin-dispatcher-before-login</filter-name>
|
210
|
+
<filter-class>com.atlassian.confluence.plugin.servlet.filter.ServletFilterModuleContainerFilter</filter-class>
|
211
|
+
<init-param>
|
212
|
+
<param-name>location</param-name>
|
213
|
+
<param-value>before-login</param-value>
|
214
|
+
</init-param>
|
215
|
+
</filter>
|
216
|
+
|
217
|
+
<filter>
|
218
|
+
<filter-name>filter-plugin-dispatcher-before-decoration</filter-name>
|
219
|
+
<filter-class>com.atlassian.confluence.plugin.servlet.filter.ServletFilterModuleContainerFilter</filter-class>
|
220
|
+
<init-param>
|
221
|
+
<param-name>location</param-name>
|
222
|
+
<param-value>before-decoration</param-value>
|
223
|
+
</init-param>
|
224
|
+
</filter>
|
225
|
+
|
226
|
+
<filter>
|
227
|
+
<filter-name>filter-plugin-dispatcher-before-dispatch</filter-name>
|
228
|
+
<filter-class>com.atlassian.confluence.plugin.servlet.filter.ServletFilterModuleContainerFilter</filter-class>
|
229
|
+
<init-param>
|
230
|
+
<param-name>location</param-name>
|
231
|
+
<param-value>before-dispatch</param-value>
|
232
|
+
</init-param>
|
233
|
+
</filter>
|
234
|
+
|
235
|
+
<filter-mapping>
|
236
|
+
<filter-name>log404s</filter-name>
|
237
|
+
<url-pattern>/*</url-pattern>
|
238
|
+
</filter-mapping>
|
239
|
+
<filter-mapping>
|
240
|
+
<filter-name>header-sanitiser</filter-name>
|
241
|
+
<url-pattern>/*</url-pattern>
|
242
|
+
</filter-mapping>
|
243
|
+
|
244
|
+
<!-- THIS MUST REMAIN AS THE TOP FILTER SO THAT THE ENCODING CAN BE SET BEFORE ANYTHING ELSE TOUCHES IT (well, except the header sanitiser)-->
|
245
|
+
<filter-mapping>
|
246
|
+
<filter-name>encoding</filter-name>
|
247
|
+
<url-pattern>*.vm</url-pattern>
|
248
|
+
</filter-mapping>
|
249
|
+
<filter-mapping>
|
250
|
+
<filter-name>encoding</filter-name>
|
251
|
+
<url-pattern>/display/*</url-pattern>
|
252
|
+
</filter-mapping>
|
253
|
+
<filter-mapping>
|
254
|
+
<filter-name>encoding</filter-name>
|
255
|
+
<url-pattern>*.action</url-pattern>
|
256
|
+
</filter-mapping>
|
257
|
+
<filter-mapping>
|
258
|
+
<filter-name>encoding</filter-name>
|
259
|
+
<url-pattern>/download/*</url-pattern>
|
260
|
+
</filter-mapping>
|
261
|
+
<filter-mapping>
|
262
|
+
<filter-name>encoding</filter-name>
|
263
|
+
<url-pattern>/plugins/servlet/*</url-pattern>
|
264
|
+
</filter-mapping>
|
265
|
+
<filter-mapping>
|
266
|
+
<filter-name>encoding</filter-name>
|
267
|
+
<url-pattern>/label/*</url-pattern>
|
268
|
+
</filter-mapping>
|
269
|
+
<filter-mapping>
|
270
|
+
<filter-name>encoding</filter-name>
|
271
|
+
<url-pattern>/s/*</url-pattern>
|
272
|
+
</filter-mapping>
|
273
|
+
|
274
|
+
<filter-mapping>
|
275
|
+
<filter-name>filter-plugin-dispatcher-after-encoding</filter-name>
|
276
|
+
<url-pattern>/*</url-pattern>
|
277
|
+
</filter-mapping>
|
278
|
+
|
279
|
+
<filter-mapping>
|
280
|
+
<filter-name>caching</filter-name>
|
281
|
+
<url-pattern>*.vm</url-pattern>
|
282
|
+
</filter-mapping>
|
283
|
+
<filter-mapping>
|
284
|
+
<filter-name>caching</filter-name>
|
285
|
+
<url-pattern>/display/*</url-pattern>
|
286
|
+
</filter-mapping>
|
287
|
+
<filter-mapping>
|
288
|
+
<filter-name>caching</filter-name>
|
289
|
+
<url-pattern>*.action</url-pattern>
|
290
|
+
</filter-mapping>
|
291
|
+
<filter-mapping>
|
292
|
+
<filter-name>caching</filter-name>
|
293
|
+
<url-pattern>/download/*</url-pattern>
|
294
|
+
</filter-mapping>
|
295
|
+
<filter-mapping>
|
296
|
+
<filter-name>caching</filter-name>
|
297
|
+
<url-pattern>/plugins/servlet/*</url-pattern>
|
298
|
+
</filter-mapping>
|
299
|
+
<filter-mapping>
|
300
|
+
<filter-name>caching</filter-name>
|
301
|
+
<url-pattern>/label/*</url-pattern>
|
302
|
+
</filter-mapping>
|
303
|
+
<filter-mapping>
|
304
|
+
<filter-name>caching</filter-name>
|
305
|
+
<url-pattern>/s/*</url-pattern>
|
306
|
+
</filter-mapping>
|
307
|
+
|
308
|
+
<filter-mapping>
|
309
|
+
<filter-name>gzipFilter</filter-name>
|
310
|
+
<url-pattern>/*</url-pattern>
|
311
|
+
</filter-mapping>
|
312
|
+
|
313
|
+
<filter-mapping>
|
314
|
+
<filter-name>UrlRewriteFilter</filter-name>
|
315
|
+
<url-pattern>/s/*</url-pattern>
|
316
|
+
</filter-mapping>
|
317
|
+
|
318
|
+
<filter-mapping>
|
319
|
+
<filter-name>requestcache</filter-name>
|
320
|
+
<url-pattern>*.action</url-pattern>
|
321
|
+
</filter-mapping>
|
322
|
+
<filter-mapping>
|
323
|
+
<filter-name>requestcache</filter-name>
|
324
|
+
<url-pattern>*.vm</url-pattern>
|
325
|
+
</filter-mapping>
|
326
|
+
<filter-mapping>
|
327
|
+
<filter-name>requestcache</filter-name>
|
328
|
+
<url-pattern>*.jsp</url-pattern>
|
329
|
+
</filter-mapping>
|
330
|
+
<filter-mapping>
|
331
|
+
<filter-name>requestcache</filter-name>
|
332
|
+
<url-pattern>/display/*</url-pattern>
|
333
|
+
</filter-mapping>
|
334
|
+
<filter-mapping>
|
335
|
+
<filter-name>requestcache</filter-name>
|
336
|
+
<url-pattern>/plugins/servlet/*</url-pattern>
|
337
|
+
</filter-mapping>
|
338
|
+
<filter-mapping>
|
339
|
+
<filter-name>requestcache</filter-name>
|
340
|
+
<url-pattern>/download/*</url-pattern>
|
341
|
+
</filter-mapping>
|
342
|
+
<filter-mapping>
|
343
|
+
<filter-name>requestcache</filter-name>
|
344
|
+
<url-pattern>/label/*</url-pattern>
|
345
|
+
</filter-mapping>
|
346
|
+
<filter-mapping>
|
347
|
+
<filter-name>requestcache</filter-name>
|
348
|
+
<url-pattern>/s/*</url-pattern>
|
349
|
+
</filter-mapping>
|
350
|
+
<filter-mapping>
|
351
|
+
<filter-name>requestcache</filter-name>
|
352
|
+
<url-pattern>/dwr/*</url-pattern>
|
353
|
+
</filter-mapping>
|
354
|
+
<filter-mapping>
|
355
|
+
<filter-name>requestcache</filter-name>
|
356
|
+
<url-pattern>/exportword</url-pattern>
|
357
|
+
</filter-mapping>
|
358
|
+
|
359
|
+
<filter-mapping>
|
360
|
+
<filter-name>requestcache</filter-name>
|
361
|
+
<url-pattern>/rpc/*</url-pattern>
|
362
|
+
</filter-mapping>
|
363
|
+
|
364
|
+
<!-- uncomment this mapping in order to log page views to the access log, see log4j.properties also -->
|
365
|
+
<!--
|
366
|
+
<filter-mapping>
|
367
|
+
<filter-name>AccessLogFilter</filter-name>
|
368
|
+
<url-pattern>/display/*</url-pattern>
|
369
|
+
</filter-mapping>
|
370
|
+
-->
|
371
|
+
|
372
|
+
<filter-mapping>
|
373
|
+
<filter-name>RequestTimeFilter</filter-name>
|
374
|
+
<url-pattern>*.action</url-pattern>
|
375
|
+
</filter-mapping>
|
376
|
+
<filter-mapping>
|
377
|
+
<filter-name>RequestTimeFilter</filter-name>
|
378
|
+
<url-pattern>*.vm</url-pattern>
|
379
|
+
</filter-mapping>
|
380
|
+
<filter-mapping>
|
381
|
+
<filter-name>RequestTimeFilter</filter-name>
|
382
|
+
<url-pattern>/display/*</url-pattern>
|
383
|
+
</filter-mapping>
|
384
|
+
<filter-mapping>
|
385
|
+
<filter-name>RequestTimeFilter</filter-name>
|
386
|
+
<url-pattern>/plugins/servlet/*</url-pattern>
|
387
|
+
</filter-mapping>
|
388
|
+
<filter-mapping>
|
389
|
+
<filter-name>RequestTimeFilter</filter-name>
|
390
|
+
<url-pattern>/download/*</url-pattern>
|
391
|
+
</filter-mapping>
|
392
|
+
<filter-mapping>
|
393
|
+
<filter-name>RequestTimeFilter</filter-name>
|
394
|
+
<url-pattern>/label/*</url-pattern>
|
395
|
+
</filter-mapping>
|
396
|
+
<filter-mapping>
|
397
|
+
<filter-name>RequestTimeFilter</filter-name>
|
398
|
+
<url-pattern>/s/*</url-pattern>
|
399
|
+
</filter-mapping>
|
400
|
+
|
401
|
+
<filter-mapping>
|
402
|
+
<filter-name>profiling</filter-name>
|
403
|
+
<url-pattern>*.action</url-pattern>
|
404
|
+
</filter-mapping>
|
405
|
+
<filter-mapping>
|
406
|
+
<filter-name>profiling</filter-name>
|
407
|
+
<url-pattern>*.vm</url-pattern>
|
408
|
+
</filter-mapping>
|
409
|
+
<filter-mapping>
|
410
|
+
<filter-name>profiling</filter-name>
|
411
|
+
<url-pattern>/display/*</url-pattern>
|
412
|
+
</filter-mapping>
|
413
|
+
<filter-mapping>
|
414
|
+
<filter-name>profiling</filter-name>
|
415
|
+
<url-pattern>/plugins/servlet/*</url-pattern>
|
416
|
+
</filter-mapping>
|
417
|
+
<filter-mapping>
|
418
|
+
<filter-name>profiling</filter-name>
|
419
|
+
<url-pattern>/download/*</url-pattern>
|
420
|
+
</filter-mapping>
|
421
|
+
<filter-mapping>
|
422
|
+
<filter-name>profiling</filter-name>
|
423
|
+
<url-pattern>/label/*</url-pattern>
|
424
|
+
</filter-mapping>
|
425
|
+
<filter-mapping>
|
426
|
+
<filter-name>profiling</filter-name>
|
427
|
+
<url-pattern>/s/*</url-pattern>
|
428
|
+
</filter-mapping>
|
429
|
+
|
430
|
+
|
431
|
+
<filter-mapping>
|
432
|
+
<filter-name>thread-local-error-collection</filter-name>
|
433
|
+
<url-pattern>*.action</url-pattern>
|
434
|
+
</filter-mapping>
|
435
|
+
<filter-mapping>
|
436
|
+
<filter-name>thread-local-error-collection</filter-name>
|
437
|
+
<url-pattern>*.vm</url-pattern>
|
438
|
+
</filter-mapping>
|
439
|
+
<filter-mapping>
|
440
|
+
<filter-name>thread-local-error-collection</filter-name>
|
441
|
+
<url-pattern>/display/*</url-pattern>
|
442
|
+
</filter-mapping>
|
443
|
+
<filter-mapping>
|
444
|
+
<filter-name>thread-local-error-collection</filter-name>
|
445
|
+
<url-pattern>/plugins/servlet/*</url-pattern>
|
446
|
+
</filter-mapping>
|
447
|
+
<filter-mapping>
|
448
|
+
<filter-name>thread-local-error-collection</filter-name>
|
449
|
+
<url-pattern>/download/*</url-pattern>
|
450
|
+
</filter-mapping>
|
451
|
+
<filter-mapping>
|
452
|
+
<filter-name>thread-local-error-collection</filter-name>
|
453
|
+
<url-pattern>/label/*</url-pattern>
|
454
|
+
</filter-mapping>
|
455
|
+
<filter-mapping>
|
456
|
+
<filter-name>thread-local-error-collection</filter-name>
|
457
|
+
<url-pattern>/s/*</url-pattern>
|
458
|
+
</filter-mapping>
|
459
|
+
<!--filter-mapping>
|
460
|
+
<filter-name>sessioninview</filter-name>
|
461
|
+
<url-pattern>/rpc/*</url-pattern>
|
462
|
+
</filter-mapping-->
|
463
|
+
|
464
|
+
<filter-mapping>
|
465
|
+
<filter-name>sessioninview</filter-name>
|
466
|
+
<url-pattern>*.action</url-pattern>
|
467
|
+
</filter-mapping>
|
468
|
+
<filter-mapping>
|
469
|
+
<filter-name>sessioninview</filter-name>
|
470
|
+
<url-pattern>*.vm</url-pattern>
|
471
|
+
</filter-mapping>
|
472
|
+
<filter-mapping>
|
473
|
+
<filter-name>sessioninview</filter-name>
|
474
|
+
<url-pattern>/display/*</url-pattern>
|
475
|
+
</filter-mapping>
|
476
|
+
<filter-mapping>
|
477
|
+
<filter-name>sessioninview</filter-name>
|
478
|
+
<url-pattern>/plugins/servlet/*</url-pattern>
|
479
|
+
</filter-mapping>
|
480
|
+
<filter-mapping>
|
481
|
+
<filter-name>sessioninview</filter-name>
|
482
|
+
<url-pattern>/label/*</url-pattern>
|
483
|
+
</filter-mapping>
|
484
|
+
<filter-mapping>
|
485
|
+
<filter-name>sessioninview</filter-name>
|
486
|
+
<url-pattern>/dwr/*</url-pattern>
|
487
|
+
</filter-mapping>
|
488
|
+
<filter-mapping>
|
489
|
+
<filter-name>sessioninview</filter-name>
|
490
|
+
<url-pattern>/s/*</url-pattern>
|
491
|
+
</filter-mapping>
|
492
|
+
<filter-mapping>
|
493
|
+
<filter-name>sessioninview</filter-name>
|
494
|
+
<url-pattern>/exportword</url-pattern>
|
495
|
+
</filter-mapping>
|
496
|
+
|
497
|
+
<!-- Wrap the prototype Confluence REST plugin in a transaction, as the REST plugin type does not have effective support
|
498
|
+
for transactions yet. Hopefully non-prototype REST implementations will support transactions properly so we don't
|
499
|
+
have to extend this hack to production code -->
|
500
|
+
<filter-mapping>
|
501
|
+
<filter-name>sessioninview</filter-name>
|
502
|
+
<url-pattern>/rest/*</url-pattern>
|
503
|
+
</filter-mapping>
|
504
|
+
|
505
|
+
<filter-mapping>
|
506
|
+
<filter-name>johnson</filter-name>
|
507
|
+
<url-pattern>*.jsp</url-pattern>
|
508
|
+
</filter-mapping>
|
509
|
+
<filter-mapping>
|
510
|
+
<filter-name>johnson</filter-name>
|
511
|
+
<url-pattern>*.vm</url-pattern>
|
512
|
+
</filter-mapping>
|
513
|
+
<filter-mapping>
|
514
|
+
<filter-name>johnson</filter-name>
|
515
|
+
<url-pattern>/display/*</url-pattern>
|
516
|
+
</filter-mapping>
|
517
|
+
<filter-mapping>
|
518
|
+
<filter-name>johnson</filter-name>
|
519
|
+
<url-pattern>/download/*</url-pattern>
|
520
|
+
</filter-mapping>
|
521
|
+
<filter-mapping>
|
522
|
+
<filter-name>johnson</filter-name>
|
523
|
+
<url-pattern>/label/*</url-pattern>
|
524
|
+
</filter-mapping>
|
525
|
+
<filter-mapping>
|
526
|
+
<filter-name>johnson</filter-name>
|
527
|
+
<url-pattern>*.action</url-pattern>
|
528
|
+
</filter-mapping>
|
529
|
+
<filter-mapping>
|
530
|
+
<filter-name>johnson</filter-name>
|
531
|
+
<url-pattern>/plugins/servlet/*</url-pattern>
|
532
|
+
</filter-mapping>
|
533
|
+
<filter-mapping>
|
534
|
+
<filter-name>johnson</filter-name>
|
535
|
+
<url-pattern>/s/*</url-pattern>
|
536
|
+
</filter-mapping>
|
537
|
+
|
538
|
+
<filter-mapping>
|
539
|
+
<filter-name>ClusterHeaderFilter</filter-name>
|
540
|
+
<url-pattern>/*</url-pattern>
|
541
|
+
</filter-mapping>
|
542
|
+
|
543
|
+
<filter-mapping>
|
544
|
+
<filter-name>filter-plugin-dispatcher-before-login</filter-name>
|
545
|
+
<url-pattern>/*</url-pattern>
|
546
|
+
</filter-mapping>
|
547
|
+
|
548
|
+
<filter-mapping>
|
549
|
+
<filter-name>login</filter-name>
|
550
|
+
<url-pattern>/*</url-pattern>
|
551
|
+
</filter-mapping>
|
552
|
+
|
553
|
+
<!-- This must come after the login filter -->
|
554
|
+
<filter-mapping>
|
555
|
+
<filter-name>trustedapp</filter-name>
|
556
|
+
<url-pattern>/*</url-pattern>
|
557
|
+
</filter-mapping>
|
558
|
+
|
559
|
+
<filter-mapping>
|
560
|
+
<filter-name>security</filter-name>
|
561
|
+
<url-pattern>/*</url-pattern>
|
562
|
+
</filter-mapping>
|
563
|
+
|
564
|
+
<!-- Must go after seraph -->
|
565
|
+
<filter-mapping>
|
566
|
+
<filter-name>userthreadlocal</filter-name>
|
567
|
+
<url-pattern>*.action</url-pattern>
|
568
|
+
</filter-mapping>
|
569
|
+
<filter-mapping>
|
570
|
+
<filter-name>userthreadlocal</filter-name>
|
571
|
+
<url-pattern>*.vm</url-pattern>
|
572
|
+
</filter-mapping>
|
573
|
+
<filter-mapping>
|
574
|
+
<filter-name>userthreadlocal</filter-name>
|
575
|
+
<url-pattern>/display/*</url-pattern>
|
576
|
+
</filter-mapping>
|
577
|
+
<filter-mapping>
|
578
|
+
<filter-name>userthreadlocal</filter-name>
|
579
|
+
<url-pattern>/label/*</url-pattern>
|
580
|
+
</filter-mapping>
|
581
|
+
<filter-mapping>
|
582
|
+
<filter-name>userthreadlocal</filter-name>
|
583
|
+
<url-pattern>/dwr/*</url-pattern>
|
584
|
+
</filter-mapping>
|
585
|
+
<filter-mapping>
|
586
|
+
<filter-name>userthreadlocal</filter-name>
|
587
|
+
<url-pattern>/exportword</url-pattern>
|
588
|
+
</filter-mapping>
|
589
|
+
<filter-mapping>
|
590
|
+
<filter-name>userthreadlocal</filter-name>
|
591
|
+
<url-pattern>/s/*</url-pattern>
|
592
|
+
</filter-mapping>
|
593
|
+
|
594
|
+
<filter-mapping>
|
595
|
+
<filter-name>threadLocalCache</filter-name>
|
596
|
+
<url-pattern>*.action</url-pattern>
|
597
|
+
</filter-mapping>
|
598
|
+
<filter-mapping>
|
599
|
+
<filter-name>threadLocalCache</filter-name>
|
600
|
+
<url-pattern>*.vm</url-pattern>
|
601
|
+
</filter-mapping>
|
602
|
+
<filter-mapping>
|
603
|
+
<filter-name>threadLocalCache</filter-name>
|
604
|
+
<url-pattern>/display/*</url-pattern>
|
605
|
+
</filter-mapping>
|
606
|
+
<filter-mapping>
|
607
|
+
<filter-name>threadLocalCache</filter-name>
|
608
|
+
<url-pattern>/label/*</url-pattern>
|
609
|
+
</filter-mapping>
|
610
|
+
<filter-mapping>
|
611
|
+
<filter-name>threadLocalCache</filter-name>
|
612
|
+
<url-pattern>/dwr/*</url-pattern>
|
613
|
+
</filter-mapping>
|
614
|
+
<filter-mapping>
|
615
|
+
<filter-name>threadLocalCache</filter-name>
|
616
|
+
<url-pattern>/exportword</url-pattern>
|
617
|
+
</filter-mapping>
|
618
|
+
<filter-mapping>
|
619
|
+
<filter-name>threadLocalCache</filter-name>
|
620
|
+
<url-pattern>/rpc/*</url-pattern>
|
621
|
+
</filter-mapping>
|
622
|
+
<filter-mapping>
|
623
|
+
<filter-name>threadLocalCache</filter-name>
|
624
|
+
<url-pattern>/s/*</url-pattern>
|
625
|
+
</filter-mapping>
|
626
|
+
|
627
|
+
<filter-mapping>
|
628
|
+
<filter-name>LoggingContextFilter</filter-name>
|
629
|
+
<url-pattern>/*</url-pattern>
|
630
|
+
</filter-mapping>
|
631
|
+
|
632
|
+
<filter-mapping>
|
633
|
+
<filter-name>servletcontextthreadlocal</filter-name>
|
634
|
+
<url-pattern>*.action</url-pattern>
|
635
|
+
</filter-mapping>
|
636
|
+
<filter-mapping>
|
637
|
+
<filter-name>servletcontextthreadlocal</filter-name>
|
638
|
+
<url-pattern>*.vm</url-pattern>
|
639
|
+
</filter-mapping>
|
640
|
+
<filter-mapping>
|
641
|
+
<filter-name>servletcontextthreadlocal</filter-name>
|
642
|
+
<url-pattern>/display/*</url-pattern>
|
643
|
+
</filter-mapping>
|
644
|
+
<filter-mapping>
|
645
|
+
<filter-name>servletcontextthreadlocal</filter-name>
|
646
|
+
<url-pattern>/label/*</url-pattern>
|
647
|
+
</filter-mapping>
|
648
|
+
<filter-mapping>
|
649
|
+
<filter-name>servletcontextthreadlocal</filter-name>
|
650
|
+
<url-pattern>/dwr/*</url-pattern>
|
651
|
+
</filter-mapping>
|
652
|
+
<filter-mapping>
|
653
|
+
<filter-name>servletcontextthreadlocal</filter-name>
|
654
|
+
<url-pattern>/rpc/*</url-pattern>
|
655
|
+
</filter-mapping>
|
656
|
+
<filter-mapping>
|
657
|
+
<filter-name>servletcontextthreadlocal</filter-name>
|
658
|
+
<url-pattern>/s/*</url-pattern>
|
659
|
+
</filter-mapping>
|
660
|
+
<filter-mapping>
|
661
|
+
<filter-name>servletcontextthreadlocal</filter-name>
|
662
|
+
<url-pattern>/rest/*</url-pattern>
|
663
|
+
</filter-mapping>
|
664
|
+
<filter-mapping>
|
665
|
+
<filter-name>jmx</filter-name>
|
666
|
+
<url-pattern>*.action</url-pattern>
|
667
|
+
</filter-mapping>
|
668
|
+
<filter-mapping>
|
669
|
+
<filter-name>jmx</filter-name>
|
670
|
+
<url-pattern>/display/*</url-pattern>
|
671
|
+
</filter-mapping>
|
672
|
+
|
673
|
+
<filter-mapping>
|
674
|
+
<filter-name>filter-plugin-dispatcher-before-decoration</filter-name>
|
675
|
+
<url-pattern>/*</url-pattern>
|
676
|
+
</filter-mapping>
|
677
|
+
|
678
|
+
<filter-mapping>
|
679
|
+
<filter-name>sitemesh</filter-name>
|
680
|
+
<url-pattern>/*</url-pattern>
|
681
|
+
</filter-mapping>
|
682
|
+
|
683
|
+
<filter-mapping>
|
684
|
+
<filter-name>expires-one-hour</filter-name>
|
685
|
+
<url-pattern>*.js</url-pattern>
|
686
|
+
</filter-mapping>
|
687
|
+
|
688
|
+
<!--<filter-mapping>
|
689
|
+
<filter-name>expires-one-hour</filter-name>
|
690
|
+
<url-pattern>*.css</url-pattern>
|
691
|
+
</filter-mapping>-->
|
692
|
+
|
693
|
+
<!-- the following plugin filter should be the last one in the chain -->
|
694
|
+
<filter-mapping>
|
695
|
+
<filter-name>filter-plugin-dispatcher-before-dispatch</filter-name>
|
696
|
+
<url-pattern>/*</url-pattern>
|
697
|
+
</filter-mapping>
|
698
|
+
|
699
|
+
<!-- ============================================================ -->
|
700
|
+
<!-- Servlet Context Listeners (Executed on app startup/shutdown) -->
|
701
|
+
<!-- ============================================================ -->
|
702
|
+
|
703
|
+
<!-- Cleans up JavaBeans introspection caches on app shutdown, so that the classes and classloaders can be
|
704
|
+
garbage-collected properly -->
|
705
|
+
<listener>
|
706
|
+
<listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class>
|
707
|
+
</listener>
|
708
|
+
|
709
|
+
<!-- Load initial minimal configuration and bootstrap the application ready for setup -->
|
710
|
+
<listener>
|
711
|
+
<listener-class>com.atlassian.confluence.setup.ConfluenceConfigurationListener</listener-class>
|
712
|
+
</listener>
|
713
|
+
|
714
|
+
<!-- Bring up the rest of the application if it is already set up -->
|
715
|
+
<listener>
|
716
|
+
<listener-class>com.atlassian.config.bootstrap.BootstrappedContextLoaderListener</listener-class>
|
717
|
+
</listener>
|
718
|
+
|
719
|
+
<!-- Check for the confluence.i18n.reloadbundles system property. If set, do not cache the localized
|
720
|
+
.properties files. -->
|
721
|
+
<listener>
|
722
|
+
<listener-class>com.atlassian.confluence.languages.ReloadBundlesContextListener</listener-class>
|
723
|
+
</listener>
|
724
|
+
|
725
|
+
<listener>
|
726
|
+
<listener-class>com.atlassian.confluence.setup.ValidLicenseContextListener</listener-class>
|
727
|
+
</listener>
|
728
|
+
|
729
|
+
<!-- Upgrades must have been performed before we run the lifecycle plugins, or the plugin manager won't
|
730
|
+
be started -->
|
731
|
+
<listener>
|
732
|
+
<listener-class>com.atlassian.confluence.upgrade.UpgradeLauncherServletContextListener</listener-class>
|
733
|
+
</listener>
|
734
|
+
|
735
|
+
<!-- Perform remaining configured lifecycle events, if the application is set up -->
|
736
|
+
<listener>
|
737
|
+
<listener-class>com.atlassian.config.lifecycle.LifecycleServletContextListener</listener-class>
|
738
|
+
</listener>
|
739
|
+
|
740
|
+
<!-- ===================================== -->
|
741
|
+
<!-- Other (non servlet-context) listeners -->
|
742
|
+
<!-- ===================================== -->
|
743
|
+
|
744
|
+
<listener>
|
745
|
+
<listener-class>com.atlassian.confluence.user.listeners.UserSessionExpiryListener</listener-class>
|
746
|
+
</listener>
|
747
|
+
|
748
|
+
<!-- ======== -->
|
749
|
+
<!-- Servlets -->
|
750
|
+
<!-- ======== -->
|
751
|
+
|
752
|
+
<servlet>
|
753
|
+
<servlet-name>action</servlet-name>
|
754
|
+
<servlet-class>com.atlassian.confluence.servlet.ConfluenceServletDispatcher</servlet-class>
|
755
|
+
<load-on-startup>1</load-on-startup>
|
756
|
+
</servlet>
|
757
|
+
|
758
|
+
<servlet>
|
759
|
+
<servlet-name>velocity</servlet-name>
|
760
|
+
<servlet-class>com.atlassian.confluence.servlet.ConfluenceVelocityServlet</servlet-class>
|
761
|
+
<load-on-startup>2</load-on-startup>
|
762
|
+
</servlet>
|
763
|
+
|
764
|
+
<servlet>
|
765
|
+
<servlet-name>simple-display</servlet-name>
|
766
|
+
<servlet-class>com.atlassian.confluence.servlet.SpringManagedServlet</servlet-class>
|
767
|
+
<init-param>
|
768
|
+
<param-name>springComponentName</param-name>
|
769
|
+
<param-value>simpleDisplayServlet</param-value>
|
770
|
+
</init-param>
|
771
|
+
<load-on-startup>3</load-on-startup>
|
772
|
+
</servlet>
|
773
|
+
|
774
|
+
<servlet>
|
775
|
+
<servlet-name>tiny-url</servlet-name>
|
776
|
+
<servlet-class>com.atlassian.confluence.servlet.TinyUrlServlet</servlet-class>
|
777
|
+
<load-on-startup>3</load-on-startup>
|
778
|
+
</servlet>
|
779
|
+
|
780
|
+
<servlet>
|
781
|
+
<servlet-name>file-server</servlet-name>
|
782
|
+
<servlet-class>com.atlassian.confluence.servlet.FileServerServlet</servlet-class>
|
783
|
+
<load-on-startup>4</load-on-startup>
|
784
|
+
</servlet>
|
785
|
+
|
786
|
+
<servlet>
|
787
|
+
<servlet-name>xmlrpc</servlet-name>
|
788
|
+
<servlet-class>com.atlassian.confluence.servlet.SpringManagedServlet</servlet-class>
|
789
|
+
<init-param>
|
790
|
+
<param-name>springComponentName</param-name>
|
791
|
+
<param-value>xmlRpcServer</param-value>
|
792
|
+
</init-param>
|
793
|
+
<load-on-startup>6</load-on-startup>
|
794
|
+
</servlet>
|
795
|
+
|
796
|
+
<servlet>
|
797
|
+
<servlet-name>trackback</servlet-name>
|
798
|
+
<servlet-class>com.atlassian.trackback.TrackbackListenerServlet</servlet-class>
|
799
|
+
<init-param>
|
800
|
+
<param-name>trackbackStore</param-name>
|
801
|
+
<param-value>com.atlassian.confluence.links.persistence.ConfluenceTrackbackStore</param-value>
|
802
|
+
</init-param>
|
803
|
+
<load-on-startup>7</load-on-startup>
|
804
|
+
</servlet>
|
805
|
+
|
806
|
+
<servlet>
|
807
|
+
<servlet-name>glue-soap</servlet-name>
|
808
|
+
<servlet-class>com.atlassian.confluence.servlet.SpringManagedServlet</servlet-class>
|
809
|
+
<init-param>
|
810
|
+
<param-name>springComponentName</param-name>
|
811
|
+
<param-value>glueSoapServer</param-value>
|
812
|
+
</init-param>
|
813
|
+
<load-on-startup>8</load-on-startup>
|
814
|
+
</servlet>
|
815
|
+
|
816
|
+
<servlet>
|
817
|
+
<servlet-name>axis-soap</servlet-name>
|
818
|
+
<servlet-class>com.atlassian.confluence.servlet.SpringManagedServlet</servlet-class>
|
819
|
+
<init-param>
|
820
|
+
<param-name>springComponentName</param-name>
|
821
|
+
<param-value>axisSoapServer</param-value>
|
822
|
+
</init-param>
|
823
|
+
<load-on-startup>8</load-on-startup>
|
824
|
+
</servlet>
|
825
|
+
|
826
|
+
<servlet>
|
827
|
+
<servlet-name>servlet-module-container-servlet</servlet-name>
|
828
|
+
<servlet-class>com.atlassian.confluence.servlet.ServletModuleContainerServlet</servlet-class>
|
829
|
+
<load-on-startup>9</load-on-startup>
|
830
|
+
</servlet>
|
831
|
+
|
832
|
+
<servlet>
|
833
|
+
<servlet-name>css</servlet-name>
|
834
|
+
<servlet-class>com.atlassian.confluence.servlet.CssServlet</servlet-class>
|
835
|
+
<load-on-startup>10</load-on-startup>
|
836
|
+
</servlet>
|
837
|
+
|
838
|
+
<!-- Keep this servlet as the last to load -->
|
839
|
+
<servlet>
|
840
|
+
<servlet-name>final-servlet</servlet-name>
|
841
|
+
<servlet-class>com.atlassian.confluence.servlet.ReadyToServeServlet</servlet-class>
|
842
|
+
<load-on-startup>100</load-on-startup>
|
843
|
+
</servlet>
|
844
|
+
|
845
|
+
<servlet>
|
846
|
+
<servlet-name>dwr-invoker</servlet-name>
|
847
|
+
<servlet-class>com.atlassian.confluence.servlet.SetupCheckingDwrServlet</servlet-class>
|
848
|
+
<init-param>
|
849
|
+
<param-name>debug</param-name>
|
850
|
+
<param-value>false</param-value>
|
851
|
+
</init-param>
|
852
|
+
<init-param>
|
853
|
+
<param-name>maxCallCount</param-name>
|
854
|
+
<param-value>5</param-value>
|
855
|
+
</init-param>
|
856
|
+
<init-param>
|
857
|
+
<param-name>url:/interface</param-name>
|
858
|
+
<param-value>com.atlassian.confluence.servlet.ConfluenceInterfaceHandler</param-value>
|
859
|
+
</init-param>
|
860
|
+
</servlet>
|
861
|
+
|
862
|
+
<servlet>
|
863
|
+
<servlet-name>labels</servlet-name>
|
864
|
+
<servlet-class>com.atlassian.confluence.servlet.LabelServlet</servlet-class>
|
865
|
+
</servlet>
|
866
|
+
|
867
|
+
<servlet>
|
868
|
+
<servlet-name>jcaptcha</servlet-name>
|
869
|
+
<servlet-class>com.atlassian.confluence.servlet.ImageCaptchaServlet</servlet-class>
|
870
|
+
<load-on-startup>0</load-on-startup>
|
871
|
+
</servlet>
|
872
|
+
|
873
|
+
<servlet>
|
874
|
+
<servlet-name>exportword</servlet-name>
|
875
|
+
<servlet-class>com.atlassian.confluence.servlet.SpringManagedServlet</servlet-class>
|
876
|
+
<init-param>
|
877
|
+
<param-name>springComponentName</param-name>
|
878
|
+
<param-value>exportWordPageServer</param-value>
|
879
|
+
</init-param>
|
880
|
+
</servlet>
|
881
|
+
|
882
|
+
<!-- Dummy servlet for CONF-7953. Used for mapping URLs which have no target servlet but need to be filtered -->
|
883
|
+
<servlet>
|
884
|
+
<servlet-name>noop</servlet-name>
|
885
|
+
<servlet-class>com.atlassian.confluence.servlet.ConfluenceNoOpServlet</servlet-class>
|
886
|
+
<load-on-startup>0</load-on-startup>
|
887
|
+
</servlet>
|
888
|
+
|
889
|
+
<servlet-mapping>
|
890
|
+
<servlet-name>dwr-invoker</servlet-name>
|
891
|
+
<url-pattern>/dwr/*</url-pattern>
|
892
|
+
</servlet-mapping>
|
893
|
+
|
894
|
+
<servlet-mapping>
|
895
|
+
<servlet-name>action</servlet-name>
|
896
|
+
<url-pattern>*.action</url-pattern>
|
897
|
+
</servlet-mapping>
|
898
|
+
|
899
|
+
<!--
|
900
|
+
we pretty much have to map all CSS files to the action servlet, as a result
|
901
|
+
of a fun collaboration of an IE bug, and the short-sightedness of the servlet
|
902
|
+
spec.
|
903
|
+
-->
|
904
|
+
<servlet-mapping>
|
905
|
+
<servlet-name>css</servlet-name>
|
906
|
+
<url-pattern>*.css</url-pattern>
|
907
|
+
</servlet-mapping>
|
908
|
+
|
909
|
+
<servlet-mapping>
|
910
|
+
<servlet-name>velocity</servlet-name>
|
911
|
+
<url-pattern>*.vm</url-pattern>
|
912
|
+
</servlet-mapping>
|
913
|
+
|
914
|
+
<servlet-mapping>
|
915
|
+
<servlet-name>simple-display</servlet-name>
|
916
|
+
<url-pattern>/display/*</url-pattern>
|
917
|
+
</servlet-mapping>
|
918
|
+
|
919
|
+
<servlet-mapping>
|
920
|
+
<servlet-name>tiny-url</servlet-name>
|
921
|
+
<url-pattern>/x/*</url-pattern>
|
922
|
+
</servlet-mapping>
|
923
|
+
|
924
|
+
<servlet-mapping>
|
925
|
+
<servlet-name>file-server</servlet-name>
|
926
|
+
<url-pattern>/download/*</url-pattern>
|
927
|
+
</servlet-mapping>
|
928
|
+
|
929
|
+
<servlet-mapping>
|
930
|
+
<servlet-name>xmlrpc</servlet-name>
|
931
|
+
<url-pattern>/rpc/xmlrpc</url-pattern>
|
932
|
+
</servlet-mapping>
|
933
|
+
|
934
|
+
<servlet-mapping>
|
935
|
+
<servlet-name>trackback</servlet-name>
|
936
|
+
<url-pattern>/rpc/trackback/*</url-pattern>
|
937
|
+
</servlet-mapping>
|
938
|
+
|
939
|
+
<servlet-mapping>
|
940
|
+
<servlet-name>glue-soap</servlet-name>
|
941
|
+
<url-pattern>/rpc/soap/*</url-pattern>
|
942
|
+
</servlet-mapping>
|
943
|
+
|
944
|
+
<servlet-mapping>
|
945
|
+
<servlet-name>glue-soap</servlet-name>
|
946
|
+
<url-pattern>/rpc/soap-glue/*</url-pattern>
|
947
|
+
</servlet-mapping>
|
948
|
+
|
949
|
+
<servlet-mapping>
|
950
|
+
<servlet-name>axis-soap</servlet-name>
|
951
|
+
<url-pattern>/rpc/soap-axis/*</url-pattern>
|
952
|
+
</servlet-mapping>
|
953
|
+
|
954
|
+
<servlet-mapping>
|
955
|
+
<servlet-name>servlet-module-container-servlet</servlet-name>
|
956
|
+
<url-pattern>/plugins/servlet/*</url-pattern>
|
957
|
+
</servlet-mapping>
|
958
|
+
|
959
|
+
<servlet-mapping>
|
960
|
+
<servlet-name>labels</servlet-name>
|
961
|
+
<url-pattern>/label/*</url-pattern>
|
962
|
+
</servlet-mapping>
|
963
|
+
|
964
|
+
<servlet-mapping>
|
965
|
+
<servlet-name>jcaptcha</servlet-name>
|
966
|
+
<url-pattern>/jcaptcha/*</url-pattern>
|
967
|
+
</servlet-mapping>
|
968
|
+
|
969
|
+
<servlet-mapping>
|
970
|
+
<servlet-name>exportword</servlet-name>
|
971
|
+
<url-pattern>/exportword</url-pattern>
|
972
|
+
</servlet-mapping>
|
973
|
+
|
974
|
+
<servlet-mapping>
|
975
|
+
<servlet-name>noop</servlet-name>
|
976
|
+
<url-pattern>/s/*</url-pattern>
|
977
|
+
</servlet-mapping>
|
978
|
+
|
979
|
+
<!--
|
980
|
+
Noop filter mapping for the trusted app certificate which is serviced exclusively by the Seraph trusted app filter.
|
981
|
+
This servlet mapping is necessary for Websphere 6.1 which still likes to forward the request to a servlet even if
|
982
|
+
the filter chain is not fully followed.
|
983
|
+
-->
|
984
|
+
<servlet-mapping>
|
985
|
+
<servlet-name>noop</servlet-name>
|
986
|
+
<url-pattern>/admin/appTrustCertificate</url-pattern>
|
987
|
+
</servlet-mapping>
|
988
|
+
|
989
|
+
<!--
|
990
|
+
As the REST module is implemented using only a filter this noop servlet is required (CONF-17578)
|
991
|
+
-->
|
992
|
+
<servlet-mapping>
|
993
|
+
<servlet-name>noop</servlet-name>
|
994
|
+
<url-pattern>/rest/*</url-pattern>
|
995
|
+
</servlet-mapping>
|
996
|
+
|
997
|
+
<session-config>
|
998
|
+
<session-timeout>60</session-timeout>
|
999
|
+
</session-config>
|
1000
|
+
|
1001
|
+
<welcome-file-list>
|
1002
|
+
<welcome-file>default.jsp</welcome-file>
|
1003
|
+
</welcome-file-list>
|
1004
|
+
|
1005
|
+
<!-- redirect all 500 errors to confluence error page -->
|
1006
|
+
<error-page>
|
1007
|
+
<error-code>500</error-code>
|
1008
|
+
<location>/500page.jsp</location>
|
1009
|
+
</error-page>
|
1010
|
+
|
1011
|
+
<error-page>
|
1012
|
+
<error-code>404</error-code>
|
1013
|
+
<location>/fourohfour.action</location>
|
1014
|
+
</error-page>
|
1015
|
+
|
1016
|
+
</web-app>
|