uh! well I guess you are right and even a kill shuts it down properly :)))

you know my codebase better than me then... good for you.

I am goof ball :))))

marc


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jesus M. Salvo Jr.
> Sent: Friday, August 11, 2000 6:24 PM
> To: jBoss
> Subject: Re: [jBoss-User] Clean shutdown of JBoss
> 
> 
> I made the 'mistake' of running jboss in  the background "java -jar
> run.jar&". I tried "kill <pid>", and it does seem to make a clean
> shutdown, with the output being:
> 
> ......
> [DataSource] Destroyed
> [Container factory] Stopping
> [Container factory] Stopped
> [Container factory] Destroying
> Shutting done  
> 
> ... or was this just luck that it did a clean shutdown even with kill?
> 
> 
> I wanted to run jboss as a daemon in Linux so as to start and stop it
> automatically. I read the source and noticed that it read from stdin and
> checks if a line equals the string "shutdown". I'll look into that.
> 
> 
> marc fleury wrote:
> > 
> > ctrl c *is* a clean shutdown in the case of jboss
> > kill is not
> > 
> > we have a "shutdown hook" that initiates the shutdown sequence 
> when you do
> > it.
> > try it
> > regards
> > 
> > marc
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Jesus 
> M. Salvo Jr.
> > > Sent: Friday, August 11, 2000 5:10 PM
> > > To: JBoss Mailing List
> > > Subject: [jBoss-User] Clean shutdown of JBoss
> > >
> > >
> > >
> > > This maybe a novice question, but is not stated in the FAQ.
> > >
> > > How do you cleanly shutdown JBoss? Is there a command/script 
> to cleanly
> > > shutdown, instead of using Ctrl+C or kill?
> > >
> > > Thanks,
> > >
> > > John
> > >
> > > --
> > > Homepage: http://homepages.tig.com.au/~jmsalvo/
> > >
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Problems?:           [EMAIL PROTECTED]
> > >
> > >
> > 
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Problems?:           [EMAIL PROTECTED]
> 
> -- 
> Homepage: http://homepages.tig.com.au/~jmsalvo/
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 
> 


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to