I’m using struts2 and have a long running process which utilizes the execAndWait interceptor. I recently upgraded to a newer release of struts and now get the following error in my log – I think it occurs each time the execAndWait calls back to the server…
06-Nov-2012 11:27:59 [org.apache.struts2.util.TokenHelper] WARN –
Could not find token mapped to token name struts.token
I’ve hunted round and seen the question asked on other sites but no satisfactory answers posted.
ExecuteAndWaitInterceptorinterceptor tries to findtokenand puts it in session because of theTokeninterceptor see https://issues.apache.org/jira/browse/WW-1741.As for the warning you could modify your log level for
TokenHelperclass.