View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-documentation/hst_docs/tags/Release-HSTTWODOCS-v1_01_16/package/tomcat-cms/src/main/webapp/WEB-INF/web.xml
Revision: 22836
Committed: Fri May 21 13:52:30 2010 UTC (9 years, 3 months ago) by bvdschans
Content type: text/xml
File size: 5428 byte(s)
Log Message:
HSTTWODOCS-286: copy for tag Release-HSTTWODOCS-v1_01_16

File Contents

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