P6 v7.0 Progress Reporter Installation with JBoss on 32‐bit Windows
G#H9g PY PRE-REQUISITES
47IY|Jdz P6 v7.0 Progress Reporter
Server requires Java Application Server JBoss-5.0.1.GAJDK6
NZLXN and Java 2 JDK 1.6.0_14 to be installed prior to installing, configuring and
P:sAqvH6 deploying P6 v7.0 Web Access.
^m*3&x8 To obtain JBoss-5.0.1.GA-JDK6 internally, go to
\\csfs01\apps\JBoss and copy
#{!O,`qD JBoss-5.0.1.GA-JDK6.zip
(I4y[jnD To obtain JBoss-5.0.1.GA-JDK6 externally, visit:
http://www.jboss.org pOm@b`S% To obtain the JDK internally, go to
\\csfs01\apps\Java\JDKs\JDK1.6.0_14 and copy
Kax#OYLpg jdk-6u14-windows-i586.exe
D(Qa>B"1 To obtain the JDK externally, visit:
http://java.sun.com/products/archive and select
Is13
: 6 Update 14 from the JDK/JRE – 6 grouping.
'61i2\[lZQ HOW TO INSTALL P6 V7 PROGESS REPORTER
M% @ 1. Install the JDK 1.6.0_14 choosing all the defaults (this can be installed to any drive).
9e~WK720= 2. Double click jdk‐6u14‐windows‐i586.exe to start the JDK installation.
d.`&0 3. Click Accept to accept the license agreement.
a/~29gW8E\ 4. Choose the installation path to install the JDK by clicking the Change button to select
*>k!hq;j another installation path other than the default path which is: c:\program
7JI:=yY!>: files\java\jdk1.6.0_14\) and then click Next.
d$K=c1 5. Choose the installation path to install the (Java Run‐time Environment) JRE by clicking the
xO7Yt
l Change button to select another installation path other than the default path which is:
>AG^fUArH c:\program files\java\jre6\) and then click Next.
EJLQ&oH[ 6. Click Finish to complete the installation.
_gW{gLYyJ 7. Copy the JBoss‐5.0.1.GA‐JDK6.zip file to the web server machine.
?E<c[*F05 8. Extract the content of the zip file to <JBoss installation location>
Uky9zGa (e.g. E:\ JBoss‐5.0.1.GA‐JDK6\JBoss‐5.0.1.GA).
'T7 x@a`b) 9. Go to <JBoss installation location>\Server folder.
KCUU#t|8V\ 10. Make a copy of the folder called ‘default’, this will create a folder called ‘copy of default’
ne4c%?>t 11. Rename the ‘copy of default’ folder to ‘pr’
B'}"AC" 12. Create a Progress Reporter Server Home folder on the web server (e.g. E:\P6v7PRHome).
O8lFx_N7Q 13. Browse to Progress Reporter\win\Disk1\install on the Progress Reporter folder or CD and
tPU-1by$ run setup.exe to begin installing Progress Reporter.
\"x>JW4w 14. This will launch the
Oracle Universal Installer.
]p]UTCo!' 15. At the Welcome window, click Next.
5ZK&fKeCF 16. In the Name field enter a name for the installation and in the Path field enter the location
#Qh>z%Mn^3 of the Progress Reporter Server Home folder by clicking the Browse button and
XP-C navigating to the Progress Reporter Home folder (e.g. E:\P6v7PRHome), then click Next.
1fFj:p./l_ 17. The summary installation information will be displayed stating where P6 v7.0 Progress
`~h4D(n` Reporter is going to be installed.
DM),|Nq" 18. Click Install to start the installation
>A}0Ho 19. After the installation is completed successfully, click Exit.
lb~E0U`\E` 20. When the following window appears, “Do you really want to exit?”, click Yes.
_1|$P|$P. 21. This is content of the Progress Reporter Server Home folder after Progress Reporter
\Q&,ISO\ Server installation has completed.
m\vmY 22. Browse to the Progress Reporter Home folder and copy the Progress Reporter Server
jL>:>r application EAR file (pr.ear) file to <JBoss installation location>\server\pr\deploy
@dgH50o[ 23. Browse to the Progress Reporter Home folder and copy the Progress Reporter help WAR
^jD1vUL 2: file (pr‐help.war) to <JBoss installation location>\server\pr\deploy
R7?29?$7 24. For international support, browse to the <JBoss installation
mfom=-q3k location>\server\pr\deployjbossweb.sar\ and edit the server.xml file by right‐clicking the
oyx^a9 file and selecting Open With and Wordpad.
)oU)}asY In the Connector setting, add the parameter
x /mp=
URIEncoding="UTF‐8".
\we\0@v For example:
H?` g!cX <!‐‐A HTTP/1.1 Connector on port 8080‐‐>
C#Bz>2;# <Connector port="8080" URIEncoding="UTF‐8"
OqUr9?+ address="${jboss.bind.address}"
{Wv%zA*8 maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
U|@V
74 emptySessionPath="true"
\Kavw enableLookups="false" redirectPort="8443" acceptCount="100"
a|_p,_ connectionTimeout="20000" disableUploadTimeout="true"/>
<l,o&p,>|c 25. The default configuration home location is: (go to step 26 if this is not going to be
,Zf
9RM changed)
TNwKda+ <user home directory>/.oracle/primavera.progressreporter
aM=D84@ (e.g. c:\documents and settings\<username>\.oracle\primavera.progressreporter)
$V>yXhTh 26. Should one wish to change the default configuration home location for Progress Reporter
GK*v{` Server, browse to the <JBoss installation location>\bin and edit the run.bat file by rightclicking
qu|i;WZE the file and selecting edit and the file should open in notepad.
%O[N}_XHEh Insert the following line (all in one line) before the :RESTART line:
c64v,Hj9 set JAVA_OPTS=”‐Dprimavera.configuration.home=<configurationhome>” %JAVA_OPTS%
Ex
BUpDQc <configurationhome> ‐ change this to the new location (e.g. e:\P6v7PRHome)
/t%u"dP"T~ 27. To enhance performance edit the run.bat file as follows:
OE`X<h4r Find the following line:
#*%q'gyHT set JAVA_OPTS=% JAVA_OPTS% ‐Xms128m –Xmx512m
NH A 5e< Replace it with the following line (all in one line):
)
c2_b set JAVA_OPTS=%JAVA_OPTS% ‐XX:PermSize=64m –XX:MaxPermSize=128m –
XGrue6ya Xms512m –Xmx512m
=EP13J
28. Save the changes to the run.bat file.
U(>4s]O6 29. Create a bat file named 'startPRinJboss.bat' in the Progress Reporter Server Home folder
fwR_OB:$ (e.g. e:\P6v7PRHome) that contains the following:
,:2'YB @echo off
:mppv8bh set JBOSS_HOME=E:\jboss‐5.0.1.GA‐JDK6\ jboss‐5.0.1.GA
7,
}
$u set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_14
[Nm4sI11 call %JBOSS_HOME%\bin\run.bat ‐c pr
C4$:mJ>y The JAVA_HOME can be entered into the 'startPRinJboss.bat' as mentioned above OR it
-Apc$0ZsN can be set in the environment variables on the web server by performing the following:
LW6ZAETyL • Right‐click the My Computer icon or right‐click Computer/My Computer in the Start
xM >W2 menu
/^SAC%PD • Select Properties and this will display the System Properties
"I6P=]|b • Select the Advanced tab and then click on the Environment Variables button
CqMhk • Click on the New button under the System Variables section
/1=4"|q>h' • Enter the JAVA_HOME information
%M
F;`; 1 • Click OK to create the new system variable
r|Z3$J{^" • Click OK to exit the Environment Variables
8`>h}Q$ • Click OK to exit the System Properties
f
3V Dv9( 30. Although this is not recommend (as it can cause security issues), the following can be
Z%zj";C
G added to the end of the ‘startPRinJboss.bat’ file to permit remote deployment of the
S_MyoXV JBoss server:
!)"%),>}o ‐b <IP Address>
rEhX/(n# where <IP Address> is the IP address of the machine from which you want to start JBoss
h`
U?1xS (use an IP address of “0.0.0.0” to allow remote access from any machine)
hd\gH^wk
for example,
@+vXMJ $ @echo off
xJ^>pg8 set JBOSS_HOME=C:\jboss‐5.0.1.GA
^H{R+} set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_14 (optional)
o+`6LKg; call %JBOSS_HOME%\bin\run.bat ‐c pr –b 192.168.0.1
Y?CCD4"qn 31. Run the 'startPRinJboss.bat' file to start up the service.
8KB>6[H!wE 32. Run the Progress Reporter Administrator to create the configuration file.
Q?ahr~qo o
http://PRservername:8080/pr/admin/configuration AqKz$ o The Database URL must be correctly formatted.
CTt vyr For SQL Server: jdbc:sqlserver://dbservername:port;database=dbname
mpAR7AG6 i.e. jdbc:sqlserver://server1:1433;database=pmdb$primavera
ZUz ^!d For Oracle database: jdbc:oracle:thin@dbservername:port:oraclesid
]-oJ[5cQ0v i.e. jdbc:oracle:thin@server2:1521:pmdb
=9oPowq o For the Username/password, this must be the privuser username/password.
D']ZlB'K o For the Configuration home, the default is beneath the documents and settings
3G.5724, folder/loginaccount/.oracle/primavera/progressreporter
$vHU$lZ/W If you change the configuration home directory, you must change the
s2?T5oWU run.bat file to point to the New configuration home directory.
F:*W5xX o Save changes
/?
r?it o Exit the administrator
<VD8bTk 33. Restart the progress reporter jboss instance. (startprinjboss.bat)