Setting the Bootstrap Location if P6 Integration API is in a Different WebSphere Domain from Your P6 Home Directory

Previous TopicNext TopicContents

If you will run the PrimaveraAPI.war file in the same domain as P6, skip this section and continue to Configuring P6 Integration API to be a New WebSphere Application.

If you will run the PrimaveraAPI.war file in a different domain from P6, set the location of your P6 bootstrap file. When you set the bootstrap argument, you will set it for the home directory where you want your PrimaveraAPI.war file to connect.

  1. Start the WebSphere Application Server.
  2. Launch the WebSphere Application Server Administrative Console.
  3. In the left-hand navigation pane:
    1. Expand Servers then Server Types.
    2. Click WebSphere application servers.
  4. On the Application servers screen, click the server name link.
  5. On the Configuration tab, under Server Infrastructure, expand Java and Process Management.
  6. Click Process Definition.
  7. Under Additional Properties on the right side, click Java Virtual Machine.
  8. On the Configuration tab, under Generic JVM arguments:
    1. Type (as all one line):

      -Dprimavera.bootstrap.home=p6home

      where p6home is the P6 home directory that was set during installation (for example, c:\P6EPPM_1\p6 in Windows or /usr/P6EPPM_1/p6 in UNIX) where you want your application to connect.

    2. If your bootstrap file has only one database, skip this step.

      If your bootstrap file contains more than one database, you need to add an argument clarifying which database you want to use. The line will look similar to the following:

      -Ddatabase.instance=db_id

      where db_id is the database instance you want to use (for example, -Ddatabase.instance=2).

      The whole line should look similar to the following (all one line):

      -Dprimavera.bootstrap.home=p6home -Ddatabase.instance=db_id

    3. Set the memory settings to maximize performance.
      • In Windows, the line should look similar to the following (all one line):

        -Dprimavera.bootstrap.home=p6home -Xms256m -Xmx512m

        where p6home is the P6 home directory that was set during installation (for example, C:\P6EPPM_1\p6).

      • In UNIX, the line will look similar to the following (all one line):

        -Dprimavera.bootstrap.home=p6home -Xms256m -Xmx512m

        where p6home is the P6 home directory that was set during installation (for example, /usr/P6EPPM_1/p6).

  9. Click OK.
  10. Click the Save link that appears within the message reporting changes.
  11. Restart the application server instance.

Related Topics

Configuring WebSphere for P6 EPPM Applications

Configuring P6 Integration API to be a New WebSphere Application

Deploying P6 Integration API in WebSphere

Starting and Stopping WebSphere for P6 EPPM



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

Last Published Thursday, February 04, 2016

PDF Library