View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-documentation/hst_docs/trunk/cms/src/main/webapp/WEB-INF/web.xml
Revision: 23935
Committed: Wed Sep 15 12:21:08 2010 UTC (11 years, 9 months ago) by lswartsenburg
Content type: text/xml
File size: 5345 byte(s)
Log Message:
PRODDOCS-32

CMS draaiende krijgen

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * Copyright 2008,2009 Hippo
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 -->
17 <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 version="2.5"
19 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
20 id="hippo-ecm">
21
22 <!-- General configuration -->
23 <display-name>Hippo ECM WAR package</display-name>
24 <description>Hippo ECM WAR package</description>
25
26 <context-param>
27 <param-name>repository-address</param-name>
28 <param-value>rmi://localhost:1099/hipporepository</param-value>
29 <description>The address of the repository</description>
30 </context-param>
31
32 <!--Default application-->
33 <filter>
34 <filter-name>ConcurrentLogin</filter-name>
35 <filter-class>org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter</filter-class>
36 </filter>
37 <filter>
38 <filter-name>CMS</filter-name>
39 <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
40 <init-param>
41 <param-name>applicationClassName</param-name>
42 <param-value>org.hippoecm.frontend.Main</param-value>
43 </init-param>
44 <init-param>
45 <param-name>filterMappingUrlPattern</param-name>
46 <param-value>/*</param-value>
47 </init-param>
48 <init-param>
49 <param-name>configuration</param-name>
50 <param-value>deployment</param-value>
51 </init-param>
52 <init-param>
53 <param-name>repository-address</param-name>
54 <param-value>vm://</param-value>
55 </init-param>
56 </filter>
57
58 <!--Builtin console-->
59 <filter>
60 <filter-name>Console</filter-name>
61 <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
62 <init-param>
63 <param-name>applicationClassName</param-name>
64 <param-value>org.hippoecm.frontend.Main</param-value>
65 </init-param>
66 <init-param>
67 <param-name>config</param-name>
68 <param-value>console</param-value>
69 </init-param>
70 <init-param>
71 <param-name>configuration</param-name>
72 <param-value>deployment</param-value>
73 </init-param>
74 <init-param>
75 <param-name>repository-address</param-name>
76 <param-value>vm://</param-value>
77 </init-param>
78 </filter>
79
80 <filter-mapping>
81 <filter-name>ConcurrentLogin</filter-name>
82 <url-pattern>/*</url-pattern>
83 </filter-mapping>
84 <filter-mapping>
85 <filter-name>CMS</filter-name>
86 <url-pattern>/*</url-pattern>
87 </filter-mapping>
88
89 <filter-mapping>
90 <filter-name>Console</filter-name>
91 <url-pattern>/console/*</url-pattern>
92 </filter-mapping>
93
94 <listener>
95 <listener-class>org.hippoecm.frontend.plugins.login.ConcurrentLoginListener</listener-class>
96 </listener>
97
98 <servlet>
99 <servlet-name>StatusServlet</servlet-name>
100 <servlet-class>org.hippoecm.repository.StatusServlet</servlet-class>
101 <load-on-startup>2</load-on-startup>
102 </servlet>
103
104 <servlet>
105 <servlet-name>LoggingServlet</servlet-name>
106 <servlet-class>org.hippoecm.repository.LoggingServlet</servlet-class>
107 <load-on-startup>3</load-on-startup>
108 </servlet>
109
110 <!-- Repository -->
111 <servlet>
112 <servlet-name>Repository</servlet-name>
113 <servlet-class>org.hippoecm.repository.RepositoryServlet</servlet-class>
114 <init-param>
115 <param-name>repository-directory</param-name>
116 <param-value>WEB-INF/storage</param-value>
117 <description>The (relative) location where to store files</description>
118 </init-param>
119 <init-param>
120 <param-name>repository-config</param-name>
121 <param-value>repository.xml</param-value>
122 <description>The location of the repository configuration file. Unless the location
123 starts with file://, the location is retrieved from within the application package as
124 resource.</description>
125 </init-param>
126 <load-on-startup>4</load-on-startup>
127 </servlet>
128
129 <servlet-mapping>
130 <servlet-name>StatusServlet</servlet-name>
131 <url-pattern>/status/*</url-pattern>
132 </servlet-mapping>
133
134 <servlet-mapping>
135 <servlet-name>LoggingServlet</servlet-name>
136 <url-pattern>/logging/*</url-pattern>
137 </servlet-mapping>
138
139 <servlet-mapping>
140 <servlet-name>Repository</servlet-name>
141 <url-pattern>/repository/*</url-pattern>
142 </servlet-mapping>
143
144 <!-- Timeout in minutes -->
145 <session-config>
146 <session-timeout>60</session-timeout>
147 </session-config>
148
149 </web-app>