You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/03/21 08:55:31 UTC

DO NOT REPLY [Bug 52955] New: Add a ThreadFactory implementation to the ExecutorService used to deploy applications

https://issues.apache.org/bugzilla/show_bug.cgi?id=52955

             Bug #: 52955
           Summary: Add a ThreadFactory implementation to the
                    ExecutorService used to deploy applications
           Product: Tomcat 7
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: bugzilla@pidster.com
    Classification: Unclassified


Created attachment 28488
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28488
ThreadFactory implementation for ContainerBase ExecutorService

The current implementation of the ExecutorService (in ContainerBase) uses the
default thread factory, producing Threads named "pool-1-thread-1".

Thread properties can be customised using a thread factory, modifying the
naming scheme will help users identify container threads.

Patch attached.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 52955] Add a ThreadFactory implementation to the ExecutorService used to deploy applications

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52955

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
This feature has been independently implemented by Keiichi Fujino when fixing
bug 53342 in r1345026 and will be in 7.0.28.

The thread names are container.getName() + "-startStop-" + number.
E.g. "localhost-startStop-1".

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org