Use these instructions if you will deploy P6 in the Admin Server instead of a managed server. To continue configuring WebLogic for P6, edit the setDomainEnv file:
call "%WL_HOME%/common/bin/commEnv.cmd"
${WL_HOME}/common/bin/commEnv.sh
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dprimavera.bootstrap.home=
p6home
where p6home is the P6 home directory that was set during installation (for example, c:\p6home).
JAVA_OPTIONS="${JAVA_OPTIONS} -Dprimavera.bootstrap.home=
p6home"
where p6home is the P6 home directory that was set during installation (for example, /usr/p6home).
-Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dprimavera.bootstrap.home=p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory
JAVA_OPTIONS="${JAVA_OPTIONS} -Dprimavera.bootstrap.home=
p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory"
Note: Be sure to include a space before the -Djavax specification. Properties after the bootstrap can be in any order.
Add this JVM argument (as all one line) immediately after the previous variable with one space between them:
-Djava.awt.headless=true
For example, in Unix:
JAVA_OPTIONS="${JAVA_OPTIONS} -Dprimavera.bootstrap.home=
p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory" -Djava.awt.headless=true
-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):
set USER_MEM_ARGS=-XX:NewSize=256m -XX:MaxNewSize=256m -XX:MaxPermSize=
256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m
USER_MEM_ARGS="-XX:NewSize=256m -XX:MaxNewSize=256m -XX:MaxPermSize=
256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m"
-XX:+UseParallelGC -XX:+UseParallelOldGC -XX:GCTimeRatio=19
Notes:
set USER_MEM_ARGS=-XX:NewSize=256m -XX:MaxNewSize=256m -XX:MaxPermSize=
256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:GCTimeRatio=19
USER_MEM_ARGS="-XX:NewSize=256m -XX:MaxNewSize=256m -XX:MaxPermSize=
256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:GCTimeRatio=19"
-Xloggc:
path to the log file
-server -Dprimavera.bootstrap.home=
p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -XX:MaxPermSize=256m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:GCTimeRatio=19 -Xloggc:
path to the log file
-server -Dprimavera.bootstrap.home=
p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -XX:MaxPermSize=256m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:GCTimeRatio=19 -Xloggc:
path to the log file
set JAVA_VM=-server
JAVA_VM="-server"
Add the line immediately below the JAVA_OPTIONS line you created (all one line):
set USER_MEM_ARGS=-Xms2048m -Xmx2048m
USER_MEM_ARGS="-Xms2048m -Xmx2048m"
Related Topics |
Legal Notices
Copyright © 1999, 2016,
Oracle and/or its affiliates. All rights reserved.
Last Published Thursday, February 04, 2016