Tuesday, June 18, 2013

How to Install / Deploy / Configure Tomcat 6 externally on a SAP BO BI 4.0 server.


Environment
  • Tomcat 6.0.24
  • SAP BO BI Platform 4.0

solution
  1. Following is the link to download Tomcat 6.0.24
    http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24.exe
  2. Run the executable “apache-tomcat-6.0.24.exe”. The Welcome screen will appear. Click Next.
  3. Click “I Agree” on the License Agreement screen.
  4. Select the install type from drop down box & click Next.
  5. Enter the destination folder where Tomcat 6 is to be installed. Click Next.
  6. Enter the user name & password for Administrator login & click Next.
  7. Enter the below mentioned path that points to JRE supplied with BI 4.0, Click Install:
    Install Dir:C:\SAP Business Objects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\jdk\jre
  8. Uncheck the “Show Readme” check box. Click Finish.
  9. Tomcat will now start. There will be a small icon in the system tray as shown below.
  10. Right click on the icon & click Configure.
  11. The Apache Tomcat Properties screen will appear. Click on Java tab.
  12. Add the path C:\SAP Business Objects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\jdk\lib\tools.jar” in Java Classpath field after the existing entry separated by a semi-colon(;).
  13. Add the value 2048 in Maximum memory pool field and 1024 in Thread stack size.
  1. Add the following values in the Java Options field(Assuming SAP Business Objects is installed on E drive ):
    -Djava.library.path=C:\Windows\SysWOW64\;E:\SAP Business Objects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\
    -Dbobj.enterprise.home=E:\SAP Business Objects\SAP BusinessObjects Enterprise XI 4.0\
    -Xrs
    -XX:MaxPermSize=384M
    -Dbusinessobjects.olap.bin=
    -Dbusinessobjects.olap.stylesheets=
    -Djava.awt.headless=true
  2. Click on Apply and OK  & restart the Tomcat service.
  3. Open the file config.tomcat6 in Notepad. It can be located in Wdeploy directory.
  4. Assign the following values to the respective variables:
    as_dir=<installation directory of Tomcat 6>
    as_instance=localhost
    as_service_name=Tomcat6
  5. Save & close the file.
  6. Open Command Prompt by clicking Start > Run > type “cmd” & click OK.
  7. Navigate to wdeploy
  8. Run the command “wdeploy tomcat6 deployall”.
  9. A BUILD SUCCESSFUL message will appear once deployment of all WAR files is successful.

Hope you find this useful.

Cheers,
Umang Patel
+919979084870
SAP BO BI Solution Architecture/Consultant


2 comments: