2006-11-17 10:13:45 +07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Jorg Janke (ComPiere, Inc.) -->
|
|
|
|
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
|
|
|
version="2.4">
|
2010-03-30 19:52:00 +07:00
|
|
|
<display-name>ADempiere Root</display-name>
|
|
|
|
<description></description>
|
2006-11-17 10:13:45 +07:00
|
|
|
<context-param>
|
|
|
|
<param-name>ServerRoot</param-name>
|
|
|
|
<param-value>1</param-value>
|
|
|
|
</context-param>
|
|
|
|
<filter>
|
2010-03-30 19:52:00 +07:00
|
|
|
<display-name>ADempiere Monitor Filter</display-name>
|
2008-10-02 15:09:31 +07:00
|
|
|
<filter-name>AdempiereMonitorFilter</filter-name>
|
2006-11-17 10:13:45 +07:00
|
|
|
<filter-class>org.compiere.web.AdempiereMonitorFilter</filter-class>
|
|
|
|
</filter>
|
|
|
|
<filter-mapping>
|
|
|
|
<filter-name>AdempiereMonitorFilter</filter-name>
|
2008-08-03 19:43:54 +07:00
|
|
|
<url-pattern>/adempiereMonitor/*</url-pattern>
|
2006-11-17 10:13:45 +07:00
|
|
|
</filter-mapping>
|
|
|
|
<servlet>
|
|
|
|
<display-name>JNLP Download Servlet</display-name>
|
2008-10-02 15:09:31 +07:00
|
|
|
<servlet-name>JnlpDownloadServlet</servlet-name>
|
2006-11-17 10:13:45 +07:00
|
|
|
<servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
|
|
|
|
<init-param>
|
|
|
|
<param-name>logLevel</param-name>
|
|
|
|
<param-value>INFORMATIONAL</param-value>
|
|
|
|
</init-param>
|
|
|
|
<load-on-startup>1</load-on-startup>
|
|
|
|
</servlet>
|
|
|
|
<servlet>
|
2010-03-30 19:52:00 +07:00
|
|
|
<description>ADempiere Server Status Info</description>
|
2008-10-02 15:09:31 +07:00
|
|
|
<display-name>Server Status</display-name>
|
|
|
|
<servlet-name>StatusInfo</servlet-name>
|
2006-11-17 10:13:45 +07:00
|
|
|
<servlet-class>org.compiere.web.StatusInfo</servlet-class>
|
|
|
|
</servlet>
|
|
|
|
<servlet>
|
2010-03-30 19:52:00 +07:00
|
|
|
<description>ADempiere Server Monitor</description>
|
|
|
|
<display-name>ADempiere Monitor</display-name>
|
2008-10-02 15:09:31 +07:00
|
|
|
<servlet-name>AdempiereMonitor</servlet-name>
|
2006-11-17 10:13:45 +07:00
|
|
|
<servlet-class>org.compiere.web.AdempiereMonitor</servlet-class>
|
|
|
|
<load-on-startup>1</load-on-startup>
|
|
|
|
</servlet>
|
2010-09-21 11:44:58 +07:00
|
|
|
<!-- Restlet adapter -->
|
|
|
|
<servlet>
|
|
|
|
<servlet-name>RestletServlet</servlet-name>
|
|
|
|
<servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
|
|
|
|
<init-param>
|
|
|
|
<!-- Application class name -->
|
|
|
|
<param-name>org.restlet.application</param-name>
|
|
|
|
<param-value>org.adempiere.web.server.ServerApplication</param-value>
|
|
|
|
</init-param>
|
|
|
|
</servlet>
|
2006-11-17 10:13:45 +07:00
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>JnlpDownloadServlet</servlet-name>
|
|
|
|
<url-pattern>*.jnlp</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>StatusInfo</servlet-name>
|
|
|
|
<url-pattern>/statusInfo</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>AdempiereMonitor</servlet-name>
|
|
|
|
<url-pattern>/adempiereMonitor/*</url-pattern>
|
|
|
|
</servlet-mapping>
|
2010-09-21 11:44:58 +07:00
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>RestletServlet</servlet-name>
|
|
|
|
<url-pattern>/server/*</url-pattern>
|
|
|
|
</servlet-mapping>
|
2006-11-17 10:13:45 +07:00
|
|
|
<session-config>
|
|
|
|
<session-timeout>15</session-timeout>
|
|
|
|
</session-config>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>jar</extension>
|
|
|
|
<mime-type>application/x-java-archive</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>jardiff</extension>
|
|
|
|
<mime-type>application/x-java-archive-diff</mime-type>
|
|
|
|
</mime-mapping>
|
|
|
|
<mime-mapping>
|
|
|
|
<extension>jnlp</extension>
|
|
|
|
<mime-type>application/x-java-jnlp-file</mime-type>
|
|
|
|
</mime-mapping>
|
2010-09-21 11:44:58 +07:00
|
|
|
<security-constraint>
|
|
|
|
<web-resource-collection>
|
|
|
|
<web-resource-name>admin</web-resource-name>
|
|
|
|
<url-pattern>/adempiereMonitor/*</url-pattern>
|
|
|
|
</web-resource-collection>
|
|
|
|
<web-resource-collection>
|
|
|
|
<web-resource-name>service</web-resource-name>
|
|
|
|
<url-pattern>/server/*</url-pattern>
|
|
|
|
</web-resource-collection>
|
|
|
|
<user-data-constraint>
|
|
|
|
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
|
|
|
|
</user-data-constraint>
|
|
|
|
</security-constraint>
|
2006-11-17 10:13:45 +07:00
|
|
|
<welcome-file-list>
|
|
|
|
<welcome-file>adempiere.html</welcome-file>
|
|
|
|
</welcome-file-list>
|
|
|
|
</web-app>
|