Project

General

Profile

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>
(34-34/37)