You are on page 1of 3

Proble How to install P6.2 Web Access with Jboss. m: Fix: 1. Download Jboss 4.0.5.

GA from NOTE: Jboss is no longer included on CD2. NOTE: The URL to download JBoss above must be copied and pasted into a new browser for it to launch the download. 2. P6.2 Web Access running on Jboss requires JDK 1.5.0_15. To download the JDK, go to: http://java.sun.com/products/archive NOTE: The JDK is not provided by Primavera. Installations Steps: 1. Install JDK 1.5.0_15 choosing all defaults (Path can be changed if there is no space on C: drive) 2. Copy the jboss-4.0.5.GA.zip to a local drive 3. Unzip the folder to <JBOSS INSTALL LOCATION> (for example, C:\JBoss-4.0.5.GA)

4. Go to <JBOSS INSTALL LOCATION>\server 5. Select the folder default,?press Ctrl-C to copy it, and then press Ctrl-V. This creates a folder named copy of default?

6. Rename the folder called copy of default to be primaveraweb

Deploying P6.2 Web App:


1. Install P6.2 Web App by launching SetupMainWin.exe from CD2. Select a unique P6 Web App Home directory (for example, c:\webAppHome). 2. Use database configuration during the installation to connect to your DB. If you are unaware of the port number (required for the database configuration) the database is on then please refer to knowledge base solution prim49119: "How to determine the port number of a Microsoft SQL Serv er Express 2005 instance" for instructions on how to achieve this. 3. Copy the primaveraweb.ear file from the Primavera Home Directory to the following location: <JBOSS INSTALL LOCATION>\server\primaveraweb\deploy\ 4. Browse to <JBOSS INSTALL LOCATION>\bin 5. Edit the run.bat command file: a. Insert the following line before the :RESTART line: set JAVA_OPTS="-Dprimavera.bootstrap.home=< c:\webAppHome >" -Dlog4j.defaultInitOverride=true %JAVA_OPTS% Change <p6webaccesshome> to the proper location (for example, c:\webAppHome)

b. Find the following line: set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m Replace that line with the following: set JAVA_OPTS=%JAVA_OPTS% -XX:PermSize=64m -XX:MaxPermSize=128m -Xms512m -Xmx512m 6. Save changes to the run.bat file 7. To enable P6 Web Access to properly display the Project Gantt portlet in Dashboards, you must delete the following folder: <JBOSS INSTALL LOCATION>\server\primaveraweb\deploy\jbosswebtomcat55.sar\jsf-libs NOTE: Primavera applications do not require this folder to be present; however, deleting this folder may impact other applications currently running on JBoss. Therefore, before deleting this folder, YOU MUST ENSURE THAT THIRDPARTY APPLICATIONS RUNNING ON JBOSS DO NOT REQUIRE THIS FOLDER TO BE PRESENT. If you do not delete this folder, P6 Web Access users can display the Project Gantt portlet on a dashboard, but the contents of the portlet will not display properly. 8. Create a bat file named startmyPVinJboss.bat in <p6webaccesshome> that contains the following: @echo off set JBOSS_HOME=C:\jboss-4.0.5.GA set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_15 (optional) call %JBOSS_HOME%\bin\run.bat -c primaveraweb 9. Run the newly created bat file to start JBoss and the P6.2 Web App NOTE ?JBoss has completely started when you see the following lines: 10. To access P6.2 Web App, browse to http://<ServerName>:8080/primaveraweb/login_cmt 11. If you do not have have JRE 1.6.0_07 (the tested Java version) installed then you should get an automatic prompt to install when you try to launch the P6.2 Web Access application. If the prompt does not appear then youll need to manually download it from the JAVA website and install it.

You might also like