EHC ❯ CachingFilter should not change Thread name
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
CachingFilter.checkNoReentry() changes the name of the Thread in order to check reentry. When the build page is generated, it changes the name of all the threads to the same name: “Application Server Thread”. It makes difficult to follow the execution path in the logs when all the application server threads have the same name. checkNoReentry() should return old thread name in order to be changed in the finally statement in buildPageInfo()
[email protected] Sourceforge Ticket ID: 1513436 - Opened By: nobody - 27 Jun 2006 15:37 UTC
Comments
Sourceforge Tracker 2009-09-21
Fiona OShea 2009-09-22
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira
Logged In: YES user_id=693320
Ok
At the beginning: String originalThreadName = Thread.currentThread().getName();
At the end in a finally() Thread.currentThread().setName(originalThreadName);
The “Application Server Thread” was an Orion specific thread naming convention.
This is in ehcache-1.2.2.
Greg Comment by: gregluck - 16 Jul 2006 08:07 UTC