kal stevens wrote:
> 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.
>
>
Struts2 leaves some threadlocals active that prevent it from shutting
down cleanly.
There is no fix in 2.0.11.x. There is a fix in 2.1.x.
https://issues.apache.org/struts/browse/WW-2167If there is a 2.0.12 release I'd vote for this 'fix' to be applied.
> 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?
>
Change the setting for log4j. Set the logging level for
org.apache.struts2.dispatcher.Dispatcher to none.
---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@...
For additional commands, e-mail:
user-help@...