On 6/2/10 7:29 AM, RogerV wrote:
I'm using the Exec&Wait interceptor in a couple of places. I've noticed that
while the long running process is in progress, every time the wait screen
polls the action I get [WARN,TokenHelper] Could not find token mapped to
token name struts.token in my logs.
ExecuteAndWaitInterceptor.java contains:
if (TokenHelper.getToken() != null) {
session.put(TokenHelper.getTokenName(),
TokenHelper.getToken());
}
And getToken() calls getToken("struts.token"), which leads to:
TokenHelper.java line 108: LOG.warn("Could not find token mapped to
token name " + tokenName);
If you're not using the token stuff at all and just want to eliminate
the log messages, you could change the log levels on
org.apache.struts2.util.TokenHelper...
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org