Configuring WebLogic and OHS as a Service on Linux

Complete the following steps to install WebLogic and Oracle HTTPS Server (OHS) as a service on a Linux 64-bit operating system.

  1. Set WL_HOME as system environment variable or modify it in <unifier_home>/weblogic/setenv.sh. WL_HOME is the root directory of the WebLogic installation. For detailed instructions, refer to the topic, Creating a WebLogic Domain for Unifier on Windows to create the Domain Home for weblogic.

    For example: C:\Oracle\Middleware\wlserver_11\server

  2. Set the environment variables for Unifier. For detailed instructions, refer to Changing Unifier Configurator Settings on Windows.
  3. For WebLogic installed in production mode, create boot.properties at $DOMAIN_HOME/servers/<server_name>/security.
  4. Ensure all variables are set for a ROOT_USER.
  5. Login to Linux as a ROOT_USER.
  6. In the <unifier_home>/weblogic/unifier, modify values for the following parameters:
    • OHS_INSTANCE_HOME: The home directory of OHS.
    • UNIFIER_HOME: The home directory of Primavera Unifier.
    • OHS_USER: User who can start OHS. Alternatively, locate the user in the httpd.conf file.
    • WL_USER: User who can start WebLogic.

      Note: Change the command to start weblogic in accordance to the user privilege on the system.

  7. Ensure that when the server is restarted the Xvfb process is also started with the same DISPLAY value as follows for the ROOT_USER:
    1. Install Xvfb

      yum install Xvfb

    2. start Xvfb

      locate Xvfb (where Xvfb is installed)

      /usr/bin/Xvfb :99 -screen 0 1x1x8 &

    3. Edit the unifier file to add: export DISPLAY=:99
  8. Copy the unifier script into the /etc/rc.d/init.d folder
  9. To make the file executable, run the command: chmod 755 unifier
  10. To add the service at system reboot, run the command: chkconfig --add unifier
  11. To start the unifier service from the console, run the command: service unifier start

Stopping the Service

To stop the unifier service from the console, run the command: service unifier stop

Uninstalling the Service

To remove the service, run the command: chkconfig --del unifier

Related Topics

Configuring WebLogic for Unifier on Linux

Creating a WebLogic Domain for Unifier on Linux

Configuring WebLogic Basic Authentication on Linux

Starting the WebLogic Admin Server on Linux

Stopping the WebLogic Admin Server on Linux

Configuring SSL Hostname Verification



Legal Notices | Your Privacy Rights
Copyright © 1998, 2025

Last Published Monday, July 21, 2025