Starting WebLogic

This section discusses how to start WebLogic in various operating systems.

For single-server domains on any supported operating systems, use the PSADMIN Web (PIA) Server menus to start the PIA domain.

See Using the Web (PIA) Server Menu.

On Microsoft Windows, you can start WebLogic using:

  • command prompt.

  • Windows service.

Using the Command Prompt

Running WebLogic as a foreground process is beneficial if you need to monitor WebLogic in real time. To run WebLogic as a foreground process, enter one of the following commands at the command prompt in PIA_HOME\webserv\domain\bin.

Configuration Type

Command

Single server

startPIA.cmd

Multi server - domain admin server

startWebLogicAdmin.cmd

Multi server - managed server

startManagedWebLogic.cmd server

For example,

startManagedWebLogic.cmd PIA

Using the Windows Service

Benefits of running WebLogic as a Windows service include:

  • WebLogic can automatically start when the Windows server boots.

  • You can start and stop the service from a remote Windows machine.

To install the service, open the command prompt, and enter the appropriate command from your PIA_HOME\webserv\domain\bin directory:

Configuration Type

Command

Single server

installNTservicePIA.cmd

Multi server

InstallNTservice.cmd weblogic_server_instance_name

For example:

installNTservice.cmd PIA

To start WebLogic as a Windows service, you can:

  • Start the service by using the Services utility in the Windows Control Panel.

    The DPK setup script creates a service with the default name PsftPIADomainpeoplesoftService.

  • Start the service from a command prompt by entering the following command:

     NET START PsftPIADomainpeoplesoftService

Note: If WebLogic fails to start as a service, try starting it as a foreground process to make sure there are no general issues related to the startup.

To uninstall the service, enter the following command:

uninstallNTservicePIA.cmd

To start PeopleSoft on UNIX run the appropriate script in the WebLogic domain directory that the PeopleSoft install created, as in PIA_HOME/webserv/peoplesoft/bin.

Configuration Type

Command

Single server

startPIA.sh

Multi server - domain admin server

startWebLogicAdmin.sh

Multi server - managed server

startManagedWebLogic.sh server

For example,

startManagedWebLogic.sh PIA

When you run the above scripts, the server runs as background process.