Configuring Gateway for P6 Event Notification for On-Premises

If you choose to use the P6 Event provider delivered in Gateway, then configure the Gateway WebLogic domain to consume P6 event messages as follows:

  1. Ensure the Primavera Gateway domain is running.
  2. Sign in to the WebLogic Administration Server Console for the Gateway domain:
    1. In a browser, enter the following location:

      http://<hostname>:<port>/console

      Where, hostname and port is the hostname and port of your Primavera Gateway domain in WebLogic. The default port is 7001.

    2. Enter the WebLogic administrator user name and password.
  3. In the Change Center pane, select Lock and Edit before you make any changes to the domain.
  4. Create a JMS server as follows.
    1. In the Domain Structure pane, expand Services, Messaging, JMS Servers.
    2. In the Summary of JMS Servers pane, select New.

      Note: Select Next on each screen to advance to the next step.

      1. Enter a Name for the JMS Server. For example, Gateway JMS Server.
      2. Select Create a New Store.
      3. In the Type list, select File Store.
      4. Enter a Name for the File Store.
      5. Select the Target for the file store:

        For Admin server, select AdminServer.

        For Managed server, select GatewayCluster.

      6. Enter the Directory of the physical location of the file store. For example, c:\JMSFilestore.
      7. Select OK.
      8. Select Finish.
  5. Create a JMS module as follows:
    1. In the Domain Structure pane, expand Services, Messaging, and JMS Modules.
    2. In the Summary of JMS Modules pane, select New.
      1. Enter a Name for the JMS module.
      2. Depending on your configuration, select the Target for the file store, as AdminServer, or GatewayCluster for a managed server.
      3. Select Finish.
  6. Create a Foreign Server in the JMS module as follows:
    1. In the Domain Structure pane, expand Services, Messaging, and JMS Modules.
    2. Select the JMS module created in step 5.
    3. On the Configuration tab of the Settings for <JMS Module> pane, select New.
    4. Select Foreign Server.
    5. Enter a Name for the foreign server.
    6. Depending on the configuration, select the Target as AdminServer, or gatewayCluster for a Managed server.
    7. Select Advanced Targeting and then select Create a New SubDeployment.
    8. Enter a name for the subdeployment and then select OK.
    9. In the subdeployment list, select the created subdeployment.
    10. Depending on your configuration, select the Target as AdminServer, or gatewayCluster for a Managed server, and the JMS server created in step 4.
    11. Select Finish.
    12. Select Save to save the foreign server with a subdeployment.
  7. Enter configuration settings for the foreign server created as follows:
    1. Select the foreign server created in step 6.
    2. In the Settings for <Foreign Server Name> pane, select the Configuration tab, and then the General tab.
    3. Select the new foreign server created and enter values for the following configuration settings:
      • In the JNDI Initial Context Factory field, retain the default value.
      • In the JNDI Connection URL field, enter the URL to the P6 EPPM domain in the format: t3://<P6_EPPM_host>:<port>/
      • In the JNDI Properties Credential field, enter the P6 EPPM WebLogic domain password.
      • In the Confirm JNDI Properties Credential field, reconfirm the entered password.
      • In the JNDI Properties field, enter the P6 EPPM WebLogic domain user name in the following format: java.naming.security.principal=<P6 EPPM WebLogic domain user name>
      • Select Save. The newly created foreign server displays in the Configuration tab.
    4. Create a connection factory for the foreign server as follows:
      1. In the Settings for <Foreign Server Name> pane, select the Configuration tab, and then the Connection Factories tab.
      2. Select New.
      3. Enter a Name for the connection factory.
      4. Enter the Local JNDI Name. For example, jms/newCF.

        Note: Make a note of the value entered in this field. You will need to enter this value to set up an event provider to a P6 Application deployment.

      5. Enter the JNDI name of the P6 EPPM Connection Factory as the Remote JNDI Name. For example, jms/P6ConnectionFactory.
      6. Select OK.
    5. Create a destination for the foreign server as follows:
      1. In the Settings for <Foreign Server Name> pane, select the Configuration tab, and then the Destinations tab.
      2. Select New.
      3. Enter a name for the foreign destination.
      4. In the Local JNDI Name, enter the name of the JMS queue used by Gateway. For example, jms/newGWQueue.

        Note: Make a note of the value entered in this field. You will need to enter this value to set up an event provider to a P6 Application deployment.

      5. Enter the name of the P6 EPPM JMS queue as the Remote JNDI Name. For example, jms/P6Queue.
      6. Select OK.
  8. In the Change Center pane, select Activate Changes to enforce all the changes made to the domain.


Legal Notices | Your Privacy Rights
Copyright © 2013, 2021

Last Published Thursday, December 16, 2021