You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/04/30 16:06:15 UTC
[jira] [Created] (DAEMON-297) Show jsvc path in debug output
Sebb created DAEMON-297:
---------------------------
Summary: Show jsvc path in debug output
Key: DAEMON-297
URL: https://issues.apache.org/jira/browse/DAEMON-297
Project: Commons Daemon
Issue Type: Improvement
Reporter: Sebb
>From a question on the user list:
{code}
$ jsvc -jvm server -debug -home /usr/lib/jvm/java-6-openjdk -cp commons-daemon-1.0.15.jar:api-monitor.jar ApiMonitorDaemon
+-- DUMPING PARSED COMMAND LINE ARGUMENTS --------------
| Detach: True
| Show Version: No
| Show Help: No
| Check Only: Disabled
| Stop: False
| Wait: 0
| Run as service: No
| Install service: No
| Remove service: No
| JVM Name: "server"
| Java Home: "/usr/lib/jvm/java-6-openjdk"
| PID File: "/var/run/jsvc.pid"
| User Name: "null"
| Extra Options: 1
| "-Djava.class.path=commons-daemon-1.0.15.jar:api-monitor.jar"
| Class Invoked: "ApiMonitorDaemon"
| Class Arguments: 0
+-------------------------------------------------------
...
JSVC re-exec requires execution with an absolute or relative path
{code}
Note that the jsvc path is not part of the debug output; it should be, given that it is validated.
The validation result could also be shown in the debug output, for example:
{code}
| JSVC path: "jsvc" : path error - must contain /
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira