On 10/29/06 4:21 PM, "Don Brown" <[EMAIL PROTECTED]> wrote:

> Ok, I should have fixed the configuration files reloading too many
> times.  Unfortunately, if you use the action tag, they will still
> reload, as that tag doesn't fully use the ActionContext instance from
> the request (where the flag to not reload is stored

I'm not using an action tag. So, that shouldn't be the issue.
 
> If you can, check out trunk and ensure that the problem has been fixed for
> you.

OK, I checked out the 2.0.2 trunk, using:

svn checkout http://svn.apache.org/repos/asf/struts/struts2/trunk
struts2-parent

Then I built it using maven and I'm using the following two jars:

./api/target/struts2-api-2.0.2-SNAPSHOT.jar
./core/target/struts2-core-2.0.2-SNAPSHOT.jar

This is what I'm seeing in my log:

21:53:03,100 INFO  [STDOUT] 21:53:03,099 INFO  [XmlConfigurationProvider]
Parsing configuration file [struts-default.xml]
21:53:03,297 INFO  [STDOUT] 21:53:03,297 INFO  [XmlConfigurationProvider]
Parsing configuration file [struts-plugin.xml]
21:53:03,300 INFO  [STDOUT] 21:53:03,300 INFO  [XmlConfigurationProvider]
Parsing configuration file [struts.xml]
21:53:03,375 ERROR [STDERR] BEGIN: MenuInterceptor.init()
21:53:03,375 ERROR [STDERR] MenuInterceptor =
[EMAIL PROTECTED]
21:53:03,375 ERROR [STDERR] END: MenuInterceptor.init()
21:53:03,442 ERROR [STDERR] BEGIN: MenuInterceptor.intercept ()
21:53:03,470 INFO  [STDOUT] 21:53:03,470 INFO  [XmlConfigurationProvider]
Parsing configuration file [struts-default.xml]
21:53:03,664 INFO  [STDOUT] 21:53:03,664 INFO  [XmlConfigurationProvider]
Parsing configuration file [struts-plugin.xml]
21:53:03,667 INFO  [STDOUT] 21:53:03,667 INFO  [XmlConfigurationProvider]
Parsing configuration file [struts.xml]
21:53:03,759 ERROR [STDERR] BEGIN: MenuInterceptor.init()
21:53:03,759 ERROR [STDERR] MenuInterceptor =
[EMAIL PROTECTED]
21:53:03,760 ERROR [STDERR] END: MenuInterceptor.init()
21:53:04,085 ERROR [STDERR] MenuInterceptor =
[EMAIL PROTECTED]
21:53:04,085 ERROR [STDERR] END: MenuInterceptor.intercept ()


So, it looks to me like the interceptor is still being init'ed multiple
times.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to