DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34199>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34199

           Summary: [commons-daemon]: jsvc should return non-0 code if class
                    not found
           Product: Commons
           Version: 1.0 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: Daemon
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Configuration:

Red Hat Linux 9
j2sdk-1_4_2_07
jsvc 1.0


Expected behavior:

jsvc should return a non 0 return code if it encounters an error itself (not the
java class).

Actual behavior:

If the java class it wants to execute cannot be found then jsvc returns
immediately with a return code of 0.

jsvc seems to be designed to return error codes as can be seen from
the error message:

jsvc.exec error: An error was detected checking the NoSuchClass daemon
jsvc.exec error: Service exit with a return value of 2

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to