- Add Docker Compose configurations for dev, prod, and standalone environments - Add database initialization scripts (init-db.sh, init-db-docker.sh) - Add enhanced start-docker-linux.sh with DB init support - Add comprehensive database initialization guide - Support for automatic dbexport.pgsql import on first run - Include safety checks for production environment
74 lines
2.5 KiB
XML
74 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="pms" version="2.5">
|
|
<display-name>plm</display-name>
|
|
<filter>
|
|
<filter-name>encoding</filter-name>
|
|
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
|
<init-param>
|
|
<param-name>encoding</param-name>
|
|
<param-value>UTF-8</param-value>
|
|
</init-param>
|
|
</filter>
|
|
<filter-mapping>
|
|
<filter-name>encoding</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
<context-param>
|
|
<param-name>log4jConfigLocation</param-name>
|
|
<param-value>/WEB-INF/log4j.xml</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>log4jRefreshInterval</param-name>
|
|
<param-value>5000</param-value>
|
|
</context-param>
|
|
<listener>
|
|
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
|
|
</listener>
|
|
<listener>
|
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
</listener>
|
|
<listener>
|
|
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
|
|
</listener>
|
|
<servlet>
|
|
<servlet-name>dispatcher</servlet-name>
|
|
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
|
<load-on-startup>1</load-on-startup>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>dispatcher</servlet-name>
|
|
<url-pattern>*.do</url-pattern>
|
|
</servlet-mapping>
|
|
<error-page>
|
|
<error-code>404</error-code>
|
|
<location>/common/error404.do</location>
|
|
</error-page>
|
|
<error-page>
|
|
<error-code>403</error-code>
|
|
<location>/common/error403.do</location>
|
|
</error-page>
|
|
<error-page>
|
|
<error-code>500</error-code>
|
|
<location>/common/error500.do</location>
|
|
</error-page>
|
|
<session-config>
|
|
<session-timeout>1440</session-timeout>
|
|
</session-config>
|
|
<welcome-file-list>
|
|
<welcome-file>/index.do</welcome-file>
|
|
</welcome-file-list>
|
|
<resource-ref>
|
|
<description>PLM DataSource</description>
|
|
<res-ref-name>plm</res-ref-name>
|
|
<res-type>javax.sql.DataSource</res-type>
|
|
<res-auth>Container</res-auth>
|
|
</resource-ref>
|
|
<context-param>
|
|
<param-name>contextConfigLocation</param-name>
|
|
<param-value>/WEB-INF/*-context.xml</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>webAppRootKey</param-name>
|
|
<param-value>pms.root</param-value>
|
|
</context-param>
|
|
</web-app> |