Project

General

Profile

1 5027 daigle
<!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 5036 daigle
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 5027 daigle
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 5036 daigle
			edu.ucsb.nceas.workflowscheduler.WorkflowSchedulerServlet
58 5027 daigle
		</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>