Starting and Stopping Oracle WebLogic

When using the Oracle WebLogic web server, you need to sign on to Oracle WebLogic before using these commands. Use the following commands in the Oracle WebLogic domain directory.

Note:

Starting from Oracle WebLogic 9.2 and later releases, all the Life-cycle management scripts and other batch scripts for the PIA server on Oracle WebLogic are located in <PIA_HOME>\webserv\<domain_name>\bin folder.

  • To start Oracle WebLogic Server as a Windows service, use the following command:

    Single Server:

    installNTservicePIA.cmd

    Multiple Servers or Distributed Servers:

    
    installNTservice.cmd ServerName
                   

    The resulting Windows service name will be WebLogicDomain-WebLogicServer. For example, to install a server named PIA as a Windows service in a domain named peoplesoft, run installNTservice.cmd PIA and you will see "peoplesoft-PIA" as a service.

  • To remove an Oracle WebLogic server Windows service, use the following command:

    uninstallNTservicePIA.cmd Server Name
                   

    Note:

    If you modify setenv.cmd, then you must uninstall the service using uninstallNTServicePIA.cmd ServerName , and then re-run installNTServicePIA.cmd ServerName .

  • To start Oracle WebLogic Server as a foreground process on a single server, use the following commands:

    On Microsoft Windows:

    startPIA.cmd
  • To start Oracle WebLogic Server as a foreground process on multiple-servers or distributed servers, use the following commands:

    1. Execute the following command:

      On Microsoft Windows:

      startWebLogicAdmin.cmd
    2. Then execute:

      On Microsoft Windows:

      startManagedWebLogic.cmd ManagedServerName
                           
  • To stop the server, use the following commands:

    • Single Server on Microsoft Windows:

      stopPIA.cmd
    • Multiple Servers or Distributed Servers on Microsoft Windows:

      stopWebLogic.cmd ManagedServerName
                           

For more information on working with Oracle WebLogic multiple servers or distributed servers, see the PeopleTools: System and Server Administration product documentation.

Note:

For more information on working with Oracle WebLogic multiple or distributed servers, search My Oracle Support.