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?

Install P6.bootstrap. Select a unique P6 Web App Home directory (for example. c:\webAppHome) . Insert the following line before the :RESTART line: set JAVA_OPTS="-Dprimavera.defaultInitOverride=true %JAVA_OPTS% Change <p6webaccesshome> to the proper location (for example. Use database configuration during the installation to connect to your DB.bat command file: a. 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.exe from CD2. Browse to <JBOSS INSTALL LOCATION>\bin 5.2 Web App by launching SetupMainWin.2 Web App: 1.6. 2. Copy the primaveraweb. Edit the run. c:\webAppHome).home=< c:\webAppHome >" -Dlog4j.ear file from the Primavera Home Directory to the following location: <JBOSS INSTALL LOCATION>\server\primaveraweb\deploy\ 4. Rename the folder called ‘copy of default’ to be ‘primaveraweb’ Deploying P6.

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