https://issues.apache.org/bugzilla/show_bug.cgi?id=55104
Bug ID: 55104
Summary: Allow passing arguments with spaces to Commons Daemon
Product: Tomcat 7
Version: 7.0.41
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Integration
Assignee: [email protected]
Reporter: [email protected]
With the current version of the Commons Daemon wrapper script (daemon.sh) it's
not possible to pass arguments with spaces to jsvc.
For example jsvc fails to start with the following command:
JSVC_OPTS="-XX:OnOutOfMemoryError='/bin/ls foo bar'" daemon.sh start
The attached patch makes it possible to pass arguments with spaces to Commons
Daemon like this:
daemon.sh start -XX:OnOutOfMemoryError='/bin/ls foo bar'
The patch also allows daemon.sh invoker override hardcoded arguments (i.e.
"-wait"). Overriding the current wait default value is often required because
Tomcat startup may take a long time due to entropy read operation blocking by
default on Linux.
--
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]