Author: ozizka(a)redhat.com
Date: 2010-03-18 19:16:53 -0400 (Thu, 18 Mar 2010)
New Revision: 882
Modified:
branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/src/main/webapp/WEB-INF/web.xml
Log:
* web.xml: Seam loaded lazily, as in overlayed war.
Modified: branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/src/main/webapp/WEB-INF/web.xml
===================================================================
--- branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/src/main/webapp/WEB-INF/web.xml 2010-03-18
17:12:45 UTC (rev 881)
+++ branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/src/main/webapp/WEB-INF/web.xml 2010-03-18
23:16:53 UTC (rev 882)
@@ -86,11 +86,15 @@
</servlet-mapping>
- <!-- Seam -->
+ <!-- Seam (lazy loaded)-->
<listener>
- <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
+
<listener-class>org.jboss.on.embedded.LazyStartupListener</listener-class>
</listener>
+ <context-param>
+ <param-name>org.jboss.on.embedded.LazyStartupListener</param-name>
+ <param-value>org.jboss.seam.servlet.SeamListener</param-value>
+ </context-param>
@@ -99,7 +103,12 @@
in web.xml. This ensures it is run first. -->
<filter>
<filter-name>Seam Filter</filter-name>
- <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
+ <!-- Lazily start up the Seam Filter -->
+ <filter-class>org.jboss.on.embedded.LazyStartupFilter</filter-class>
+ <init-param>
+ <param-name>org.jboss.on.embedded.LazyStartupFilter</param-name>
+ <param-value>org.jboss.seam.servlet.SeamFilter</param-value>
+ </init-param>
</filter>
<filter-mapping>
<filter-name>Seam Filter</filter-name>
Show replies by date