SóProvas


ID
1897624
Banca
FGV
Órgão
IBGE
Ano
2016
Provas
Disciplina
Programação
Assuntos

Considere que um analista de suporte deseje remover o servidor de aplicação Tomcat (versão 9) que está sendo executado como um serviço no S.O. Windows sob o nome de tomcat9. O comando a ser utilizado pelo analista é:

Alternativas
Comentários
  • To remove the service, you need to use the //DS// parameter.
    If the service is running it will be stopped and then deleted.

    Remove the service named 'Tomcat7' C:\> tomcat7 //DS//Tomcat7

    If you gave the service an optional name, you need to specify it like this:

    Remove the service named 'MyService' C:\> tomcat7 //DS//MyService

     

    Fonte: https://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html#Removing_services

  • Tomcat9w is a GUI application for monitoring and configuring Tomcat services.

    The available command line options are:

    //ES// : Edit service configuration

    This is the default operation. It is called if the no option is provided but the executable is renamed to servicenameW.exe

    //MS// :  Monitor service

    Put the icon in the system tray

    Command line arguments

    Each command line directive is in the form of //XX//ServiceName

    The available command line options are:

    1) //TS//

    Run the service as console application

    This is the default operation. It is called if the no option is provided. The ServiceName is the name of the executable without exe suffix, meaning Tomcat9

    2) //RS//

    Run the service

    Called only from ServiceManager

    3) //SS//

    Stop the service

    4) //US//

    Update service parameters

    5) //IS//

    Install service

    6) //DS//

    Delete service

    Stops the service if running

  • Fonte: https://tomcat.apache.org/tomcat-9.0-doc/windows-service-howto.html

    .

    Tomcat9w is a GUI application for monitoring and configuring Tomcat services.

    .

    The available command line options are:
    //ES// : Edit service configuration -> This is the default operation. It is called if the no option is provided but the executable is renamed to servicenameW.exe
    //MS// :  Monitor service - Put the icon in the system tray

    .

    Command line arguments
    Each command line directive is in the form of //XX//ServiceName
    The available command line options are:
    1) //TS// - Run the service as console application. This is the default operation. It is called if the no option is provided. The ServiceName is the name of the executable without exe suffix, meaning Tomcat9
    2) //RS// - Run the service. Called only from ServiceManager
    3) //SS// - Stop the service
    4) //US// - Update service parameters
    5) //IS// - Install service
    6) //DS// - Delete service. Stops the service if running