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/[email protected]/ms
g81603.html
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Common
AssignedTo: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]