Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.2
-
None
-
None
Description
The Spring integration plugin and "zero config" Action class discovery seem to initialize twice.
After application startup, before visiting a page:
2006-11-15 13:11:34,692 INFO (org.apache.struts2.spring.StrutsSpringObjectFactory:62) - Initializing Struts-Spring integration...
2006-11-15 13:11:34,692 INFO (com.opensymphony.xwork2.spring.SpringObjectFactory:71) - Setting autowire strategy to name
2006-11-15 13:11:34,707 INFO (org.apache.struts2.spring.StrutsSpringObjectFactory:94) - ... initialized Struts-Spring integration successfully
2006-11-15 13:11:35,192 INFO (com.opensymphony.xwork2.util.ResolverUtil:282) - Scanning for classes in [/path/to/ssr-s2jt/target/tomcat5x/webapps/ssr-s2jt/WEB-INF/classes/edu/asu/vpia/ssr/actions/] matching criteria: org.apache.struts2.config.ClasspathConfigurationProvider$1@1bdc9d8
2006-11-15 13:11:35,192 DEBUG (org.apache.struts2.config.ClasspathConfigurationProvider:163) - Processing class edu.asu.vpia.ssr.actions.FindAlumniAction
After visiting a page:
2006-11-15 13:12:46,523 INFO (org.apache.struts2.spring.StrutsSpringObjectFactory:62) - Initializing Struts-Spring integration...
2006-11-15 13:12:46,523 INFO (com.opensymphony.xwork2.spring.SpringObjectFactory:71) - Setting autowire strategy to name
2006-11-15 13:12:46,523 INFO (org.apache.struts2.spring.StrutsSpringObjectFactory:94) - ... initialized Struts-Spring integration successfully
2006-11-15 13:12:46,601 INFO (com.opensymphony.xwork2.util.ResolverUtil:282) - Scanning for classes in [/path/to/ssr-s2jt/target/tomcat5x/webapps/ssr-s2jt/WEB-INF/classes/edu/asu/vpia/ssr/actions/] matching criteria: org.apache.struts2.config.ClasspathConfigurationProvider$1@77eaf8
2006-11-15 13:12:46,601 DEBUG (org.apache.struts2.config.ClasspathConfigurationProvider:163) - Processing class edu.asu.vpia.ssr.actions.FindAlumniAction
Visiting more pages does not cause them to initialize again.