cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From owu...@apache.org
Subject svn commit: r1478513 - in /cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF: applicationContext.xml cxf-servlet.xml web.xml
Date Thu, 02 May 2013 20:17:41 GMT
Author: owulff
Date: Thu May  2 20:17:40 2013
New Revision: 1478513

URL: http://svn.apache.org/r1478513
Log:
[CXF-4854] Load the STS war on startup

Added:
    cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/applicationContext.xml
      - copied, changed from r1478508, cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/cxf-servlet.xml
Removed:
    cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/cxf-servlet.xml
Modified:
    cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/web.xml

Copied: cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/applicationContext.xml (from
r1478508, cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/cxf-servlet.xml)
URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/applicationContext.xml?p2=cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/applicationContext.xml&p1=cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/cxf-servlet.xml&r1=1478508&r2=1478513&rev=1478513&view=diff
==============================================================================
    (empty)

Modified: cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/web.xml?rev=1478513&r1=1478512&r2=1478513&view=diff
==============================================================================
--- cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/web.xml (original)
+++ cxf/trunk/services/sts/sts-war/src/main/webapp/WEB-INF/web.xml Thu May  2 20:17:40 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>



Mime
View raw message