Creating a Configuration and Key File

In order to automate the startup of the administration server and managed servers of your P6 EPPM deployment, you must create a configuration (userConfigFile) and key (userKeyFile) file. For more information about configuration and key files, refer to the Oracle Fusion Middleware Command Reference for Oracle WebLogic Server guide.

To create a configuration and key file:

  1. Start the WebLogic Domain's Administration Server by launching startWebLogic.sh from <WebLogic_Home>/user_projects/domains/<P6_EPPM_Domain>/bin/

    Where:

    • <WebLogic_Home> is the WebLogic home directory. The default is Oracle/Middleware/Oracle_Home.
    • <P6_EPPM_Domain> is the WebLogic domain for P6 EPPM that was set during configuration.
  2. Browse to the P6 home directory and create a new directory called scripts.
  3. Open the terminal console and run the following commands:

    cd <WebLogic_Home>/user_projects/domains/<P6_EPPM_Domain>/bin

    source setDomainEnv.sh

    <Java_Home>/bin/java.exe weblogic.WLST

    Note: If the <Java_Home> directory contains a space in the path, it should include quotations around the full path and executable being called.

    Where:

    • <Java_Home> is the path to the JDK that is used by WebLogic.
    • <WebLogic_Home> is the WebLogic home directory. The default is Oracle/Middleware/Oracle_Home.
    • <P6_EPPM_Domain> is the WebLogic domain for P6 EPPM that was set during configuration.
  4. At the wls:/offline> prompt, enter the following command:

    connect('<WebLogic_Username>','<WebLogic_User_Password>','<Admin_Server_Hostname>:<Admin_Server_Port>')

    Where:

    • <WebLogic_Username> is the name of the WebLogic administrator user for the domain.
    • <WebLogic_Password> is the password for the weblogic administrator.
    • <Admin_Server_Hostname> is the hostname where the administration server was installed.
    • <Admin_Server_Port> is the port number of administration server.
  5. At the wls:/mydomain/serverConfig> prompt, enter the following command:

    storeUserConfig('<P6_EPPM_Home>/scripts/primaveraConfig.secure', '<P6_EPPM_Home>/scripts/primaveraKeyfile.secure')

    Where: <P6_EPPM_Home> is the P6 EPPM home directory that was set during installation.

  6. Enter y at the following prompt:

    Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Do you want to create the key file? y or n

  7. Confirm that the following two files were created under the <P6_EPPM_Home>/scripts directory:

    primaveraConfig.secure and primaveraKeyfile.secure

    If these files were not created, repeat the previous steps.

Related Topics

Using the WebLogic Scripting Tool on Linux or UNIX

Associating the Administration Server with Machines on a P6 EPPM Domain

Configure a boot.properties File for the Administration and Managed Servers

Using WebLogic Scripting to Start the P6 EPPM WebLogic Domain

Using WebLogic Scripting to Stop the WebLogic Domain for P6 EPPM

Daemonizing the Node Manager for Primavera Applications

Starting the Node Manager with WebLogic

Setting the Node Manager as a Windows Service



Legal Notices | Your Privacy Rights
Copyright © 2023

Last Published Thursday, January 12, 2023