You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2013/05/03 11:03:57 UTC
svn commit: r1478679 - in
/cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF:
applicationContext.xml cxf-servlet.xml web.xml
Author: coheigea
Date: Fri May 3 09:03:56 2013
New Revision: 1478679
URL: http://svn.apache.org/r1478679
Log:
[CXF-4854] Load the STS war on startup
Added:
cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/applicationContext.xml
- copied, changed from r1478678, cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/cxf-servlet.xml
Removed:
cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/cxf-servlet.xml
Modified:
cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/web.xml
Copied: cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/applicationContext.xml (from r1478678, cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/cxf-servlet.xml)
URL: http://svn.apache.org/viewvc/cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/applicationContext.xml?p2=cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/applicationContext.xml&p1=cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/cxf-servlet.xml&r1=1478678&r2=1478679&rev=1478679&view=diff
==============================================================================
(empty)
Modified: cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/web.xml?rev=1478679&r1=1478678&r2=1478679&view=diff
==============================================================================
--- cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/web.xml (original)
+++ cxf/branches/wss4j2.0-port/services/sts/sts-war/src/main/webapp/WEB-INF/web.xml Fri May 3 09:03:56 2013
@@ -21,14 +21,21 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>CXF STS</display-name>
+
+ <context-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value>WEB-INF/applicationContext.xml</param-value>
+ </context-param>
+
+ <listener>
+ <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+ </listener>
+
+
<servlet>
<servlet-name>sts</servlet-name>
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
<load-on-startup>1</load-on-startup>
- <init-param>
- <param-name>config-location</param-name>
- <param-value>WEB-INF/cxf-servlet.xml</param-value>
- </init-param>
</servlet>
<servlet-mapping>
<servlet-name>sts</servlet-name>