diff options
Diffstat (limited to 'service/src/main/webapp')
-rw-r--r-- | service/src/main/webapp/WEB-INF/web.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/service/src/main/webapp/WEB-INF/web.xml b/service/src/main/webapp/WEB-INF/web.xml index 55b282e..f52c1ac 100644 --- a/service/src/main/webapp/WEB-INF/web.xml +++ b/service/src/main/webapp/WEB-INF/web.xml @@ -20,5 +20,30 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> + <listener> + <listener-class> + org.springframework.web.context.ContextLoaderListener + </listener-class> + </listener> + <servlet> + <servlet-name>CXFServlet</servlet-name> + <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class> + <load-on-startup>1</load-on-startup> + </servlet> + <servlet-mapping> + <servlet-name>CXFServlet</servlet-name> + <url-pattern>/*</url-pattern> + </servlet-mapping> + + <context-param> + <param-name>contextConfigLocation</param-name> + <param-value>WEB-INF/classes/spring/multivimproxy/*.xml + </param-value> + </context-param> + <session-config> + <session-timeout>10000000</session-timeout> + </session-config> + + <display-name>multivimproxy-service</display-name> </web-app>
\ No newline at end of file |