P6 v7.0 Progress Reporter Installation with JBoss on 32‐bit Windows
Gnt!!1_8L PRE-REQUISITES
Q$L(fHkw P6 v7.0 Progress Reporter
Server requires Java Application Server JBoss-5.0.1.GAJDK6
34
Khg and Java 2 JDK 1.6.0_14 to be installed prior to installing, configuring and
J6ShIPc deploying P6 v7.0 Web Access.
CHit
To obtain JBoss-5.0.1.GA-JDK6 internally, go to
\\csfs01\apps\JBoss and copy
\q'fB?bS^ JBoss-5.0.1.GA-JDK6.zip
W?
||9 To obtain JBoss-5.0.1.GA-JDK6 externally, visit:
http://www.jboss.org by[i"!RCu To obtain the JDK internally, go to
\\csfs01\apps\Java\JDKs\JDK1.6.0_14 and copy
wP0+Xv, jdk-6u14-windows-i586.exe
ld}$Tsy0 To obtain the JDK externally, visit:
http://java.sun.com/products/archive and select
GP
Lt<K!<# 6 Update 14 from the JDK/JRE – 6 grouping.
eI rmD HOW TO INSTALL P6 V7 PROGESS REPORTER
8{]Gh 0+ 1. Install the JDK 1.6.0_14 choosing all the defaults (this can be installed to any drive).
r Ob"S* 2. Double click jdk‐6u14‐windows‐i586.exe to start the JDK installation.
89#0vG7m 3. Click Accept to accept the license agreement.
6H,=S`V]EK 4. Choose the installation path to install the JDK by clicking the Change button to select
0uO=wOIhH another installation path other than the default path which is: c:\program
CN~NyJL H files\java\jdk1.6.0_14\) and then click Next.
0(/D| 5. Choose the installation path to install the (Java Run‐time Environment) JRE by clicking the
<Iyot]E Change button to select another installation path other than the default path which is:
k5;Vl0Ho c:\program files\java\jre6\) and then click Next.
Jhy
t)@7/, 6. Click Finish to complete the installation.
t{8v(} 7. Copy the JBoss‐5.0.1.GA‐JDK6.zip file to the web server machine.
@@3,+7%1 8. Extract the content of the zip file to <JBoss installation location>
"=\_++ (e.g. E:\ JBoss‐5.0.1.GA‐JDK6\JBoss‐5.0.1.GA).
h`h>H
X 9. Go to <JBoss installation location>\Server folder.
0$L0fhw. 10. Make a copy of the folder called ‘default’, this will create a folder called ‘copy of default’
DwY<qNWT 11. Rename the ‘copy of default’ folder to ‘pr’
27E9
NO= 12. Create a Progress Reporter Server Home folder on the web server (e.g. E:\P6v7PRHome).
v;]I^Kq 13. Browse to Progress Reporter\win\Disk1\install on the Progress Reporter folder or CD and
TF0-?vBWh run setup.exe to begin installing Progress Reporter.
Hn9F
gul& 14. This will launch the
Oracle Universal Installer.
DxKfWb5 R 15. At the Welcome window, click Next.
!\#Wk0Ku 16. In the Name field enter a name for the installation and in the Path field enter the location
ezr\T of the Progress Reporter Server Home folder by clicking the Browse button and
0Y
piHoM navigating to the Progress Reporter Home folder (e.g. E:\P6v7PRHome), then click Next.
leES YSY: 17. The summary installation information will be displayed stating where P6 v7.0 Progress
B
naU)E h Reporter is going to be installed.
$TA6S+ 18. Click Install to start the installation
-<51CD w, 19. After the installation is completed successfully, click Exit.
q]N?@l] 20. When the following window appears, “Do you really want to exit?”, click Yes.
S@}B:}2 21. This is content of the Progress Reporter Server Home folder after Progress Reporter
d]7|v
r] Server installation has completed.
88#qu. 22. Browse to the Progress Reporter Home folder and copy the Progress Reporter Server
O[(?.9 application EAR file (pr.ear) file to <JBoss installation location>\server\pr\deploy
JXL9Gge 23. Browse to the Progress Reporter Home folder and copy the Progress Reporter help WAR
p`ADro* file (pr‐help.war) to <JBoss installation location>\server\pr\deploy
L`jB)wF/J 24. For international support, browse to the <JBoss installation
y^X\^Kq
location>\server\pr\deployjbossweb.sar\ and edit the server.xml file by right‐clicking the
,ykPQzO file and selecting Open With and Wordpad.
b$v[@"1 In the Connector setting, add the parameter
%Ui{=920 URIEncoding="UTF‐8".
[arTx^ For example:
X`
fhln9N <!‐‐A HTTP/1.1 Connector on port 8080‐‐>
y8w0eq94 <Connector port="8080" URIEncoding="UTF‐8"
7`blGzP_ address="${jboss.bind.address}"
-}Cc"qm maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
~5r=FF6 emptySessionPath="true"
c Q(}^KO enableLookups="false" redirectPort="8443" acceptCount="100"
(VYR!(17 connectionTimeout="20000" disableUploadTimeout="true"/>
_/,SZ-C#L4 25. The default configuration home location is: (go to step 26 if this is not going to be
Pqy-gWOv changed)
I!f
B1aq- <user home directory>/.oracle/primavera.progressreporter
tS\=<T (e.g. c:\documents and settings\<username>\.oracle\primavera.progressreporter)
X0y?<G1(a 26. Should one wish to change the default configuration home location for Progress Reporter
cT-K@dg Server, browse to the <JBoss installation location>\bin and edit the run.bat file by rightclicking
M!N`
Orz the file and selecting edit and the file should open in notepad.
7fTxGm Insert the following line (all in one line) before the :RESTART line:
9?uqQ set JAVA_OPTS=”‐Dprimavera.configuration.home=<configurationhome>” %JAVA_OPTS%
\f(Y:}9 <configurationhome> ‐ change this to the new location (e.g. e:\P6v7PRHome)
RVc)")
hQj 27. To enhance performance edit the run.bat file as follows:
H1`
rM^,%A Find the following line:
a(8>n
Z,V set JAVA_OPTS=% JAVA_OPTS% ‐Xms128m –Xmx512m
`[WyHO|8 Replace it with the following line (all in one line):
f5@.^hi[ set JAVA_OPTS=%JAVA_OPTS% ‐XX:PermSize=64m –XX:MaxPermSize=128m –
S?*^>Y-e; Xms512m –Xmx512m
r2RBrZ@1 28. Save the changes to the run.bat file.
jEUx
q%BH 29. Create a bat file named 'startPRinJboss.bat' in the Progress Reporter Server Home folder
VR"u* (e.g. e:\P6v7PRHome) that contains the following:
}dy9IH @echo off
5B%w]n set JBOSS_HOME=E:\jboss‐5.0.1.GA‐JDK6\ jboss‐5.0.1.GA
KzV.+f set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_14
!0`lu_ZN call %JBOSS_HOME%\bin\run.bat ‐c pr
_zdNLwE[ The JAVA_HOME can be entered into the 'startPRinJboss.bat' as mentioned above OR it
I$n+DwKcN can be set in the environment variables on the web server by performing the following:
neF8V"-u& • Right‐click the My Computer icon or right‐click Computer/My Computer in the Start
P"b8!k?
menu
bn $)f6% • Select Properties and this will display the System Properties
FtE90=$ • Select the Advanced tab and then click on the Environment Variables button
sTiYf • Click on the New button under the System Variables section
yKYl@&H/% • Enter the JAVA_HOME information
mIvnz{_d • Click OK to create the new system variable
iecWa:(' • Click OK to exit the Environment Variables
byafb+x • Click OK to exit the System Properties
2SYKe$e 30. Although this is not recommend (as it can cause security issues), the following can be
a~,Kz\Tt added to the end of the ‘startPRinJboss.bat’ file to permit remote deployment of the
6.[)`iF+# JBoss server:
QCWf.@n ‐b <IP Address>
*,17x`1e where <IP Address> is the IP address of the machine from which you want to start JBoss
^}J<)}Q (use an IP address of “0.0.0.0” to allow remote access from any machine)
7#ofNH J
for example,
K U$`!h @echo off
88+
=F
XG set JBOSS_HOME=C:\jboss‐5.0.1.GA
5Dd:r{{ Q set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_14 (optional)
w-ALCh8o call %JBOSS_HOME%\bin\run.bat ‐c pr –b 192.168.0.1
Tpb"uBiXoo 31. Run the 'startPRinJboss.bat' file to start up the service.
t{zBC?cR 32. Run the Progress Reporter Administrator to create the configuration file.
3
<9{v o
http://PRservername:8080/pr/admin/configuration myIe_k,F o The Database URL must be correctly formatted.
9Sz7\W0 For SQL Server: jdbc:sqlserver://dbservername:port;database=dbname
JGis
" e i.e. jdbc:sqlserver://server1:1433;database=pmdb$primavera
gqfDacDJL For Oracle database: jdbc:oracle:thin@dbservername:port:oraclesid
IXWQ) i.e. jdbc:oracle:thin@server2:1521:pmdb
QD$Gw-U-l= o For the Username/password, this must be the privuser username/password.
f}iU& 3S o For the Configuration home, the default is beneath the documents and settings
WI&lj<* folder/loginaccount/.oracle/primavera/progressreporter
m*dNrG If you change the configuration home directory, you must change the
6]n/+[ ks run.bat file to point to the New configuration home directory.
k"0;D-lTZ> o Save changes
DZk1ZLz o Exit the administrator
mlB~V3M'G 33. Restart the progress reporter jboss instance. (startprinjboss.bat)