commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34199] New: - [commons-daemon]: jsvc should return non-0 code if class not found
Date Mon, 28 Mar 2005 00:51:39 GMT
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: bht@actrix.gen.nz


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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message