tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Feature request: "fullstart" command
Date Thu, 16 Jun 2011 11:30:08 GMT
On 16 June 2011 12:16, Francis GALIEGUE <fge@one2team.com> wrote:
> On Thu, Jun 16, 2011 at 13:04, sebb <sebbaz@gmail.com> wrote:
> [...]
>>
>> And it may cause problems on some OSes which don't use unix-style exit codes.
>> For example, OpenVMS uses the low order 3 bits of a process exit code
>> as a severity indicator, and odd is success, even is failure.
>> [IThe JVM automatically converts exit 0 to exit 1 to compensate, but
>> cannot deal with all exit codes].
>>
>
> It's up to main() to call System.exit(), so how is that a problem?

If the exit code is not passed to the OS, but is merely a method
return code, then of course it's not a problem.

But I understood the term "exit code" to mean the code returned to the
OS through System.exit().

> --
> Francis Galiegue
> ONE2TEAM
> Ingénieur système
> Mob : +33 (0) 683 877 875
> Tel : +33 (0) 178 945 552
> fge@one2team.com
> 40 avenue Raymond Poincaré
> 75116 Paris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message