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

           Summary: Make tomcat workers file reloadable
           Product: Tomcat Connectors
           Version: unspecified
          Platform: All
               URL: http://www.mail-archive.com/us...@tomcat.apache.org/ms
                    g81603.html
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Common
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: cont...@ruslan.org


Created an attachment (id=26007)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26007)
Patch for tomcat-connectors 1.2.30

File with mounts (one which specified using JkMountFile in apache connector)
already reloadable. The same functionality needed for workers file.

Besides obvious use to add or remove workers as needed, there is other reasons
to implement it. For example timeouts or activation can be either set at
startup time or modified through jkstatus interface. However, when modified
through the jkstatus, the same settings must be duplicated into workers file -
this is tedious and error-prone.

Also property like JkWorkersFileReload needs to be added.

I`ve created patch file partially implements such functionality,
with the following restrictions
 - Only Apache2 connector (tried on 2.2.16)
 - Requires JkShmSize directive to be used (to allocate enough space in shared
memory for future workers)
 - Only works during maintain phase, so JkWatchdogInterval must be set

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to