Adding a JVM Option to the startWeblogic Script

Before starting P6 EPPM Web Services, add the following JVM option to the startWeblogic startup script:

  1. Make a backup copy of the startWebLogic file in case you need to undo any changes.
    • In Windows, the file is named "startWebLogic.cmd" and is located in:
      weblogic_home\user_projects\domains\your_domain\bin\
    • In Unix, the file is named "startWebLogic.sh" and is located in:
      weblogic_home/user_projects/domains/your_domain/bin/
  2. Right-click the startWebLogic file and select Edit.
  3. Locate the line that begins with "set JAVA_OPTIONS=" and add these variables (as all one line with no space between "-" and "Dprimavera" or "-" and "Djavax").
    • On Windows:

      set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS% -Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl -Djavax.xml.soap.SOAPConnectionFactory=weblogic.wsee.saaj.SOAPConnectionFactoryImpl
      -Dprimavera.bootstrap.home=<WS_INSTALL_HOME>

      where <WS_INSTALL_HOME> is the P6 EPPM Web Services home directory the you set during installation

    • On Linux:

      JAVA_OPTIONS="${SAVE_JAVA_OPTIONS} -Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl -Djavax.xml.soap.SOAPConnectionFactory=weblogic.wsee.saaj.SOAPConnectionFactoryImpl
      -Dprimavera.bootstrap.home=<WS_INSTALL_HOME>"

      where <WS_INSTALL_HOME> is the P6 EPPM Web Services home directory the you set during installation

Related Topics

Deploying P6 EPPM Web Services in WebLogic

Creating an Endorsed Folder

Authentication Using Oracle Web Services Manager



Legal Notices | Your Privacy Rights
Copyright © 2023

Last Published Thursday, January 12, 2023