P6 v7.0 Progress Reporter Installation with JBoss on 32‐bit Windows
#;=sJ[m4 PRE-REQUISITES
cua ( w P6 v7.0 Progress Reporter
Server requires Java Application Server JBoss-5.0.1.GAJDK6
y'!"GrbZ and Java 2 JDK 1.6.0_14 to be installed prior to installing, configuring and
n]6-`fpD deploying P6 v7.0 Web Access.
lL&U
ioo}D To obtain JBoss-5.0.1.GA-JDK6 internally, go to
\\csfs01\apps\JBoss and copy
yJ="dEn>i" JBoss-5.0.1.GA-JDK6.zip
IL1iTRH To obtain JBoss-5.0.1.GA-JDK6 externally, visit:
http://www.jboss.org 1aZGt2; To obtain the JDK internally, go to
\\csfs01\apps\Java\JDKs\JDK1.6.0_14 and copy
,pY:kQ jdk-6u14-windows-i586.exe
BT`g'#O To obtain the JDK externally, visit:
http://java.sun.com/products/archive and select
I1#MS4;$^ 6 Update 14 from the JDK/JRE – 6 grouping.
]V)*WP#a HOW TO INSTALL P6 V7 PROGESS REPORTER
^X?uAX-RP| 1. Install the JDK 1.6.0_14 choosing all the defaults (this can be installed to any drive).
*^w}SE( 2. Double click jdk‐6u14‐windows‐i586.exe to start the JDK installation.
NTEN 3. Click Accept to accept the license agreement.
H@u5& 4. Choose the installation path to install the JDK by clicking the Change button to select
;!C_}P another installation path other than the default path which is: c:\program
M~n./wyC files\java\jdk1.6.0_14\) and then click Next.
-L<FVB 5. Choose the installation path to install the (Java Run‐time Environment) JRE by clicking the
*<[zG7+&[ Change button to select another installation path other than the default path which is:
M[+#*f.T} c:\program files\java\jre6\) and then click Next.
4*D"*kR; 6. Click Finish to complete the installation.
BOh^oQh 7. Copy the JBoss‐5.0.1.GA‐JDK6.zip file to the web server machine.
xQ2:tY#? 8. Extract the content of the zip file to <JBoss installation location>
1Vx5tOq (e.g. E:\ JBoss‐5.0.1.GA‐JDK6\JBoss‐5.0.1.GA).
oh@Ha? 9. Go to <JBoss installation location>\Server folder.
'kco.
1{ 10. Make a copy of the folder called ‘default’, this will create a folder called ‘copy of default’
zWv0y8[
d 11. Rename the ‘copy of default’ folder to ‘pr’
GwfC l{l 12. Create a Progress Reporter Server Home folder on the web server (e.g. E:\P6v7PRHome).
Y%?*Lj| 13. Browse to Progress Reporter\win\Disk1\install on the Progress Reporter folder or CD and
`23][V run setup.exe to begin installing Progress Reporter.
6B%
h 14. This will launch the
Oracle Universal Installer.
U82mO+} 15. At the Welcome window, click Next.
2gZ nrU 16. In the Name field enter a name for the installation and in the Path field enter the location
0AdxV?6z of the Progress Reporter Server Home folder by clicking the Browse button and
Y9>92#aME navigating to the Progress Reporter Home folder (e.g. E:\P6v7PRHome), then click Next.
8]exsnZ 17. The summary installation information will be displayed stating where P6 v7.0 Progress
~**x_ v Reporter is going to be installed.
G maNi 18. Click Install to start the installation
qTN%9!0@9 19. After the installation is completed successfully, click Exit.
F>3 o0ke} 20. When the following window appears, “Do you really want to exit?”, click Yes.
RGs7Hc 21. This is content of the Progress Reporter Server Home folder after Progress Reporter
H1 7I"5N Server installation has completed.
wpN3-D 22. Browse to the Progress Reporter Home folder and copy the Progress Reporter Server
6
Bdxdx*zt application EAR file (pr.ear) file to <JBoss installation location>\server\pr\deploy
Je6wio-4 23. Browse to the Progress Reporter Home folder and copy the Progress Reporter help WAR
""XAUxo file (pr‐help.war) to <JBoss installation location>\server\pr\deploy
)5LT!14 24. For international support, browse to the <JBoss installation
hc+B+-, location>\server\pr\deployjbossweb.sar\ and edit the server.xml file by right‐clicking the
m
O]>] file and selecting Open With and Wordpad.
_^NaP In the Connector setting, add the parameter
<n 06(9BF URIEncoding="UTF‐8".
N0Y4m_dm* For example:
kY'Wf`y( <!‐‐A HTTP/1.1 Connector on port 8080‐‐>
Q}OloA(+ <Connector port="8080" URIEncoding="UTF‐8"
/\b*
oPWJ address="${jboss.bind.address}"
GT)7VF rL maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
[}j a\!P emptySessionPath="true"
/\# f@Sg enableLookups="false" redirectPort="8443" acceptCount="100"
NWvIwt{ connectionTimeout="20000" disableUploadTimeout="true"/>
ThgJ
' 25. The default configuration home location is: (go to step 26 if this is not going to be
<{Y3}Q changed)
g.@[mf0r <user home directory>/.oracle/primavera.progressreporter
-5+Yz9pv[ (e.g. c:\documents and settings\<username>\.oracle\primavera.progressreporter)
3&7? eO7* 26. Should one wish to change the default configuration home location for Progress Reporter
(0b\%;} Server, browse to the <JBoss installation location>\bin and edit the run.bat file by rightclicking
4S~kNp$ the file and selecting edit and the file should open in notepad.
m^!j)\sM5 Insert the following line (all in one line) before the :RESTART line:
(w)%2vZ^ set JAVA_OPTS=”‐Dprimavera.configuration.home=<configurationhome>” %JAVA_OPTS%
Ht(TYq <configurationhome> ‐ change this to the new location (e.g. e:\P6v7PRHome)
9QXsbd6 27. To enhance performance edit the run.bat file as follows:
qz]qG=wmL Find the following line:
^ExuIe set JAVA_OPTS=% JAVA_OPTS% ‐Xms128m –Xmx512m
U(y8nI] Replace it with the following line (all in one line):
_$c o Y set JAVA_OPTS=%JAVA_OPTS% ‐XX:PermSize=64m –XX:MaxPermSize=128m –
OxGfLeP.R! Xms512m –Xmx512m
2SC-c `9) 28. Save the changes to the run.bat file.
SA}Dkt&, 29. Create a bat file named 'startPRinJboss.bat' in the Progress Reporter Server Home folder
|~
fI=1;;x (e.g. e:\P6v7PRHome) that contains the following:
TS9<uRO0 @echo off
fEXFnQ# set JBOSS_HOME=E:\jboss‐5.0.1.GA‐JDK6\ jboss‐5.0.1.GA
5)'Y\~2 set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_14
re[5lFQ~Z call %JBOSS_HOME%\bin\run.bat ‐c pr
EA>.SSs! The JAVA_HOME can be entered into the 'startPRinJboss.bat' as mentioned above OR it
2K};-}eW can be set in the environment variables on the web server by performing the following:
5uQ+'*xN% • Right‐click the My Computer icon or right‐click Computer/My Computer in the Start
InbB2l4G menu
gR# k' • Select Properties and this will display the System Properties
g{6jN • Select the Advanced tab and then click on the Environment Variables button
~:7y!=8# • Click on the New button under the System Variables section
06^/zr • Enter the JAVA_HOME information
dV38-IfGkl • Click OK to create the new system variable
d-1D:Hs? • Click OK to exit the Environment Variables
8bdO-LJ9 • Click OK to exit the System Properties
TS|Bz2( 30. Although this is not recommend (as it can cause security issues), the following can be
{Z8GG added to the end of the ‘startPRinJboss.bat’ file to permit remote deployment of the
ljZRz$y JBoss server:
=hvPq@C% ‐b <IP Address>
S!u8JG1 where <IP Address> is the IP address of the machine from which you want to start JBoss
L5x;#\#p (use an IP address of “0.0.0.0” to allow remote access from any machine)
_J6
Xq\ for example,
}8tF.QjR| @echo off
s
tajTN*J set JBOSS_HOME=C:\jboss‐5.0.1.GA
*4%pXm; set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_14 (optional)
'4i8&p`/ call %JBOSS_HOME%\bin\run.bat ‐c pr –b 192.168.0.1
tNr'@ls 31. Run the 'startPRinJboss.bat' file to start up the service.
;&6
{c 32. Run the Progress Reporter Administrator to create the configuration file.
?{"r( o
http://PRservername:8080/pr/admin/configuration *:xOenI o The Database URL must be correctly formatted.
QyVAs ; For SQL Server: jdbc:sqlserver://dbservername:port;database=dbname
<">epbV6 i.e. jdbc:sqlserver://server1:1433;database=pmdb$primavera
1!.-/ For Oracle database: jdbc:oracle:thin@dbservername:port:oraclesid
ZtO$kK%q; i.e. jdbc:oracle:thin@server2:1521:pmdb
$?W2'Xm!V o For the Username/password, this must be the privuser username/password.
Rmmu#-{Y o For the Configuration home, the default is beneath the documents and settings
.o`Io[io folder/loginaccount/.oracle/primavera/progressreporter
2mzn{S)nV If you change the configuration home directory, you must change the
LJ
<pE;`d run.bat file to point to the New configuration home directory.
rz_W]/G-P o Save changes
[k%hl`} o Exit the administrator
ni{'V4A 33. Restart the progress reporter jboss instance. (startprinjboss.bat)