Restarting Order Administration
Purpose: It is necessary to restart Order Administration in order for certain changes to take effect; see Restarting the Order Administration Application Servers.
When Cloud administration staff restart Order Administration, the system also looks at settings in Working with Admin Properties (CPRP) to determine the periodic process and its assigned periodic functions to run once Order Administration has restarted; see Running a Periodic Process on Server Startup.
Before restarting: Notify all users before restarting Order Administration, as restarting ends all currently open sessions and stops all active jobs.
Note:
If Cloud administration staff restart Order Administration without first stopping all active processes and completing the associated running jobs, the processes and jobs will not end normally. Any processes and jobs that did not end normally will need to be reset to inactive manually when you log back in to Order Administration.
Restarting the Order Administration Application Servers
Use the following steps to restart one or more of the Order Administration application servers.
-
Log in to the WebLogic Server Administration Console. The user ID you log in with must be part of the Administrators group.
-
On the home page, locate the Environment pane and click Clusters to advance to the Summary of Clusters page.
-
On the Summary of Clusters page, click the name of the cluster used for Order Administration to advance to the Settings for Cluster page.
-
On the Settings for Cluster page, click the Control tab to display the application servers for Order Administration. The State of the server indicates whether the application is currently running.
To stop one or more application servers that is currently running:-
Select the check box next to the server and click Shutdown > Force Shutdown Now. At the confirmation window, click Yes to shut down the server.
-
Refresh the screen until the State of the server is SHUTDOWN and the Status of Last Action is TASK COMPLETED.
To start one or more application servers that is currently shutdown:-
Select the check box next to the server and click Start. At the confirmation window, click Yes to start the server.
-
Refresh the screen until the State of the server is RUNNING and the Status of Last Action is TASK COMPLETED.
-
Running a Periodic Process on Server Startup
When Cloud administration staff restart Order Administration (see Restarting Order Administration), the system looks at the settings in Working with Admin Properties (CPRP) to determine the periodic process and its assigned periodic functions to run on server startup.
Why run a periodic process at startup? Typically, you would assign the periodic functions that start the async, e-commerce, integration layer jobs, and Drop Ship Background job to the periodic process that starts on server startup. However, you can assign any periodic function to the periodic process that runs on server startup. You can use the Work with Process Assignments Screen (Assigning Functions to a Periodic Process) in Working with Periodic Processes (WPPR) to assign periodic functions to the periodic process and select which of these periodic functions will run the next time you restart Order Administration. See Periodic Functions Available to Schedule for a list of periodic functions available to assign to the periodic process that is scheduled to run on server startup.
Scheduled jobs: When Order Administration executes the specified periodic process at server startup, the system schedules the periodic process to run one time. You can review the periodic process on the Scheduled Jobs Screen. TSee Scheduling Jobs for more information on scheduled jobs.
Note:
If you have scheduled the periodic process to run on server startup, do not define a job schedule for this periodic process. Instead, create one periodic process to run on server startup and a separate periodic process to schedule for other times. See Defining the Job Schedule for more information on setting up a schedule for a periodic process.
Application log: The system writes a message to the Application Log if its Logging Level is set to INFO and you do not set up the monitor properties correctly; for example: StartUpPeriodicProcess failed to start because Scheduling is not allowed on this server. If an error occurs, you need to correct the error and stop and restart Order Administration.
Monitor Property Settings
The Monitor Properties in Working with Admin Properties (CPRP) contain the settings required to have the system run a specified periodic process and its assigned periodic functions when you restart Order Administration.
Property Name | Description |
---|---|
STARTUP_ PERIODIC_ PROCESS_TO_RUN |
The name of the periodic process to run when you restart Order Administration. The process you enter must be a valid periodic process with assigned periodic functions. See Working with Periodic Processes (WPPR) for more information on creating a periodic process and how to assign periodic functions to it. |
STARTUP_ COMPANY_TO_RUN_ PERIODIC_ PROCESS |
The company number used to run a periodic function that requires a company to be defined. If none of the periodic functions require a company number, enter your default company number or 1. Valid values are 1-999. The system does not validate that your entry is a valid company number. |