Re: [JBoss-dev] Shutting down JBoss

2001-06-29 Thread Vinay Menon

Well,
Shutting down is on half of the story ain't it? You obviously want to
restart the server you shut down at some point of time! I'll try going thru
the these startup and shutdown classes and see if I can come up with
anything!

Thanks,

Vinay

PS: Thanks for the correcting the threads!=processes thing. just makes
it easier to putting a ps -ef output as processes!

- Original Message -
From: "Bill Burke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 29, 2001 8:10 PM
Subject: RE: [JBoss-dev] Shutting down JBoss


> Works great for me on Linux.
>
> Bill
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron
> > Mulder
> > Sent: Friday, June 29, 2001 2:56 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-dev] Shutting down JBoss
> >
> >
> > On Fri, 29 Jun 2001, Bill Burke wrote:
> > > You can shut it down very easy from the JMX interface.  Starting up is
a
> > > different story.
> >
> > Last time I tried this, it unloaded all the beans and services,
> > but did not actually cause the JVM to exit, so JBoss was still taking a
> > boatload of system resources.  Is there a "shutdown and exit" option
now?
> >
> > Aaron
> >
> >
> > ___
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-development
> >
>
>
>
> ___
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development


___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] Shutting down JBoss

2001-06-29 Thread Schaefer, Andreas

The org.jboss.Shutdown works fine for me to shut down
JBoss also from /etc/init.d on SuSE Linux 7.1.

Andy

> -Original Message-
> From: Scott M Stark [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 12:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] Shutting down JBoss
> 
> 
> There are two classes for this:
> 
> org.jboss.jmx.client.Stop
> org.jboss.Shutdown
> 
> I don't know how well they work. Shutdown just invokes the shudown
> method on the Shutdown service which you can do using the JMS
> html adaptor.
> 
> - Original Message -
> From: "Vinay Menon" <[EMAIL PROTECTED]>
> To: "Dev @ JBoss" <[EMAIL PROTECTED]>
> Sent: Friday, June 29, 2001 11:32 AM
> Subject: [JBoss-dev] Shutting down JBoss
> 
> 
> Alright,
>  This might sound a bit naive but do we need a 
> little simple gui that one can use to shut down JBoss or 
> restart it? When
> you run JBoss on the command line in Unix as a background 
> process [./run.sh&] it spawns loads of java processes that need to be
> killed. Is there a cleaner way to do this?
> 
> Vinay
> 
> 
> 
> ___
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
> 


___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] Shutting down JBoss

2001-06-29 Thread Bill Burke

Works great for me on Linux.

Bill

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron
> Mulder
> Sent: Friday, June 29, 2001 2:56 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-dev] Shutting down JBoss
>
>
> On Fri, 29 Jun 2001, Bill Burke wrote:
> > You can shut it down very easy from the JMX interface.  Starting up is a
> > different story.
>
>   Last time I tried this, it unloaded all the beans and services,
> but did not actually cause the JVM to exit, so JBoss was still taking a
> boatload of system resources.  Is there a "shutdown and exit" option now?
>
> Aaron
>
>
> ___
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>



___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] Shutting down JBoss

2001-06-29 Thread Scott M Stark

There are two classes for this:

org.jboss.jmx.client.Stop
org.jboss.Shutdown

I don't know how well they work. Shutdown just invokes the shudown
method on the Shutdown service which you can do using the JMS
html adaptor.

- Original Message -
From: "Vinay Menon" <[EMAIL PROTECTED]>
To: "Dev @ JBoss" <[EMAIL PROTECTED]>
Sent: Friday, June 29, 2001 11:32 AM
Subject: [JBoss-dev] Shutting down JBoss


Alright,
 This might sound a bit naive but do we need a little simple gui that one 
can use to shut down JBoss or restart it? When
you run JBoss on the command line in Unix as a background process [./run.sh&] it 
spawns loads of java processes that need to be
killed. Is there a cleaner way to do this?

Vinay



___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] Shutting down JBoss

2001-06-29 Thread Aaron Mulder

On Fri, 29 Jun 2001, Bill Burke wrote:
> You can shut it down very easy from the JMX interface.  Starting up is a
> different story.

Last time I tried this, it unloaded all the beans and services,
but did not actually cause the JVM to exit, so JBoss was still taking a
boatload of system resources.  Is there a "shutdown and exit" option now?

Aaron


___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] Shutting down JBoss

2001-06-29 Thread danch (Dan Christopherson)

Vinay Menon wrote:

> Alright,
> 
>  This might sound a bit naive but do we need a little simple 
> gui that one can use to shut down JBoss or restart it? When you run 
> JBoss on the command line in Unix as a background process [./run.sh&] it 
> spawns loads of java processes that need to be killed. Is there a 
> cleaner way to do this?
> 


Those aren't processes, they're threads. You only need to kill the root 
java one (do a `ps axf` and you'll see what I mean by 'root').

As for the first issue, point a browser at http://myserver:8082/ and 
look at the shutdown mbean.


-danch





___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] Shutting down JBoss

2001-06-29 Thread Bill Burke



You 
can shut it down very easy from the JMX interface.  Starting up is a 
different story.
 
Bill

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
  Vinay MenonSent: Friday, June 29, 2001 2:33 PMTo: 
  Dev @ JBossSubject: [JBoss-dev] Shutting down 
  JBoss
  Alright,
   
  This might sound a bit naive but do we need a little simple gui that one can 
  use to shut down JBoss or restart it? When you run JBoss on the command line 
  in Unix as a background process [./run.sh&] it spawns loads of java 
  processes that need to be killed. Is there a cleaner way to do 
  this?
   
  Vinay


[JBoss-dev] Shutting down JBoss

2001-06-29 Thread Vinay Menon



Alright,
 
This might sound a bit naive but do we need a little simple gui that one can use 
to shut down JBoss or restart it? When you run JBoss on the command line in Unix 
as a background process [./run.sh&] it spawns loads of java processes that 
need to be killed. Is there a cleaner way to do this?
 
Vinay