Title: RE: [JBoss-user] Remote Shutdown of JBoss Server

Hello,

What exactly does that shutdown mbean look like? Or, better, where is it deployed? It seems like the remote shutdown program works happily whether or not jmx-console is there or if security is turned on for it, etc.

The goal is to keep a casual user from running shutdown accidentally or otherwise. It seems that the shutdown program gets a proxied connection to the core server-- am I reading that wrong?

It seems to work the way I want if I change jboss-service.xml in jmx-rmi-adaptor.sar/META-INF so the rmiadaptor name disappears, but that seems a little sketchy.

I am using jboss3.2RC2/win2k/jvm1.3.

thanks!

- scott r


> -----Original Message-----
> From: David Jencks [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 02, 2003 10:25 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Remote Shutdown of JBoss Server
>
>
> less drastically you could not deploy the shutdown mbean.  I
> think most
> versions of jboss 3+ do not use jmx-console to shutdown
> remotely, instead
> communicating directly with the jmx server and using the
> shutdown mbean.
>
> david jencks
>
> On 2003.01.02 13:19:59 -0500 JD Brennan wrote:
> > One way would be to turn off the jmx-console by deleting the
> > jmx-console.war
> > in the deploy directory.
> > 
> > JD
> > 
> > -----Original Message-----
> > From: FLYNN, Peter -Syntegra UK [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 02, 2003 9:08 AM
> > To: Jboss-User (E-mail)
> > Subject: [JBoss-user] Remote Shutdown of JBoss Server
> >
> >
> >
> > Hi,
> >
> > I've noticed that the scripts allow you to specify another
> server as a
> > parameter and shut it down.
> > Is there a way to stop anyone remotely shutting down the
> JBOSS server
> > when
> > they use the shutdown.bat command file?
> >
> > Regards,
> > Peter
> >
> >
> >
> > ********************************************************************
> >
> > This email may contain information which is privileged or
> confidential.
> > If
> > you are not the intended recipient of this email, please notify the
> > sender
> > immediately and delete it without reading, copying,
> storing, forwarding
> > or
> > disclosing its contents to any other person
> > Thank you
> >
> > Check us out at http://www.syntegra.com
> >
> > ********************************************************************
> >
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML><HEAD>
> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
> charset=iso-8859-1">
> > <TITLE>Remote Shutdown of JBoss Server</TITLE>
> >
> > <META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
> > <BODY>
> > <DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
> > class=220261918-02012003><STRONG>One way would be to turn off the
> > jmx-console by
> > deleting the jmx-console.war</STRONG></SPAN></FONT></DIV>
> > <DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
> > class=220261918-02012003><STRONG>in the deploy
> > directory.</STRONG></SPAN></FONT></DIV>
> > <DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
> > class=220261918-02012003></SPAN></FONT>&nbsp;</DIV>
> > <DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
> > class=220261918-02012003><STRONG>JD</STRONG></SPAN></FONT></DIV>
> > <DIV><FONT color=#000080 face="Comic Sans MS" size=2><SPAN
> > class=220261918-02012003></SPAN></FONT>&nbsp;</DIV>
> > <DIV align=left class=OutlookMessageHeader dir=ltr><FONT
> face=Tahoma
> > size=2>-----Original Message-----<BR><B>From:</B> FLYNN,
> Peter -Syntegra
> > UK
> > [mailto:[EMAIL PROTECTED]]<BR><B>Sent:</B> Thursday,
> January 02,
> > 2003
> > 9:08 AM<BR><B>To:</B> Jboss-User
> (E-mail)<BR><B>Subject:</B> [JBoss-user]
> > Remote
> > Shutdown of JBoss Server<BR><BR></FONT></DIV>
> > <P><FONT size=2>Hi, </FONT></P>
> > <P><FONT size=2>I've noticed that the scripts allow you to specify
> > another
> > server as a parameter and shut it down. </FONT><BR><FONT
> size=2>Is there
> > a way
> > to stop anyone remotely shutting down the JBOSS server when
> they use the
> > shutdown.bat command file?</FONT> </P>
> > <P><FONT size=2>Regards,</FONT> <BR><FONT size=2>Peter</FONT>
> > </P><CODE><FONT
> >
> size=3><BR><BR>***********************************************
> *********************<BR><BR>This
> >
> > email may contain information which is privileged or
> confidential. If you
> > are
> > not the intended recipient of this email, please notify the sender
> > immediately
> > and delete it without reading, copying, storing, forwarding
> or disclosing
> > its
> > contents to any other person<BR>Thank you<BR><BR>Check us out at
> >
http://www.syntegra.com<BR><BR>********************************************************************<BR></FONT></CODE></BODY></HTML>

>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to