Setting Arguments

Use these instructions for each P6 EPPM application that you deploy in a managed or clustered server. To continue configuring WebLogic for P6, you must add the following arguments to your managed or clustered server in the WebLogic Remote Console.

To set WebLogic Server arguments:

  1. Launch the WebLogic Remote Console.
  2. In the NavStrip, click Edit Tree.
  3. In the Navigation Tree, expand Environment, then expand Servers, and select the server for which you want to set arguments.
  4. In the Content Pane, click the Advanced tab, then click the Node Manager tab.
  5. In the Arguments field, enter the following arguments, as necessary, in the order they appear here:
    • -server
    • -Dprimavera.bootstrap.home=<P6_EPPM_BootStrap_Home>

      where <P6_EPPM_BootStrap_Home> is the home directory of BREBootStrap.xml. If you do not have a BREBootStrap.xml file for your P6 EPPM implementation, you can create one by creating a P6 EPPM configuration using the Database Configuration wizard. For more information about using the Database Configuration wizard, see the P6 EPPM Database Administration Guide.

    • -Ddatabase.instance=db_id

      Include this argument to establish a default database connection for P6 Team Member, P6 EPPM Web Services, and P6 Integration API if you use more than one database instance. You do not need to set this argument for P6.

    • -Dweblogic.webservice.i18n.charset=utf-8

      (Optional) Include this argument to allow WebLogic to process UTF-8 characters.

    • -Djava.awt.headless=true

      (With UNIX only) Include this argument if you are deploying P6 EPPM on a non-graphical UNIX environment. This argument sets the server's JVM to bypass server-side rendering optimizations. If you do not add the argument, you may not be able to see graphics on pages and the server logs will report NoClassDefFoundError errors.

    • -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory

      (Optional) Include this argument for improved performance when starting the WebLogic domain.

    • -Xms -Xmx

      (Optional) Include this argument to set the initial and maximum heap size.

      As a general rule, set the initial heap size (-Xms) equal to the maximum heap size (-Xmx) to minimize garbage collection.

    • -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:GCTimeRatio=19

      (Optional) Include this argument if you are running Publication Services on a larger database.

    • -Xloggc:<Log_Path>

      Include this argument to collect garbage logs if you have memory issues on JVM.

    For example:

    (With Windows)

    -server -Dprimavera.bootstrap.home=<P6_EPPM_Home> -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory -Xms2048m -Xmx2048m -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:GCTimeRatio=19 -Xloggc:<Log_Path>

    (With UNIX)

    -server -Dprimavera.bootstrap.home=<P6_EPPM_Home> -Djava.awt.headless=true -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory -Xms2048m -Xmx2048m -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:GCTimeRatio=19 -Xloggc:<path to the log file>

    Note If you use additional arguments that are not listed here, be sure to list them in the correct sequence for your environment.

  6. Click Save.
  7. Click Click to view shopping cart actions, and select Commit Changes.

Related Topics

Configuring WebLogic for P6 EPPM

Creating a Domain with Servers

Adding Applications and Help to Managed Servers

Modifying setDomainEnv for Applications Deployed on Administration Servers

Product-Specific Configurations



Last Published Wednesday, February 25, 2026