Jeromy Evans
Mon, 05 May 2008 18:46:58 -0700
kal stevens wrote:
Struts2 leaves some threadlocals active that prevent it from shutting down cleanly.My company has migrated from struts1 to struts2, and we have had a few continual problems that we can not figure out how to deal with. First when we redeploy our application we have to remove everything in the work/Catalina directory, or the application may not be redeployed correctly. we have tried both a symbolic link from the webapps directory to a war file, and from the webapps directory to an exploded directory. Can someone point me to any information on how to fix this? or what might be causing the issue.
There is no fix in 2.0.11.x. There is a fix in 2.1.x. https://issues.apache.org/struts/browse/WW-2167 If there is a 2.0.12 release I'd vote for this 'fix' to be applied.
Change the setting for log4j. Set the logging level for org.apache.struts2.dispatcher.Dispatcher to none.Another issue is that when someone types in a bogus url we get an entry in the log4j logging So if someone types in www.example.com/member/visitors.do we get 2008-05-05 17:23:31,898 ERROR [Dispatcher] Could not find action or result There is no Action mapped for namespace /member and action name visitors. - [unknown location] Is there a recommended way of dealing with this?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]