Use these instructions if you will deploy P6 in a Managed or clustered server. To continue configuring WebLogic for P6, add the following arguments to your Managed or clustered server in the WebLogic Administration console:
Note: You can open the Administration Console via a web browser using this address: http://serverIP:listenport/console. The default listenport is 7001.
 -Dprimavera.bootstrap.home=p6home
 
where p6home is the P6 home directory that was set during installation (for example, C:\P6EPPM_1\p6).
 -Dprimavera.bootstrap.home=p6home
 
where p6home is the P6 home directory that was set during installation (for example, /usr/P6EPPM_1/p6).
 -Dweblogic.webservice.i18n.charset=utf-8
 
 -Dprimavera.bootstrap.home=p6home -Dweblogic.webservice.i18n.charset=utf-8
 
 -Dprimavera.bootstrap.home=p6home -Dweblogic.webservice.i18n.charset=utf-8
 
 -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory
 
 -Dprimavera.bootstrap.home=p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory
 
 -Dprimavera.bootstrap.home=p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory
 
Note: Be sure to include a space before the -Djavax argument. Properties after the bootstrap can be in any order.
Add this JVM argument:
 -Djava.awt.headless=true
 
For example, in Unix:
 -Dprimavera.bootstrap.home=p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -Djava.awt.headless=true
 
 -server
 
 -server -Dprimavera.bootstrap.home=p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory
 
 -server -Dprimavera.bootstrap.home=p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory
 
The complete line could look similar to the following if using the Sun JDK (all one line):
 -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
 
 -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
 
Note: Be sure to include a space before the -XX: specification. Properties after the bootstrap can be in any order.
 -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:GCTimeRatio=19
 
Notes:
 -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
 
 -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
 
 -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
 
Add the following lines after the -Dprimavera line to set the total Initial (-Xms) and maximum heap (-Xmx) size.
The complete line would look similar to the following if using the JRockit JDK (all one line):
 -Dprimavera.bootstrap.home=p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -Xms2048m -Xmx2048m
 
 -Dprimavera.bootstrap.home=p6home -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -Xms2048m -Xmx2048m
 
Tips
Once you have finished setting the arguments, you will use the following sections to deploy P6 and to start your managed or clustered server: Deploying P6 in WebLogic and Starting and Stopping Managed Servers.
Related Topics | 
 Legal Notices 
Copyright © 1999, 2014, 
Oracle and/or its affiliates. All rights reserved.
 
Last Published Wednesday, February 19, 2014