Start a conversation

How to Restart ServiceGateway Application? - Weblogic Services Only

Article Original Creation Date: 2010-03-22

Problem

This document explains how to restart ServiceGateway Weblogic Services. Please note that the following procedure holds good only for Weblogic and JBoss has a different procedure.
Please make sure that you confirm with the customer on the process they follow, since the process outlined here is generic.
 

Environment

Solaris/Oracle

Solution

Shutting Down the Service

The order to be followed when shutting down the servers is:

  1. Shutdown the ACS servers.
  2. Shutdown the application servers.
    1. Shutdown the timer service.
    2. Shutdown the managed server.
    3. Shutdown the admin server.

Shutdown the ACS Servers

The steps to be followed to shut down the ACS servers are:

  1. Log on to the ACS server.
  2. Change the directory to the folder: cd /etc/init.d
  3. Execute the command: ./sprt_acs stop
  4. Once the command is executed successfully ensure that the tomcat is down by executing the following command: /usr/ucb/ps auxwww | grep java
  5. If any java process is running kill it using the following command: kill -9

Shutdown the Application Servers

The steps to be followed to shut down the Application servers and its services are:

Stopping the Timer Service

  1. Log on the application server.
  2. Change the directory to the folder: /etc/init.d
  3. Execute the command: ./sprt_timer stop
  4. Once the command is executed successfully ensure that the timer service is down by executing the following command: /usr/ucb/ps auxwww | grep java
  5. If you see the following process is running below, kill it using the following command: kill -9
root xxxx xxxx 0 XXX 01 ? 16:10 /export/home/weblogic/bea/jdk150_06/bin/java -Djava.security.auth.login.config=

Stopping the Weblogic service

Managed Servers

  1. Log on to the application server 1.
  2. Change the directory to the folder: cd /etc/init.d
  3. Execute the command: ./sprt_managed_weblogic stop
  4. Repeat the steps for the second application server.

Admin Server

  1. Go to the application server 1.
  2. Change the directory to the folder: cd /etc/init.d
  3. Execute the command: ./sprt_weblogic stop
  4. Once the command is executed successfully ensure that all the WebLogic services are down by executing the following command: /usr/ucb/ps auxwww | grep java
  5. If any java process is running kill it using the following command: kill -9

Staring the Service

The order to be followed to start the servers is:

  1. Start the application servers and their service.
    1. Start the admin server.
    2. Start the managed servers.
    3. Start the timer service.
  2. Start the ACS servers.

Start the Application servers and its service

Starting the WebLogic service

  1. Start the Weblogic Admin server.
    1. Log on to the WebLogic application server 1.
    2. Change the directory to the folder: cd /etc/init.d
    3. Execute the command: ./sprt_weblogic start
    4. Wait till the server gets started completely then start the managed server 1.
  2. Start the first managed server (servicegw1).
    1. To start the managed server 1 execute the command: ./sprt_managed_weblogic start.
    2. It will take around 2–3 minutes for the server to start. Once you get the message that the server is started successfully then start the managed server 2.
  3. Start the second managed server (servicegw2).
    1. To start the managed server 2 log on to the WebLogic application server 2.
    2. Change the directory to the folder: cd /etc/init.d
    3. Execute the command: ./sprt_managed_weblogic start
    4. Wait for the message that the server has been started successfully.
    5. To verify the ServiceGateway has started successfully login to the ServiceGateway portal by entering the following URL in the brower: http:// /servicegateway/
    6. You should be able to get the login screen.
  4. Start the timer service.
    1. Log on the application server1 (servicegw1).
    2. Change the directory to the folder: /etc/init.d
    3. Execute the command: ./sprt_timer start
    4. Once the command is executed successfully, repeat the above process for the other application server (servicegw2)

Starting ACS Servers

The steps to be followed to start the ACS servers are:

  1. Log on to the ACS server.
  2. Change the directory to the folder: cd /etc/init.d
  3. Execute the command: ./sprt_acs start
  4. Once the command is executed successfully press Enter key and exit the putty application.
  5. Repeat the above process for all the other ACS server.
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments