Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
From a question on the user list:
$ 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
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:
| JSVC path: "jsvc" : path error - must contain /