Revision 5036
Added by daigle about 15 years ago
lib/workflowscheduler.properties.metadata.xml | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
|
|
3 |
<metadataConfig> |
|
4 |
<group> |
|
5 |
<index>1</index> |
|
6 |
<name>Database</name> |
|
7 |
<description>Database Configuration Values.</description> |
|
8 |
</group> |
|
9 |
<group> |
|
10 |
<index>2</index> |
|
11 |
<name>Server Configuration</name> |
|
12 |
<description>Server Configuration Values.</description> |
|
13 |
</group> |
|
14 |
<group> |
|
15 |
<index>3</index> |
|
16 |
<name>Application Configuration</name> |
|
17 |
<description>Application Configuration Values.</description> |
|
18 |
</group> |
|
19 |
<group> |
|
20 |
<index>4</index> |
|
21 |
<name>Data Manager Configuration</name> |
|
22 |
<description>Data Manager Configuration Values.</description> |
|
23 |
</group> |
|
24 |
|
|
25 |
<config> |
|
26 |
<key>database.user</key> |
|
27 |
<label>Database Username</label> |
|
28 |
<group>1</group> |
|
29 |
<index>1</index> |
|
30 |
<description> |
|
31 |
Name of database user to own all tables. |
|
32 |
</description> |
|
33 |
<helpFile>properties.html#database.user</helpFile> |
|
34 |
</config> |
|
35 |
|
|
36 |
<config> |
|
37 |
<key>database.password</key> |
|
38 |
<label>Database Password</label> |
|
39 |
<group>1</group> |
|
40 |
<index>2</index> |
|
41 |
<fieldType>password</fieldType> |
|
42 |
<description>Password for database user.</description> |
|
43 |
<helpFile>properties.html#database.password</helpFile> |
|
44 |
</config> |
|
45 |
|
|
46 |
<config> |
|
47 |
<key>database.type</key> |
|
48 |
<label>Database Type</label> |
|
49 |
<group>1</group> |
|
50 |
<index>3</index> |
|
51 |
<fieldType>select</fieldType> |
|
52 |
<option> |
|
53 |
<name>PostgreSQL</name> |
|
54 |
<value>postgres</value> |
|
55 |
</option> |
|
56 |
<option> |
|
57 |
<name>Oracle</name> |
|
58 |
<value>oracle</value> |
|
59 |
</option> |
|
60 |
<!-- option> |
|
61 |
<name>SQL Server</name> |
|
62 |
<value>sqlserver</value> |
|
63 |
</option --> |
|
64 |
<description>What kind of database is running.</description> |
|
65 |
<helpFile>properties.html#database.type</helpFile> |
|
66 |
</config> |
|
67 |
|
|
68 |
<config> |
|
69 |
<key>database.driver</key> |
|
70 |
<label>Database Driver</label> |
|
71 |
<group>1</group> |
|
72 |
<index>4</index> |
|
73 |
<fieldType>select</fieldType> |
|
74 |
<option> |
|
75 |
<name>org.postgresql.Driver</name> |
|
76 |
<value>org.postgresql.Driver</value> |
|
77 |
</option> |
|
78 |
<option> |
|
79 |
<name>oracle.jdbc.driver.OracleDriver</name> |
|
80 |
<value>oracle.jdbc.driver.OracleDriver</value> |
|
81 |
</option> |
|
82 |
<!-- option> |
|
83 |
<name>com.microsoft.jdbc.sqlserver.SQLServerDriver</name> |
|
84 |
<value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value> |
|
85 |
</option --> |
|
86 |
<description> |
|
87 |
Which driver is required. This should conform to your |
|
88 |
database type. |
|
89 |
</description> |
|
90 |
<helpFile>properties.html#database.driver</helpFile> |
|
91 |
</config> |
|
92 |
|
|
93 |
<config> |
|
94 |
<key>database.adapter</key> |
|
95 |
<label>Database Adapter</label> |
|
96 |
<group>1</group> |
|
97 |
<index>5</index> |
|
98 |
<fieldType>select</fieldType> |
|
99 |
<option> |
|
100 |
<name>edu.ucsb.nceas.dbadapter.PostgresqlAdapter</name> |
|
101 |
<value>edu.ucsb.nceas.dbadapter.PostgresqlAdapter</value> |
|
102 |
</option> |
|
103 |
<option> |
|
104 |
<name>edu.ucsb.nceas.dbadapter.OracleAdapter</name> |
|
105 |
<value>edu.ucsb.nceas.dbadapter.OracleAdapter</value> |
|
106 |
</option> |
|
107 |
<!-- option> |
|
108 |
<name>edu.ucsb.nceas.dbadapter.SqlserverAdapter</name> |
|
109 |
<value>edu.ucsb.nceas.dbadapter.SqlserverAdapter</value> |
|
110 |
</option --> |
|
111 |
<description> |
|
112 |
Which adapter is required. This should conform to your |
|
113 |
database type. |
|
114 |
</description> |
|
115 |
<helpFile>properties.html#database.adapter</helpFile> |
|
116 |
</config> |
|
117 |
|
|
118 |
<config> |
|
119 |
<key>database.connectionURI</key> |
|
120 |
<label>JDBC Connection String</label> |
|
121 |
<group>1</group> |
|
122 |
<index>6</index> |
|
123 |
<description>Database connection string.</description> |
|
124 |
<helpFile>properties.html#database.connectionURI</helpFile> |
|
125 |
</config> |
|
126 |
|
|
127 |
<config> |
|
128 |
<key>server.name</key> |
|
129 |
<label>Server Name</label> |
|
130 |
<group>2</group> |
|
131 |
<index>1</index> |
|
132 |
<description> |
|
133 |
Name of the server where Metacat will be available. |
|
134 |
</description> |
|
135 |
<helpFile>properties.html#server.name</helpFile> |
|
136 |
</config> |
|
137 |
|
|
138 |
<config> |
|
139 |
<key>server.httpPort</key> |
|
140 |
<label>HTTP Port</label> |
|
141 |
<group>2</group> |
|
142 |
<index>2</index> |
|
143 |
<description> |
|
144 |
Non secure port where Metacat will be available. |
|
145 |
</description> |
|
146 |
<helpFile>properties.html#server.httpPort</helpFile> |
|
147 |
</config> |
|
148 |
|
|
149 |
<config> |
|
150 |
<key>server.httpSSLPort</key> |
|
151 |
<label>HTTP SSL Port</label> |
|
152 |
<group>2</group> |
|
153 |
<index>3</index> |
|
154 |
<description> |
|
155 |
Secure port where Metacat will be available. |
|
156 |
</description> |
|
157 |
<helpFile>properties.html#server.httpSSLPort</helpFile> |
|
158 |
</config> |
|
159 |
|
|
160 |
<config> |
|
161 |
<key>application.deployDir</key> |
|
162 |
<label>Deploy Location</label> |
|
163 |
<group>2</group> |
|
164 |
<index>4</index> |
|
165 |
<description> |
|
166 |
The directory where the application is deployed. |
|
167 |
</description> |
|
168 |
<helpFile>properties.html#application.deployDir</helpFile> |
|
169 |
</config> |
|
170 |
|
|
171 |
<config> |
|
172 |
<key>auth.allowedSubmitters</key> |
|
173 |
<label>Allowed Submitters</label> |
|
174 |
<group>3</group> |
|
175 |
<index>1</index> |
|
176 |
<description>Allowed Submitters</description> |
|
177 |
<helpFile>properties.html#auth.allowedSubmitters</helpFile> |
|
178 |
</config> |
|
179 |
|
|
180 |
<config> |
|
181 |
<key>auth.deniedSubmitters</key> |
|
182 |
<label>Denied Submitters</label> |
|
183 |
<group>3</group> |
|
184 |
<index>2</index> |
|
185 |
<description>Denied Submitters</description> |
|
186 |
<helpFile>properties.html#auth.deniedSubmitters</helpFile> |
|
187 |
</config> |
|
188 |
|
|
189 |
<config> |
|
190 |
<key>application.context</key> |
|
191 |
<label>Metacat Context</label> |
|
192 |
<group>3</group> |
|
193 |
<index>3</index> |
|
194 |
<description> |
|
195 |
Name of the context under which Metacat will run. This is |
|
196 |
the directory in which the Metacat war file is deployed. |
|
197 |
</description> |
|
198 |
<helpFile>properties.html#application.context</helpFile> |
|
199 |
</config> |
|
200 |
|
|
201 |
<config> |
|
202 |
<key>application.knbSiteURL</key> |
|
203 |
<label>KNB Site URL</label> |
|
204 |
<group>3</group> |
|
205 |
<index>4</index> |
|
206 |
<description> |
|
207 |
Location of KNB website. Usually left as |
|
208 |
http://knb.ecoinformatics.org |
|
209 |
</description> |
|
210 |
<helpFile>properties.html#application.knbSiteURL</helpFile> |
|
211 |
</config> |
|
212 |
|
|
213 |
<config> |
|
214 |
<key>application.datafilepath</key> |
|
215 |
<label>Data File Path</label> |
|
216 |
<group>3</group> |
|
217 |
<index>5</index> |
|
218 |
<description> |
|
219 |
Where to store data. This should be some location outside |
|
220 |
the knb install direcories. |
|
221 |
</description> |
|
222 |
<helpFile>properties.html#application.datafilepath</helpFile> |
|
223 |
</config> |
|
224 |
|
|
225 |
<config> |
|
226 |
<key>application.inlinedatafilepath</key> |
|
227 |
<label>Inline Data File Path</label> |
|
228 |
<group>3</group> |
|
229 |
<index>6</index> |
|
230 |
<description> |
|
231 |
Where to store inline data. This should be some location |
|
232 |
outside the knb install direcories. |
|
233 |
</description> |
|
234 |
<helpFile>properties.html#application.inlinedatafilepath</helpFile> |
|
235 |
</config> |
|
236 |
|
|
237 |
<config> |
|
238 |
<key>application.documentfilepath</key> |
|
239 |
<label>Document File Path</label> |
|
240 |
<group>3</group> |
|
241 |
<index>7</index> |
|
242 |
<description> |
|
243 |
Where to store metadata documents. This should be some location |
|
244 |
outside the knb install direcories. |
|
245 |
</description> |
|
246 |
<helpFile>properties.html#application.documentfilepath</helpFile> |
|
247 |
</config> |
|
248 |
|
|
249 |
<config> |
|
250 |
<key>application.tempDir</key> |
|
251 |
<label>Temporary File Path</label> |
|
252 |
<group>3</group> |
|
253 |
<index>8</index> |
|
254 |
<description> |
|
255 |
Where to store temporary documents. This is primarily used by |
|
256 |
the data registry code. <font color="red"> Note: this must be |
|
257 |
set to a directory that is dedicated solely to temporary data, |
|
258 |
since the contents may be deleted programatically.</font> |
|
259 |
</description> |
|
260 |
<helpFile>properties.html#application.tempDir</helpFile> |
|
261 |
</config> |
|
262 |
|
|
263 |
<config> |
|
264 |
<key>replication.logdir</key> |
|
265 |
<label>Replication Log Directory</label> |
|
266 |
<group>3</group> |
|
267 |
<index>9</index> |
|
268 |
<description> |
|
269 |
The directory where replication log should be located. |
|
270 |
</description> |
|
271 |
<helpFile>properties.html#replication.logdir</helpFile> |
|
272 |
</config> |
|
273 |
|
|
274 |
<!-- START Data Manager configuration --> |
|
275 |
<config> |
|
276 |
<key>datamanager.server</key> |
|
277 |
<label>Database Server</label> |
|
278 |
<group>4</group> |
|
279 |
<index>1</index> |
|
280 |
<description> |
|
281 |
Host or IP of database server |
|
282 |
</description> |
|
283 |
<helpFile>properties.html#datamanager.server</helpFile> |
|
284 |
</config> |
|
285 |
|
|
286 |
<config> |
|
287 |
<key>datamanager.database</key> |
|
288 |
<label>Database Name</label> |
|
289 |
<group>4</group> |
|
290 |
<index>2</index> |
|
291 |
<description> |
|
292 |
Name of the data manager database |
|
293 |
</description> |
|
294 |
<helpFile>properties.html#datamanager.database</helpFile> |
|
295 |
</config> |
|
296 |
|
|
297 |
<config> |
|
298 |
<key>datamanager.user</key> |
|
299 |
<label>Database Username</label> |
|
300 |
<group>4</group> |
|
301 |
<index>3</index> |
|
302 |
<description> |
|
303 |
Name of database user to own all tables. |
|
304 |
</description> |
|
305 |
<helpFile>properties.html#datamanager.user</helpFile> |
|
306 |
</config> |
|
307 |
|
|
308 |
<config> |
|
309 |
<key>datamanager.password</key> |
|
310 |
<label>Database Password</label> |
|
311 |
<group>4</group> |
|
312 |
<index>4</index> |
|
313 |
<fieldType>password</fieldType> |
|
314 |
<description>Password for database user.</description> |
|
315 |
<helpFile>properties.html#datamanager.password</helpFile> |
|
316 |
</config> |
|
317 |
<!-- END Data Manager configuration --> |
|
318 |
|
|
319 |
</metadataConfig> |
|
320 | 0 |
lib/workflowscheduler.web.xml | ||
---|---|---|
1 |
<!DOCTYPE web-app |
|
2 |
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" |
|
3 |
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> |
|
4 |
|
|
5 |
<web-app> |
|
6 |
|
|
7 |
<display-name>Workflow Scheduler</display-name> |
|
8 |
|
|
9 |
<context-param> |
|
10 |
<param-name>jones</param-name> |
|
11 |
<param-value>jones@nceas.ucsb.edu</param-value> |
|
12 |
<description></description> |
|
13 |
</context-param> |
|
14 |
|
|
15 |
<context-param> |
|
16 |
<param-name>configFileName</param-name> |
|
17 |
<param-value>workflowscheduler.properties</param-value> |
|
18 |
<description>The main configuration file for application</description> |
|
19 |
</context-param> |
|
20 |
|
|
21 |
<context-param> |
|
22 |
<param-name>serviceStratagy</param-name> |
|
23 |
<!-- Meaning of the different values : |
|
24 |
|
|
25 |
PARTIAL-BUFFER |
|
26 |
- Partially buffers the first xKb to disk. Once that has buffered, the the |
|
27 |
result is streamed to the user. This will allow for most errors to be caught |
|
28 |
early. |
|
29 |
|
|
30 |
BUFFER |
|
31 |
- stores the entire response in memory first, before sending it off to |
|
32 |
the user (may run out of memory) |
|
33 |
|
|
34 |
SPEED |
|
35 |
- outputs directly to the response (and cannot recover in the case of an |
|
36 |
error) |
|
37 |
|
|
38 |
FILE |
|
39 |
- outputs to the local filesystem first, before sending it off to the user |
|
40 |
--> |
|
41 |
<param-value>PARTIAL-BUFFER</param-value> |
|
42 |
</context-param> |
|
43 |
<context-param> |
|
44 |
<param-name>PARTIAL_BUFFER_STRATEGY_SIZE</param-name> |
|
45 |
<param-value>50</param-value> |
|
46 |
</context-param> |
|
47 |
|
|
48 |
<servlet> |
|
49 |
<servlet-name>WorkflowScheduler</servlet-name> |
|
50 |
<servlet-class> |
|
51 |
edu.ucsb.nceas.metacat.workflow.WorkflowSchedulerServlet |
|
52 |
</servlet-class> |
|
53 |
<init-param> |
|
54 |
<param-name>debug</param-name> |
|
55 |
<param-value>1</param-value> |
|
56 |
</init-param> |
|
57 |
<init-param> |
|
58 |
<param-name>listings</param-name> |
|
59 |
<param-value>true</param-value> |
|
60 |
</init-param> |
|
61 |
<load-on-startup>1</load-on-startup> |
|
62 |
</servlet> |
|
63 |
|
|
64 |
<servlet-mapping> |
|
65 |
<servlet-name>WorkflowScheduler</servlet-name> |
|
66 |
<url-pattern>/scheduler</url-pattern> |
|
67 |
</servlet-mapping> |
|
68 |
|
|
69 |
<servlet-mapping> |
|
70 |
<servlet-name>WorkflowScheduler</servlet-name> |
|
71 |
<url-pattern>/scheduler/*</url-pattern> |
|
72 |
</servlet-mapping> |
|
73 |
|
|
74 |
<servlet-mapping> |
|
75 |
<servlet-name>WorkflowScheduler</servlet-name> |
|
76 |
<url-pattern>/servlet/scheduler</url-pattern> |
|
77 |
</servlet-mapping> |
|
78 |
|
|
79 |
<session-config> |
|
80 |
<session-timeout>30000</session-timeout> |
|
81 |
</session-config> |
|
82 |
|
|
83 |
|
|
84 |
<!-- currently the W3C havent settled on a media type for WSDL; |
|
85 |
http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft |
|
86 |
for now we go with the basic 'it's XML' response --> |
|
87 |
<mime-mapping> |
|
88 |
<extension>wsdl</extension> |
|
89 |
<mime-type>text/xml</mime-type> |
|
90 |
</mime-mapping> |
|
91 |
|
|
92 |
<mime-mapping> |
|
93 |
<extension>xsd</extension> |
|
94 |
<mime-type>text/xml</mime-type> |
|
95 |
</mime-mapping> |
|
96 |
|
|
97 |
<mime-mapping> |
|
98 |
<extension>xsl</extension> |
|
99 |
<mime-type>text/xml</mime-type> |
|
100 |
</mime-mapping> |
|
101 |
|
|
102 |
|
|
103 |
<welcome-file-list> |
|
104 |
<welcome-file>index.jsp</welcome-file> |
|
105 |
<welcome-file>index.html</welcome-file> |
|
106 |
</welcome-file-list> |
|
107 |
|
|
108 |
|
|
109 |
<taglib> |
|
110 |
<taglib-uri> |
|
111 |
http://jakarta.apache.org/taglibs/xtags-1.0 |
|
112 |
</taglib-uri> |
|
113 |
<taglib-location>/WEB-INF/xtags.tld</taglib-location> |
|
114 |
</taglib> |
|
115 |
|
|
116 |
<taglib> |
|
117 |
<taglib-uri>/tags/struts-bean</taglib-uri> |
|
118 |
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location> |
|
119 |
</taglib> |
|
120 |
|
|
121 |
<taglib> |
|
122 |
<taglib-uri>/tags/struts-html</taglib-uri> |
|
123 |
<taglib-location>/WEB-INF/struts-html.tld</taglib-location> |
|
124 |
</taglib> |
|
125 |
|
|
126 |
<taglib> |
|
127 |
<taglib-uri>/tags/struts-logic</taglib-uri> |
|
128 |
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location> |
|
129 |
</taglib> |
|
130 |
|
|
131 |
<taglib> |
|
132 |
<taglib-uri>/tags/struts-nested</taglib-uri> |
|
133 |
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location> |
|
134 |
</taglib> |
|
135 |
|
|
136 |
<taglib> |
|
137 |
<taglib-uri>/tags/struts-tiles</taglib-uri> |
|
138 |
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location> |
|
139 |
</taglib> |
|
140 |
|
|
141 |
<!-- spring taglib --> |
|
142 |
<taglib> |
|
143 |
<taglib-uri>/tags/spring</taglib-uri> |
|
144 |
<taglib-location>/WEB-INF/tld/spring.tld</taglib-location> |
|
145 |
</taglib> |
|
146 |
|
|
147 |
<!-- |
|
148 |
<error-page> |
|
149 |
<exception-type>java.lang.Exception</exception-type> |
|
150 |
<location>/WEB-INF/pages/errors/Exception.jsp</location> |
|
151 |
</error-page> |
|
152 |
<error-page> |
|
153 |
<exception-type>javax.servlet.ServletException</exception-type> |
|
154 |
<location>/WEB-INF/pages/errors/Exception.jsp</location> |
|
155 |
</error-page> |
|
156 |
<error-page> |
|
157 |
<exception-type>org.vfny.geoserver.global.ConfigurationException</exception-type> |
|
158 |
<location>/WEB-INF/pages/errors/Exception.jsp</location> |
|
159 |
</error-page> |
|
160 |
--> |
|
161 |
|
|
162 |
<security-constraint> |
|
163 |
<web-resource-collection> |
|
164 |
<web-resource-name>CFG</web-resource-name> |
|
165 |
<url-pattern>*.cfg</url-pattern> |
|
166 |
</web-resource-collection> |
|
167 |
<auth-constraint /> |
|
168 |
</security-constraint> |
|
169 |
|
|
170 |
<security-constraint> |
|
171 |
<web-resource-collection> |
|
172 |
<web-resource-name>PROPERTIES</web-resource-name> |
|
173 |
<url-pattern>*.properties</url-pattern> |
|
174 |
</web-resource-collection> |
|
175 |
<auth-constraint /> |
|
176 |
</security-constraint> |
|
177 |
|
|
178 |
</web-app> |
|
179 | 0 |
lib/workflowscheduler.properties | ||
---|---|---|
1 |
# Properties file defining options for the MetaCatServlet.java servlet |
|
2 |
# |
|
3 |
# Matt Jones, Dan Higgins, Jivka Bojilova |
|
4 |
# '$Id: metacat.properties 5017 2009-08-07 17:32:04Z leinfelder $' |
|
5 |
# |
|
6 |
|
|
7 |
############### Server Values ################# |
|
8 |
|
|
9 |
server.name=localhost |
|
10 |
server.httpPort=80 |
|
11 |
server.httpSSLPort=443 |
|
12 |
|
|
13 |
############### Application Values ############ |
|
14 |
|
|
15 |
## one of the few places where we use ANT tokens |
|
16 |
application.metacatVersion=@metacatVersion@ |
|
17 |
application.metacatReleaseInfo=@metacatReleaseInfo@ |
|
18 |
|
|
19 |
application.deployDir=/usr/local/tomcat/webapps/workflowscheduler |
|
20 |
## This is autodiscovered and populated by the config utility |
|
21 |
application.context=workflowscheduler |
|
22 |
application.default-style=default |
|
23 |
application.knbSiteURL=http://knb.ecoinformatics.org |
|
24 |
application.backupDir=/var/workflowscheduler/.workflowscheduler |
|
25 |
application.windowsBackupBaseDir=C:\\Program Files |
|
26 |
application.linuxBackupBaseDir=/var |
|
27 |
application.datafilepath=/var/workflowscheduler/data |
|
28 |
application.inlinedatafilepath=/var/workflowscheduler/inline-data |
|
29 |
application.documentfilepath=/var/workflowscheduler/documents |
|
30 |
application.expandedArchivePath=/var/workflowscheduler/expanded-archives |
|
31 |
application.tempDir=/var/workflowscheduler/temporary |
|
32 |
# the location of cgi scripts relative to the metacat context directory |
|
33 |
application.cgiDir=/cgi-bin |
|
34 |
#used for writing debug info into a anouther out file |
|
35 |
application.writeDebugToFile=true |
|
36 |
#output file name where debug info will written |
|
37 |
# TODO SCW: these should be using the temp-dir property for their paths (change in code) |
|
38 |
application.debugOutputFile=/tmp/workflowscheduler.debug |
|
39 |
#delimitered text output file name where debug info will be written |
|
40 |
application.delimiteredOutputFile=/tmp/workflowscheduler.debug.delimitered |
|
41 |
|
|
42 |
############### Database Values ############### |
|
43 |
|
|
44 |
database.connectionURI=jdbc:postgresql://localhost/workflowscheduler |
|
45 |
database.user=workflowscheduler |
|
46 |
database.password=workflowscheduler |
|
47 |
database.type=postgres |
|
48 |
database.driver=org.postgresql.Driver |
|
49 |
database.adapter=edu.ucsb.nceas.dbadapter.PostgresqlAdapter |
|
50 |
database.scriptsuffix.postgres=postgres.sql |
|
51 |
database.scriptsuffix.oracle=oracle.sql |
|
52 |
database.scriptsuffix.sqlserver=sqlserver.sql |
|
53 |
database.upgradeVersion.0.0.0=xmltables,loaddtdschema |
|
54 |
database.upgradeVersion.1.2.0=upgrade-db-to-1.2 |
|
55 |
database.upgradeVersion.1.3.0=upgrade-db-to-1.3 |
|
56 |
database.upgradeVersion.1.4.0=upgrade-db-to-1.4 |
|
57 |
database.upgradeVersion.1.5.0=upgrade-db-to-1.5 |
|
58 |
database.upgradeVersion.1.6.0=upgrade-db-to-1.6 |
|
59 |
database.upgradeVersion.1.7.0=upgrade-db-to-1.7 |
|
60 |
database.upgradeVersion.1.8.0=upgrade-db-to-1.8 |
|
61 |
database.upgradeVersion.1.9.0=upgrade-db-to-1.9 |
|
62 |
database.upgradeVersion.1.9.1=upgrade-db-to-1.9.1 |
|
63 |
database.upgradeVersion.1.9.2=upgrade-db-to-1.9.2 |
|
64 |
database.initialConnections=5 |
|
65 |
database.incrementConnections=5 |
|
66 |
database.maximumConnections=200 |
|
67 |
database.maximumConnectionAge=120000 |
|
68 |
database.maximumConnectionTime=60000 |
|
69 |
database.maximumUsageNumber=100 |
|
70 |
database.numberOfIndexingThreads=5 |
|
71 |
database.indexingTimerTaskTime=604800000 |
|
72 |
database.indexingInitialDelay=3600000 |
|
73 |
database.maximumIndexDelay=5000 |
|
74 |
database.runDBConnectionRecycleThread=off |
|
75 |
database.cycleTimeOfDBConnection=30000 |
|
76 |
database.queryignoredparams=enableediting,foo |
|
77 |
database.usexmlindex=true |
|
78 |
# used for the setting the size of resultset for applications like morpho |
|
79 |
database.appResultsetSize=7000 |
|
80 |
# used for the setting the size of resultset for searches done using browsers |
|
81 |
database.webResultsetSize=7000 |
|
82 |
# the value of xml_returnfield.usage_count should be more than this value |
|
83 |
# for records to be entered into xml_queryresult. so if you want results for |
|
84 |
# any combination of returnfields to be stored in xml_queryresult only when |
|
85 |
# that combination has been requested 50 times, set this value to 50 |
|
86 |
database.xmlReturnfieldCount=0 |
|
87 |
# used for the setting the size of queryresult_string in queryresult table. |
|
88 |
# the limit is 4000 for oracle |
|
89 |
database.queryresultStringLength=500000 |
|
90 |
#the size of query result cache |
|
91 |
database.queryresultCacheSize=500 |
|
92 |
#turn on or off the query result cache |
|
93 |
database.queryCacheOn=true |
|
94 |
|
|
95 |
######## Authentication and LDAP ############################################## |
|
96 |
|
|
97 |
auth.class=edu.ucsb.nceas.metacat.AuthLdap |
|
98 |
# Use AuthStub to test and guarantee authentication |
|
99 |
## auth.class=edu.ucsb.nceas.metacat.AuthStub |
|
100 |
auth.timeoutMinutes=180 |
|
101 |
# auth.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org |
|
102 |
auth.administrators= |
|
103 |
auth.url=ldap://ldap.ecoinformatics.org:389/ |
|
104 |
auth.surl=ldap://ldap.ecoinformatics.org:389/ |
|
105 |
auth.base=dc=ecoinformatics,dc=org |
|
106 |
auth.allowedSubmitters= |
|
107 |
auth.deniedSubmitters= |
|
108 |
auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org |
|
109 |
|
|
110 |
# time in milliseconds allowed for ldap server connections |
|
111 |
ldap.connectTimeLimit=5000 |
|
112 |
# time in milliseconds allowed for ldap server searches |
|
113 |
ldap.searchTimeLimit=30000 |
|
114 |
# count of return entries allowed for ldap server searches |
|
115 |
ldap.searchCountLimit=30000 |
|
116 |
ldap.referral=follow |
|
117 |
ldap.onlySecureConnection=false |
|
118 |
ldap.onlySecureReferalsConnection=false |
|
119 |
# LDAP templates |
|
120 |
ldap.templates.stage=initregister |
|
121 |
ldap.templates.header=genericHeader.tmpl |
|
122 |
ldap.templates.footer=genericFooter.tmpl |
|
123 |
ldap.templates.changePass=ldapChangePass.tmpl |
|
124 |
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl |
|
125 |
ldap.templates.resetPass=ldapResetPass.tmpl |
|
126 |
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl |
|
127 |
ldap.templates.register=ldapRegister.tmpl |
|
128 |
ldap.templates.registerFailed=ldapRegisterFailed.tmpl |
|
129 |
ldap.templates.registerMatch=ldapRegisterMatch.tmpl |
|
130 |
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl |
|
131 |
ldap.templates.registerLter=ldapRegisterLter.tmpl |
|
132 |
ldap.templates.success=ldapRegisterSuccess.tmpl |
|
133 |
ldap.templates.failed=ldapRegisterFailed.tmpl |
|
134 |
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl |
|
135 |
ldap.templates.searchResults=searchResults.tmpl |
|
136 |
|
|
137 |
######## XML / EML ######################################### |
|
138 |
|
|
139 |
xml.saxparser=org.apache.xerces.parsers.SAXParser |
|
140 |
|
|
141 |
######## Outgoing email ######################################### |
|
142 |
|
|
143 |
email.mailhost=localhost |
|
144 |
email.sender=knb-software@nceas.ucsb.edu |
|
145 |
email.admin=KNB Support |
|
146 |
email.recipient=knb-software@nceas.ucsb.edu |
|
147 |
|
|
148 |
######## Workflow engine section ######################################### |
|
149 |
executionEngine.endPointAddress=http://localhost:8080/axis2/services/KeplerWebService |
|
150 |
|
|
151 |
######## junit test section ################ |
|
152 |
|
|
153 |
test.printdebug=true |
|
154 |
test.metacatUrl=http://indus.msi.ucsb.edu/knb/metacat |
|
155 |
test.contextUrl=http://indus.msi.ucsb.edu/knb |
|
156 |
test.metacatDeployDir=/usr/local/tomcat/webapps/knb |
|
157 |
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org |
|
158 |
test.mcPassword=kepler |
|
159 |
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org |
|
160 |
test.mcAnotherPassword=test |
|
161 |
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org |
|
162 |
test.piscoPassword=testPW |
|
163 |
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org |
|
164 |
test.lterPassword=T3$tusr |
|
165 |
test.testProperty=testing |
|
166 |
|
|
167 |
######## Developers Section ######################################### |
|
168 |
|
|
169 |
# Set dev.runConfiguration to false to keep the system from walking you |
|
170 |
# through the configuration utility every time you reinstall metacat. |
|
171 |
# Instead, the system will use backed up configuration values. If you |
|
172 |
# haven't ever configured the app (no backup files) the system will take |
|
173 |
# you through the configuration. |
|
174 |
dev.runConfiguration=true |
|
175 |
|
|
176 | 0 |
lib/workflowscheduler/workflowscheduler.properties | ||
---|---|---|
1 |
# Properties file defining options for the MetaCatServlet.java servlet |
|
2 |
# |
|
3 |
# Matt Jones, Dan Higgins, Jivka Bojilova |
|
4 |
# '$Id: metacat.properties 5017 2009-08-07 17:32:04Z leinfelder $' |
|
5 |
# |
|
6 |
|
|
7 |
############### Server Values ################# |
|
8 |
|
|
9 |
server.name=localhost |
|
10 |
server.httpPort=80 |
|
11 |
server.httpSSLPort=443 |
|
12 |
|
|
13 |
############### Application Values ############ |
|
14 |
|
|
15 |
## one of the few places where we use ANT tokens |
|
16 |
application.metacatVersion=@metacatVersion@ |
|
17 |
application.metacatReleaseInfo=@metacatReleaseInfo@ |
|
18 |
|
|
19 |
application.deployDir=/usr/local/tomcat/webapps/workflowscheduler |
|
20 |
## This is autodiscovered and populated by the config utility |
|
21 |
application.context=workflowscheduler |
|
22 |
application.default-style=default |
|
23 |
application.knbSiteURL=http://knb.ecoinformatics.org |
|
24 |
application.backupDir=/var/workflowscheduler/.workflowscheduler |
|
25 |
application.windowsBackupBaseDir=C:\\Program Files |
|
26 |
application.linuxBackupBaseDir=/var |
|
27 |
application.datafilepath=/var/workflowscheduler/data |
|
28 |
application.inlinedatafilepath=/var/workflowscheduler/inline-data |
|
29 |
application.documentfilepath=/var/workflowscheduler/documents |
|
30 |
application.expandedArchivePath=/var/workflowscheduler/expanded-archives |
|
31 |
application.tempDir=/var/workflowscheduler/temporary |
|
32 |
# the location of cgi scripts relative to the metacat context directory |
|
33 |
application.cgiDir=/cgi-bin |
|
34 |
#used for writing debug info into a anouther out file |
|
35 |
application.writeDebugToFile=true |
|
36 |
#output file name where debug info will written |
|
37 |
# TODO SCW: these should be using the temp-dir property for their paths (change in code) |
|
38 |
application.debugOutputFile=/tmp/workflowscheduler.debug |
|
39 |
#delimitered text output file name where debug info will be written |
|
40 |
application.delimiteredOutputFile=/tmp/workflowscheduler.debug.delimitered |
|
41 |
|
|
42 |
############### Database Values ############### |
|
43 |
|
|
44 |
database.connectionURI=jdbc:postgresql://localhost/workflowscheduler |
|
45 |
database.user=workflowscheduler |
|
46 |
database.password=workflowscheduler |
|
47 |
database.type=postgres |
|
48 |
database.driver=org.postgresql.Driver |
|
49 |
database.adapter=edu.ucsb.nceas.dbadapter.PostgresqlAdapter |
|
50 |
database.scriptsuffix.postgres=postgres.sql |
|
51 |
database.scriptsuffix.oracle=oracle.sql |
|
52 |
database.scriptsuffix.sqlserver=sqlserver.sql |
|
53 |
database.upgradeVersion.0.0.0=xmltables,loaddtdschema |
|
54 |
database.upgradeVersion.1.2.0=upgrade-db-to-1.2 |
|
55 |
database.upgradeVersion.1.3.0=upgrade-db-to-1.3 |
|
56 |
database.upgradeVersion.1.4.0=upgrade-db-to-1.4 |
|
57 |
database.upgradeVersion.1.5.0=upgrade-db-to-1.5 |
|
58 |
database.upgradeVersion.1.6.0=upgrade-db-to-1.6 |
|
59 |
database.upgradeVersion.1.7.0=upgrade-db-to-1.7 |
|
60 |
database.upgradeVersion.1.8.0=upgrade-db-to-1.8 |
|
61 |
database.upgradeVersion.1.9.0=upgrade-db-to-1.9 |
|
62 |
database.upgradeVersion.1.9.1=upgrade-db-to-1.9.1 |
|
63 |
database.upgradeVersion.1.9.2=upgrade-db-to-1.9.2 |
|
64 |
database.initialConnections=5 |
|
65 |
database.incrementConnections=5 |
|
66 |
database.maximumConnections=200 |
|
67 |
database.maximumConnectionAge=120000 |
|
68 |
database.maximumConnectionTime=60000 |
|
69 |
database.maximumUsageNumber=100 |
|
70 |
database.numberOfIndexingThreads=5 |
|
71 |
database.indexingTimerTaskTime=604800000 |
|
72 |
database.indexingInitialDelay=3600000 |
|
73 |
database.maximumIndexDelay=5000 |
|
74 |
database.runDBConnectionRecycleThread=off |
|
75 |
database.cycleTimeOfDBConnection=30000 |
|
76 |
database.queryignoredparams=enableediting,foo |
|
77 |
database.usexmlindex=true |
|
78 |
# used for the setting the size of resultset for applications like morpho |
|
79 |
database.appResultsetSize=7000 |
|
80 |
# used for the setting the size of resultset for searches done using browsers |
|
81 |
database.webResultsetSize=7000 |
|
82 |
# the value of xml_returnfield.usage_count should be more than this value |
|
83 |
# for records to be entered into xml_queryresult. so if you want results for |
|
84 |
# any combination of returnfields to be stored in xml_queryresult only when |
|
85 |
# that combination has been requested 50 times, set this value to 50 |
|
86 |
database.xmlReturnfieldCount=0 |
|
87 |
# used for the setting the size of queryresult_string in queryresult table. |
|
88 |
# the limit is 4000 for oracle |
|
89 |
database.queryresultStringLength=500000 |
|
90 |
#the size of query result cache |
|
91 |
database.queryresultCacheSize=500 |
|
92 |
#turn on or off the query result cache |
|
93 |
database.queryCacheOn=true |
|
94 |
|
|
95 |
######## Authentication and LDAP ############################################## |
|
96 |
|
|
97 |
auth.class=edu.ucsb.nceas.metacat.AuthLdap |
|
98 |
# Use AuthStub to test and guarantee authentication |
|
99 |
## auth.class=edu.ucsb.nceas.metacat.AuthStub |
|
100 |
auth.timeoutMinutes=180 |
|
101 |
# auth.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org |
|
102 |
auth.administrators= |
|
103 |
auth.url=ldap://ldap.ecoinformatics.org:389/ |
|
104 |
auth.surl=ldap://ldap.ecoinformatics.org:389/ |
|
105 |
auth.base=dc=ecoinformatics,dc=org |
|
106 |
auth.allowedSubmitters= |
|
107 |
auth.deniedSubmitters= |
|
108 |
auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org |
|
109 |
|
|
110 |
# time in milliseconds allowed for ldap server connections |
|
111 |
ldap.connectTimeLimit=5000 |
|
112 |
# time in milliseconds allowed for ldap server searches |
|
113 |
ldap.searchTimeLimit=30000 |
|
114 |
# count of return entries allowed for ldap server searches |
|
115 |
ldap.searchCountLimit=30000 |
|
116 |
ldap.referral=follow |
|
117 |
ldap.onlySecureConnection=false |
|
118 |
ldap.onlySecureReferalsConnection=false |
|
119 |
# LDAP templates |
|
120 |
ldap.templates.stage=initregister |
|
121 |
ldap.templates.header=genericHeader.tmpl |
|
122 |
ldap.templates.footer=genericFooter.tmpl |
|
123 |
ldap.templates.changePass=ldapChangePass.tmpl |
|
124 |
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl |
|
125 |
ldap.templates.resetPass=ldapResetPass.tmpl |
|
126 |
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl |
|
127 |
ldap.templates.register=ldapRegister.tmpl |
|
128 |
ldap.templates.registerFailed=ldapRegisterFailed.tmpl |
|
129 |
ldap.templates.registerMatch=ldapRegisterMatch.tmpl |
|
130 |
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl |
|
131 |
ldap.templates.registerLter=ldapRegisterLter.tmpl |
|
132 |
ldap.templates.success=ldapRegisterSuccess.tmpl |
|
133 |
ldap.templates.failed=ldapRegisterFailed.tmpl |
|
134 |
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl |
|
135 |
ldap.templates.searchResults=searchResults.tmpl |
|
136 |
|
|
137 |
######## XML / EML ######################################### |
|
138 |
|
|
139 |
xml.saxparser=org.apache.xerces.parsers.SAXParser |
|
140 |
|
|
141 |
######## Outgoing email ######################################### |
|
142 |
|
|
143 |
email.mailhost=localhost |
|
144 |
email.sender=knb-software@nceas.ucsb.edu |
|
145 |
email.admin=KNB Support |
|
146 |
email.recipient=knb-software@nceas.ucsb.edu |
|
147 |
|
|
148 |
######## Workflow engine section ######################################### |
|
149 |
executionEngine.endPointAddress=http://localhost:8080/axis2/services/KeplerWebService |
|
150 |
|
|
151 |
######## junit test section ################ |
|
152 |
|
|
153 |
test.printdebug=true |
|
154 |
test.metacatUrl=http://indus.msi.ucsb.edu/knb/metacat |
|
155 |
test.contextUrl=http://indus.msi.ucsb.edu/knb |
|
156 |
test.metacatDeployDir=/usr/local/tomcat/webapps/knb |
|
157 |
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org |
|
158 |
test.mcPassword=kepler |
|
159 |
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org |
|
160 |
test.mcAnotherPassword=test |
|
161 |
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org |
|
162 |
test.piscoPassword=testPW |
|
163 |
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org |
|
164 |
test.lterPassword=T3$tusr |
|
165 |
test.testProperty=testing |
|
166 |
|
|
167 |
######## Developers Section ######################################### |
|
168 |
|
|
169 |
# Set dev.runConfiguration to false to keep the system from walking you |
|
170 |
# through the configuration utility every time you reinstall metacat. |
|
171 |
# Instead, the system will use backed up configuration values. If you |
|
172 |
# haven't ever configured the app (no backup files) the system will take |
|
173 |
# you through the configuration. |
|
174 |
dev.runConfiguration=true |
|
175 |
|
|
0 | 176 |
lib/workflowscheduler/workflowscheduler.web.xml | ||
---|---|---|
1 |
<!DOCTYPE web-app |
|
2 |
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" |
|
3 |
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> |
|
4 |
|
|
5 |
<web-app> |
|
6 |
|
|
7 |
<display-name>Workflow Scheduler</display-name> |
|
8 |
|
|
9 |
<context-param> |
|
10 |
<param-name>jones</param-name> |
|
11 |
<param-value>jones@nceas.ucsb.edu</param-value> |
|
12 |
<description></description> |
|
13 |
</context-param> |
|
14 |
|
|
15 |
<context-param> |
|
16 |
<param-name>configFileName</param-name> |
|
17 |
<param-value>workflowscheduler.properties</param-value> |
|
18 |
<description>The main configuration file for application</description> |
|
19 |
</context-param> |
|
20 |
|
|
21 |
<context-param> |
|
22 |
<param-name>propertyClassName</param-name> |
|
23 |
<param-value>edu.ucsb.nceas.metacat.properties.SimpleProperties</param-value> |
|
24 |
<description>The properties class for this application</description> |
|
25 |
</context-param> |
|
26 |
|
|
27 |
<context-param> |
|
28 |
<param-name>serviceStratagy</param-name> |
|
29 |
<!-- Meaning of the different values : |
|
30 |
|
|
31 |
PARTIAL-BUFFER |
|
32 |
- Partially buffers the first xKb to disk. Once that has buffered, the the |
|
33 |
result is streamed to the user. This will allow for most errors to be caught |
|
34 |
early. |
|
35 |
|
|
36 |
BUFFER |
|
37 |
- stores the entire response in memory first, before sending it off to |
|
38 |
the user (may run out of memory) |
|
39 |
|
|
40 |
SPEED |
|
41 |
- outputs directly to the response (and cannot recover in the case of an |
|
42 |
error) |
|
43 |
|
|
44 |
FILE |
|
45 |
- outputs to the local filesystem first, before sending it off to the user |
|
46 |
--> |
|
47 |
<param-value>PARTIAL-BUFFER</param-value> |
|
48 |
</context-param> |
|
49 |
<context-param> |
|
50 |
<param-name>PARTIAL_BUFFER_STRATEGY_SIZE</param-name> |
|
51 |
<param-value>50</param-value> |
|
52 |
</context-param> |
|
53 |
|
|
54 |
<servlet> |
|
55 |
<servlet-name>WorkflowScheduler</servlet-name> |
|
56 |
<servlet-class> |
|
57 |
edu.ucsb.nceas.workflowscheduler.WorkflowSchedulerServlet |
|
58 |
</servlet-class> |
|
59 |
<init-param> |
|
60 |
<param-name>debug</param-name> |
|
61 |
<param-value>1</param-value> |
|
62 |
</init-param> |
|
63 |
<init-param> |
|
64 |
<param-name>listings</param-name> |
|
65 |
<param-value>true</param-value> |
|
66 |
</init-param> |
|
67 |
<load-on-startup>1</load-on-startup> |
|
68 |
</servlet> |
|
69 |
|
|
70 |
<servlet-mapping> |
|
71 |
<servlet-name>WorkflowScheduler</servlet-name> |
|
72 |
<url-pattern>/scheduler</url-pattern> |
|
73 |
</servlet-mapping> |
|
74 |
|
|
75 |
<servlet-mapping> |
|
76 |
<servlet-name>WorkflowScheduler</servlet-name> |
|
77 |
<url-pattern>/scheduler/*</url-pattern> |
|
78 |
</servlet-mapping> |
|
79 |
|
|
80 |
<servlet-mapping> |
|
81 |
<servlet-name>WorkflowScheduler</servlet-name> |
|
82 |
<url-pattern>/servlet/scheduler</url-pattern> |
|
83 |
</servlet-mapping> |
|
84 |
|
|
85 |
<session-config> |
|
86 |
<session-timeout>30000</session-timeout> |
|
87 |
</session-config> |
|
88 |
|
|
89 |
|
|
90 |
<!-- currently the W3C havent settled on a media type for WSDL; |
|
91 |
http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft |
|
92 |
for now we go with the basic 'it's XML' response --> |
|
93 |
<mime-mapping> |
|
94 |
<extension>wsdl</extension> |
|
95 |
<mime-type>text/xml</mime-type> |
|
96 |
</mime-mapping> |
|
97 |
|
|
98 |
<mime-mapping> |
|
99 |
<extension>xsd</extension> |
|
100 |
<mime-type>text/xml</mime-type> |
|
101 |
</mime-mapping> |
|
102 |
|
|
103 |
<mime-mapping> |
|
104 |
<extension>xsl</extension> |
|
105 |
<mime-type>text/xml</mime-type> |
|
106 |
</mime-mapping> |
|
107 |
|
|
108 |
|
|
109 |
<welcome-file-list> |
|
110 |
<welcome-file>index.jsp</welcome-file> |
|
111 |
<welcome-file>index.html</welcome-file> |
|
112 |
</welcome-file-list> |
|
113 |
|
|
114 |
|
|
115 |
<taglib> |
|
116 |
<taglib-uri> |
|
117 |
http://jakarta.apache.org/taglibs/xtags-1.0 |
|
118 |
</taglib-uri> |
|
119 |
<taglib-location>/WEB-INF/xtags.tld</taglib-location> |
|
120 |
</taglib> |
|
121 |
|
|
122 |
<taglib> |
|
123 |
<taglib-uri>/tags/struts-bean</taglib-uri> |
|
124 |
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location> |
|
125 |
</taglib> |
|
126 |
|
|
127 |
<taglib> |
|
128 |
<taglib-uri>/tags/struts-html</taglib-uri> |
|
129 |
<taglib-location>/WEB-INF/struts-html.tld</taglib-location> |
|
130 |
</taglib> |
|
131 |
|
|
132 |
<taglib> |
|
133 |
<taglib-uri>/tags/struts-logic</taglib-uri> |
|
134 |
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location> |
|
135 |
</taglib> |
|
136 |
|
|
137 |
<taglib> |
|
138 |
<taglib-uri>/tags/struts-nested</taglib-uri> |
|
139 |
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location> |
|
140 |
</taglib> |
|
141 |
|
|
142 |
<taglib> |
|
143 |
<taglib-uri>/tags/struts-tiles</taglib-uri> |
|
144 |
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location> |
|
145 |
</taglib> |
|
146 |
|
|
147 |
<!-- spring taglib --> |
|
148 |
<taglib> |
|
149 |
<taglib-uri>/tags/spring</taglib-uri> |
|
150 |
<taglib-location>/WEB-INF/tld/spring.tld</taglib-location> |
|
151 |
</taglib> |
|
152 |
|
|
153 |
<!-- |
|
154 |
<error-page> |
|
155 |
<exception-type>java.lang.Exception</exception-type> |
|
156 |
<location>/WEB-INF/pages/errors/Exception.jsp</location> |
|
157 |
</error-page> |
|
158 |
<error-page> |
|
159 |
<exception-type>javax.servlet.ServletException</exception-type> |
|
160 |
<location>/WEB-INF/pages/errors/Exception.jsp</location> |
|
161 |
</error-page> |
|
162 |
<error-page> |
|
163 |
<exception-type>org.vfny.geoserver.global.ConfigurationException</exception-type> |
|
164 |
<location>/WEB-INF/pages/errors/Exception.jsp</location> |
|
165 |
</error-page> |
|
166 |
--> |
|
167 |
|
|
168 |
<security-constraint> |
|
169 |
<web-resource-collection> |
|
170 |
<web-resource-name>CFG</web-resource-name> |
|
171 |
<url-pattern>*.cfg</url-pattern> |
|
172 |
</web-resource-collection> |
|
173 |
<auth-constraint /> |
|
174 |
</security-constraint> |
|
175 |
|
|
176 |
<security-constraint> |
|
177 |
<web-resource-collection> |
|
178 |
<web-resource-name>PROPERTIES</web-resource-name> |
|
179 |
<url-pattern>*.properties</url-pattern> |
|
180 |
</web-resource-collection> |
|
181 |
<auth-constraint /> |
|
182 |
</security-constraint> |
|
183 |
|
|
184 |
</web-app> |
|
0 | 185 |
Also available in: Unified diff
Move workflow scheduler lib files into their own directory