nce the
'stopServer' method is intended for a stand-alone TC, I'm going to guess
that you won't get much developer interest in removing the System.exit
calls.
>
> ----- Original Message -
> From: "Pid" <[EMAIL PROTECTED]>
> To: "Tomcat Us
> From: Fargusson.Alan [mailto:[EMAIL PROTECTED]
> Subject: RE: TOMCAT ISSUE: System.Exit
>
> Is System.exit implemented in Tomcat? I thought System.exit
> is implemented in the JVM.
It's part of the JRE. Tomcat merely makes use of it in a few places.
- Chuck
TH
Is System.exit implemented in Tomcat? I thought System.exit is implemented in
the JVM.
-Original Message-
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 24, 2007 11:47 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: TOMCAT ISSUE: System.Exit
Ok... beginning
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Subject: Re: TOMCAT ISSUE: System.Exit
>
> yes it is a kludge, and I doubt very much whether changing
> anything in catalina.policy will do anything in this case...
It's certainly not a kludge; one of the primary functions o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
> Ok... beginning to think I'm the only one reading here... yes it is a
> kludge, and I doubt very much whether changing anything in
> catalina.policy will do anything in this case...
I'm not expert (never used SecurityMana
hing to think
about
- Original Message -
From: "Pid" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, May 24, 2007 8:04 PM
Subject: Re: TOMCAT ISSUE: System.Exit
Johnny Kewl wrote:
Ha ha... I think this is a kludge,
Using a SecurityManager
- Original Message - From: "Peter Crowther"
<[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, May 24, 2007 6:21 PM
Subject: RE: TOMCAT ISSUE: System.Exit
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Imagine I make a library for you... and your u
hich to me is wrong... but hey, I'll try it.
- Original Message -
From: "Peter Crowther" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, May 24, 2007 6:21 PM
Subject: RE: TOMCAT ISSUE: System.Exit
From: Johnny Kewl [mailto:[EMAIL PROTECTED
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Imagine I make a library for you... and your user application
> does something
> wrong... and then my library calls System.Exit and shuts down
> the JVM... how
> you going to fix that with a security manager??
The security manager can prevent th
security manager??
- Original Message -
From: "Pid" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, May 24, 2007 2:54 PM
Subject: Re: TOMCAT ISSUE: System.Exit
Look up 'SecurityManager'.
p
Johnny Kewl wrote:
I'm busy having
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Subject: TOMCAT ISSUE: System.Exit
>
> TOMCAT ISSUE: System.exit(1)...
> In an embedded application, these System.exit(1) kill the
> entire application.
Wouldn't you normally control that by proper settings in your
j
for the changes, I'm making a
modified Tomcat prototype called WildCat, so anyone interested can play with
that.
TOMCAT ISSUE: System.exit(1),
In Catalina -> public void stopServer(String[] arguments)
} catch (IOException e) {
log.error("Catalina.stop: &
rototype called WildCat... so anyone interested can
play with that.
TOMCAT ISSUE: System.exit(1)...
In Catalina -> public void stopServer(String[] arguments)
} catch (IOException e) {
log.error("Catalina.stop: ", e);
//System.exit(1); //MODIFIED
13 matches
Mail list logo