|
Hi Chad, I'm having a taxing couple of days. > Is this tool installed on the server or my PC? Install it on the PC from which you want to send the command to the server. You can also install it on the server and run it locally, but for another PC to stop the service remotely, it must be on that computer ( ignoring shares, etc ). The download includes help files. The sc description also has a local link to "Using SC.EXE to Develop Windows NT Services" (SC-DEV.TXT), which you'll want to read. The basics, for remote, are > > sc \\servername stop catalina-service-name. just as Narayanan described. Joe Sam Joe Sam Shirah - http://www.conceptgo.com conceptGO - Consulting/Development/Outsourcing Java Filter Forum: http://www.ibm.com/developerworks/java/ Just the JDBC FAQs: http://www.jguru.com/faq/JDBC Going International? http://www.jguru.com/faq/I18N Que Java400? http://www.jguru.com/faq/Java400 ----- Original Message ----- From: "cornelius, chad" <chad.cornelius@xxxxxxxxxxxxxxxxxxxx> To: "'Java Programming on and around the iSeries / AS400'" <java400-l@xxxxxxxxxxxx> Sent: Wednesday, April 14, 2004 7:03 PM Subject: RE: Remotely Stoping Tomcat running as a Service on NT > Thanks Joe Sam... Is this tool installed on the server or my PC? > > Thanks, > Chad > > > -----Original Message----- > From: Joe Sam Shirah [mailto:jshirah@xxxxxxxxxxxxx] > Sent: Wednesday, April 14, 2004 3:48 PM > To: Java Programming on and around the iSeries / AS400 > Subject: Re: Remotely Stoping Tomcat running as a Service on NT > > > Sorry, I missed the "remote" part. Narayanan is correct about the sc > tool. It's available in the Windows NT 4.0 Resource Kit Support Tools at: > > <http://www.microsoft.com/ntserver/nts/downloads/recommended/ntkit/default.a > sp> > > It's a free subset of the full Resource Kit. > > > Joe Sam > > > ----- Original Message ----- > From: "Narayanan R Pillai" <strqst400@xxxxxxxxx> > To: "Java Programming on and around the iSeries / AS400" > <java400-l@xxxxxxxxxxxx> > Sent: Wednesday, April 14, 2004 3:54 PM > Subject: Re: Remotely Stoping Tomcat running as a Service on NT > > > > Used to be a kit available from MS IIRC called remote admin kit. That had > a > > command 'sc'. If you can find that and install it on the NT Server then > you > > could issue a command that looked like > > sc \\servername stop catalina-service-name. > > > > > > Pillai, Narayanan R > > > > ----- Original Message ----- > > From: "cornelius, chad" <chad.cornelius@xxxxxxxxxxxxxxxxxxxx> > > To: <JAVA400-L@xxxxxxxxxxxx> > > Sent: Wednesday, April 14, 2004 2:49 PM > > Subject: Remotely Stoping Tomcat running as a Service on NT > > > > > > > Does anyone know if there is a way to stop tomcat running as a service > on > > an > > > NT Server? I need to stop it from my PC. The command that we have used > > to > > > start it is "C:\Program Files\Apache Software\Tomcat > 5.0\bin\tomcatw.exe" > > > //GT//Tomcat5. > > > > > > > > > > > > Thanks, > > > > > > Chad > > > > > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.