tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henrik Vendelbo" <hvende...@bluprints.com>
Subject Re: Stop Tomcat Remotely
Date Sun, 28 Sep 2003 20:36:35 GMT
What about Java Management Extensions (JMX) and MBeans. Perhaps they will do
it for you ?

----- Original Message ----- 
From: "Filip Hanik" <devlists@hanik.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, September 24, 2003 10:28 PM
Subject: Re: Stop Tomcat Remotely


> I was under the impression, and this has maybe already been answered, that
> because of security issues, 8005 only accepts connections from the same
host
>
> Filip
> ----- Original Message -----
> From: "Allen Hadden" <ahadden@authentica.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, September 24, 2003 1:49 PM
> Subject: RE: Stop Tomcat Remotely
>
>
>
> If it's running as a Windows service, do this:
>
> (note that these instructions are for Windows 2000):
>
> 1.  Right click on My Computer and select Manage.  The Computer Management
> window opens.
> 2.  Right click on Computer Management and select the "Connect to another
> computer..."
> 3.  Select the computer running the Tomcat service.
> 4.  Go to "Services and Applications > Services".  Find your service and
> stop it.
>
> Of course, there are Windows permission issues involved, but you
presumably
> have the appropriate permissions to do this.
>
> Hope this helps.
>
> Allen
>
> > -----Original Message-----
> > From: srinath narasimhan [mailto:srinath@nuviewinc.com]
> > Sent: Wednesday, September 24, 2003 4:33 PM
> > To: Tomcat Users List
> > Subject: RE: Stop Tomcat Remotely
> >
> >
> >
> > I tried that, one 8005 is not even open ( I don't know if
> > this is because
> > tomcat runs as a windows service )
> > The documentation says that that can be done only from the
> > local computer.
> >
> > -----Original Message-----
> > From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
> > Sent: Wednesday, September 24, 2003 15:20
> > To: Tomcat Users List
> > Subject: RE: Stop Tomcat Remotely
> >
> >
> >
> > Howdy,
> > And what happens if you telnet to the host where tomcat is running, to
> > the port specified as the server port (not the connectors) in tomcat's
> > server.xml, and type SHUTDOWN?
> >
> > Yoav Shapira
> > Millennium ChemInformatics
> >
> >
> > >-----Original Message-----
> > >From: srinath narasimhan [mailto:srinath@nuviewinc.com]
> > >Sent: Wednesday, September 24, 2003 3:14 PM
> > >To: Tomcat Users List
> > >Subject: RE: Stop Tomcat Remotely
> > >
> > >Well sometimes you have no choice or its not in your hands to decide.
> > >I know it can be done in unix.
> > >It can be done in windows as well if you enable telnet or using WMI
> > scripts
> > >( those involve other security rights issues same as in unix).
> > >What I was expecting is somehow make a socket ( telnet )
> > connection to
> > a
> > >port
> > >on which the tomcat server is listening ( not 8080 ) and send a
> > command.
> > >
> > >Thanks.
> > >
> > >-----Original Message-----
> > >From: Greg Ward [mailto:gward-work@python.net]
> > >Sent: Wednesday, September 24, 2003 14:52
> > >To: Tomcat Users List
> > >Subject: Re: Stop Tomcat Remotely
> > >
> > >
> > >On 24 September 2003, srinath narasimhan said:
> > >> Is there any way to stop tomcat from remote computer ?
> > >> Tomcat is run as windows service.
> > >
> > >Well, how do you normally run commands remotely with Windows?
> > >If the server is a Unix box, you could do this:
> > >
> > >  ssh user@server "$CATALINA_HOME/bin/catalina.sh stop"
> > >
> > >or even this:
> > >
> > >  ssh user@server "echo SHUTDOWN | nc localhost 8005"
> > >
> > >If Windows doesn't have a way to execute commands remotely, what on
> > >earth are you doing using it as a server OS?
> > >
> > >        Greg
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> >
> > This e-mail, including any attachments, is a confidential business
> > communication, and may contain information that is
> > confidential, proprietary
> > and/or privileged.  This e-mail is intended only for the
> > individual(s) to
> > whom it is addressed, and may not be saved, copied, printed,
> > disclosed or
> > used by anyone else.  If you are not the(an) intended
> > recipient, please
> > immediately delete this e-mail from your computer system and
> > notify the
> > sender.  Thank you.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>



Mime
View raw message