<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> <web-app> <display-name>Workflow Scheduler</display-name> <context-param> <param-name>jones</param-name> <param-value>jones@nceas.ucsb.edu</param-value> <description></description> </context-param> <context-param> <param-name>configFileName</param-name> <param-value>workflowscheduler.properties</param-value> <description>The main configuration file for application</description> </context-param> <context-param> <param-name>propertyClassName</param-name> <param-value>edu.ucsb.nceas.metacat.properties.SimpleProperties</param-value> <description>The properties class for this application</description> </context-param> <context-param> <param-name>serviceStratagy</param-name> <!-- Meaning of the different values : PARTIAL-BUFFER - Partially buffers the first xKb to disk. Once that has buffered, the the result is streamed to the user. This will allow for most errors to be caught early. BUFFER - stores the entire response in memory first, before sending it off to the user (may run out of memory) SPEED - outputs directly to the response (and cannot recover in the case of an error) FILE - outputs to the local filesystem first, before sending it off to the user --> <param-value>PARTIAL-BUFFER</param-value> </context-param> <context-param> <param-name>PARTIAL_BUFFER_STRATEGY_SIZE</param-name> <param-value>50</param-value> </context-param> <servlet> <servlet-name>WorkflowScheduler</servlet-name> <servlet-class> edu.ucsb.nceas.workflowscheduler.WorkflowSchedulerServlet </servlet-class> <init-param> <param-name>debug</param-name> <param-value>1</param-value> </init-param> <init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>WorkflowScheduler</servlet-name> <url-pattern>/scheduler</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>WorkflowScheduler</servlet-name> <url-pattern>/scheduler/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>WorkflowScheduler</servlet-name> <url-pattern>/servlet/scheduler</url-pattern> </servlet-mapping> <session-config> <session-timeout>30000</session-timeout> </session-config> <!-- currently the W3C havent settled on a media type for WSDL; http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft for now we go with the basic 'it's XML' response --> <mime-mapping> <extension>wsdl</extension> <mime-type>text/xml</mime-type> </mime-mapping> <mime-mapping> <extension>xsd</extension> <mime-type>text/xml</mime-type> </mime-mapping> <mime-mapping> <extension>xsl</extension> <mime-type>text/xml</mime-type> </mime-mapping> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> </welcome-file-list> <taglib> <taglib-uri> http://jakarta.apache.org/taglibs/xtags-1.0 </taglib-uri> <taglib-location>/WEB-INF/xtags.tld</taglib-location> </taglib> <taglib> <taglib-uri>/tags/struts-bean</taglib-uri> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> </taglib> <taglib> <taglib-uri>/tags/struts-html</taglib-uri> <taglib-location>/WEB-INF/struts-html.tld</taglib-location> </taglib> <taglib> <taglib-uri>/tags/struts-logic</taglib-uri> <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> </taglib> <taglib> <taglib-uri>/tags/struts-nested</taglib-uri> <taglib-location>/WEB-INF/struts-nested.tld</taglib-location> </taglib> <taglib> <taglib-uri>/tags/struts-tiles</taglib-uri> <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location> </taglib> <!-- spring taglib --> <taglib> <taglib-uri>/tags/spring</taglib-uri> <taglib-location>/WEB-INF/tld/spring.tld</taglib-location> </taglib> <!-- <error-page> <exception-type>java.lang.Exception</exception-type> <location>/WEB-INF/pages/errors/Exception.jsp</location> </error-page> <error-page> <exception-type>javax.servlet.ServletException</exception-type> <location>/WEB-INF/pages/errors/Exception.jsp</location> </error-page> <error-page> <exception-type>org.vfny.geoserver.global.ConfigurationException</exception-type> <location>/WEB-INF/pages/errors/Exception.jsp</location> </error-page> --> <security-constraint> <web-resource-collection> <web-resource-name>CFG</web-resource-name> <url-pattern>*.cfg</url-pattern> </web-resource-collection> <auth-constraint /> </security-constraint> <security-constraint> <web-resource-collection> <web-resource-name>PROPERTIES</web-resource-name> <url-pattern>*.properties</url-pattern> </web-resource-collection> <auth-constraint /> </security-constraint> </web-app>