6 Aug
2009
6 Aug
'09
1:50 p.m.
Five +1 and no other votes, committing now On Sat, Aug 1, 2009 at 23:09, Thomas Mortagne<[email protected]> wrote:
Hi devs,
When we have farm like xwiki.org or myxwiki.org stuck we usually kill the jvm and look at its last state to see if we can find some lock etc...
Most of the time if the issue is in a specific script and not a platform bug it's unreadable. To make it more easy I propose to rename thread created by the application server based on the URL.
Basically it means something like adding:
Thread.currentThread().setName(request.getRequestURL() + "?" + request.getQueryString());
in XWikiAction#initializeXWikiContext.
I tested it on tomcat and it works well.
WDYT ?
Here is my +1 for this
-- Thomas Mortagne
-- Thomas Mortagne