1 |
jhoffman |
58810 |
<?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 2007 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 |
|
|
|
20 |
|
|
<!-- General configuration --> |
21 |
|
|
<display-name>Hippo ECM WAR package</display-name> |
22 |
|
|
<description>Hippo ECM WAR package</description> |
23 |
|
|
|
24 |
|
|
<context-param> |
25 |
|
|
<param-name>repository-address</param-name> |
26 |
|
|
<param-value>rmi://localhost:1099/hipporepository</param-value> |
27 |
|
|
<description>The address of the repository</description> |
28 |
|
|
</context-param> |
29 |
|
|
|
30 |
|
|
<!--Default application--> |
31 |
|
|
<filter> |
32 |
|
|
<filter-name>ConcurrentLogin</filter-name> |
33 |
|
|
<filter-class>org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter</filter-class> |
34 |
|
|
</filter> |
35 |
|
|
<filter> |
36 |
|
|
<filter-name>CMS</filter-name> |
37 |
|
|
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> |
38 |
|
|
<init-param> |
39 |
|
|
<param-name>applicationClassName</param-name> |
40 |
|
|
<param-value>org.hippoecm.frontend.Main</param-value> |
41 |
|
|
</init-param> |
42 |
|
|
<init-param> |
43 |
|
|
<param-name>filterMappingUrlPattern</param-name> |
44 |
|
|
<param-value>/*</param-value> |
45 |
|
|
</init-param> |
46 |
|
|
<init-param> |
47 |
|
|
<param-name>configuration</param-name> |
48 |
|
|
<param-value>development</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>upload-limit</param-name> |
56 |
|
|
<param-value>4096k</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>builtin</param-value> |
71 |
|
|
</init-param> |
72 |
|
|
<init-param> |
73 |
|
|
<param-name>configuration</param-name> |
74 |
|
|
<param-value>development</param-value> |
75 |
|
|
</init-param> |
76 |
|
|
<init-param> |
77 |
|
|
<param-name>repository-address</param-name> |
78 |
|
|
<param-value>vm://</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 |
|
|
|
91 |
|
|
<filter-mapping> |
92 |
|
|
<filter-name>Console</filter-name> |
93 |
|
|
<url-pattern>/console/*</url-pattern> |
94 |
|
|
</filter-mapping> |
95 |
|
|
|
96 |
|
|
<listener> |
97 |
|
|
<listener-class>org.hippoecm.frontend.plugins.login.ConcurrentLoginListener</listener-class> |
98 |
|
|
</listener> |
99 |
|
|
|
100 |
|
|
<servlet> |
101 |
|
|
<servlet-name>StatusServlet</servlet-name> |
102 |
|
|
<servlet-class>org.hippoecm.repository.StatusServlet</servlet-class> |
103 |
|
|
<load-on-startup>2</load-on-startup> |
104 |
|
|
</servlet> |
105 |
|
|
|
106 |
|
|
<servlet> |
107 |
|
|
<servlet-name>LoggingServlet</servlet-name> |
108 |
|
|
<servlet-class>org.hippoecm.repository.LoggingServlet</servlet-class> |
109 |
|
|
<load-on-startup>3</load-on-startup> |
110 |
|
|
</servlet> |
111 |
|
|
|
112 |
|
|
<!-- Repository --> |
113 |
|
|
<servlet> |
114 |
|
|
<servlet-name>Repository</servlet-name> |
115 |
|
|
<servlet-class>org.hippoecm.repository.RepositoryServlet</servlet-class> |
116 |
|
|
<init-param> |
117 |
|
|
<param-name>repository-directory</param-name> |
118 |
|
|
<param-value>WEB-INF/storage</param-value> |
119 |
|
|
<description>The (relative) location where to store files</description> |
120 |
|
|
</init-param> |
121 |
|
|
<init-param> |
122 |
|
|
<param-name>repository-config</param-name> |
123 |
|
|
<param-value>repository.xml</param-value> |
124 |
|
|
<description>The location of the repository configuration file. Unless the location |
125 |
|
|
starts with file://, the location is retrieved from within the application package as |
126 |
|
|
resource.</description> |
127 |
|
|
</init-param> |
128 |
|
|
<load-on-startup>4</load-on-startup> |
129 |
|
|
</servlet> |
130 |
|
|
|
131 |
|
|
<servlet-mapping> |
132 |
|
|
<servlet-name>StatusServlet</servlet-name> |
133 |
|
|
<url-pattern>/status/*</url-pattern> |
134 |
|
|
</servlet-mapping> |
135 |
|
|
|
136 |
|
|
<servlet-mapping> |
137 |
|
|
<servlet-name>LoggingServlet</servlet-name> |
138 |
|
|
<url-pattern>/logging/*</url-pattern> |
139 |
|
|
</servlet-mapping> |
140 |
|
|
|
141 |
|
|
<servlet-mapping> |
142 |
|
|
<servlet-name>Repository</servlet-name> |
143 |
|
|
<url-pattern>/repository/*</url-pattern> |
144 |
|
|
</servlet-mapping> |
145 |
|
|
|
146 |
|
|
<!-- Timeout in minutes --> |
147 |
|
|
<session-config> |
148 |
|
|
<session-timeout>60</session-timeout> |
149 |
|
|
</session-config> |
150 |
|
|
|
151 |
|
|
<!-- |
152 |
|
|
<resource-ref> |
153 |
|
|
<res-ref-name>jdbc/hreptwo</res-ref-name> |
154 |
|
|
<res-type>javax.sql.DataSource</res-type> |
155 |
|
|
<res-auth>Container</res-auth> |
156 |
|
|
</resource-ref> |
157 |
|
|
--> |
158 |
|
|
|
159 |
|
|
</web-app> |