Editing the setDomainEnv File for P6 Progress Reporter

Previous TopicNext TopicContents

To continue configuring WebLogic for P6 Progress Reporter, edit the setDomainEnv file:

  1. Make a backup copy of the setDomainEnv file in case you need to undo any changes.
  2. Right-click the setDomainEnv file and select Edit.
  3. Locate the line that begins with one of the following:
  4. Add a new JAVA_OPTIONS= line below the line you located to set the Primavera bootstrap variable (it should be all one line with no space between "-" and "Dprimavera").
  5. If using Oracle Single Sign-On and you want to use an SSO login attribute other than the P6 Progress Reporter user name (for example, you want to use an e-mail address to login), add the following as all one line immediately after the Primavera configuration home variable:

    -DSSO.AlternateHeaderKey=Osso-User-Guid -DSSO.AlternateLDAPSearchAttribute=orclguid

    where Osso-User-Guid is the HTTP Header Key that contains the global user ID and orclguid is the LDAP attribute searched by the Header Key to authenticate users.

  6. If using the Sun JDK:
    1. Add new memory settings to maximize performance and increase the JVM MaxPermSize setting to avoid Out-of-Memory errors. (The MaxPermSize setting should be set to at least 256m.) To do this, add a USER_MEM_ARGS line so you can set the following values for NewSize, MaxNewSize, MaxPermSize, SurvivorRatio, total Initial size (-Xms), and Maximum heap size (-Xmx):

      -XX:NewSize=256m -XX:MaxNewSize=256m -XX:MaxPermSize=256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m

      Add the line immediately below the JAVA_OPTIONS line you created (all one line):

      • In Windows, the line should look similar to the following:

        set USER_MEM_ARGS=-XX:NewSize=256m -XX:MaxNewSize=256m -XX:MaxPermSize=256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m

      • In Unix, the line should look similar to the following:

        USER_MEM_ARGS="-XX:NewSize=256m -XX:MaxNewSize=256m -XX:MaxPermSize=256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m"

    2. Set the Java Virtual Machine by entering a variable for JAVA_VM. Add the line immediately below the USER_MEM_ARGS line you created.
      • In Windows, the line should look similar to the following:

        set JAVA_VM=-server

      • In Unix, the line should look similar to the following:

        JAVA_VM="-server"

  7. If using the JRockit JDK, modify memory settings to maximize performance. To do this, add a USER_MEM_ARGS line so you can set the following values for total Initial (-Xms) and Maximum heap (-Xmx) size.

    Add the line immediately below the JAVA_OPTIONS line you created (all one line):

  8. Save the changes to the setDomainEnv file and close it.
  9. Stop and restart the Admin Server.

Related Topics

Configuring WebLogic for P6 Progress Reporter

Creating a WebLogic Domain for P6 Progress Reporter

Starting WebLogic for P6 Progress Reporter

Stopping the WebLogic Server for P6 Progress Reporter

Starting and Stopping Managed Servers



Legal Notices
Copyright © 1999, 2014, Oracle and/or its affiliates. All rights reserved.

Last Published Wednesday, February 19, 2014

PDF Library