struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Brown <mr...@twdata.org>
Subject Re: Plugins and zero-config initializing twice?
Date Wed, 15 Nov 2006 20:27:19 GMT
Yeah, I noticed that too...it seems it thinks struts-default.xml has 
changed...there could be either a reset of the FileManager somewhere or 
it isn't properly marked when first loaded.  Open up a ticket and I'll 
look at it soon.

Don

Wendy Smoak wrote:
> The Spring integration plugin seems 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/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/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.
>
> (And ClasspathConfigurationProvider needs a better toString method. :) )
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message