Skip to Content
avatar image
Former Member

SAP BO Tomcat war files deployment on another machine

Hi All,

We have installed the "SAP BusinessObjects Business Intelligence" platform 4.1 SP4 in one server 1.

we installed with default "Tomcat" web application server, everything works fine as expected.

After that we are having a requirement to maintain web application servers separately.

So, we installed "Tomcat 7" in server2 . Tomcat installation and testing everything works as expected. we are getting tomcat home page after the installation(by launching "http://localhost:8080/")

After that we copied all the deployed .war files from "D:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps" server 1 to "D:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\webapps" server 2.

Now, the problem is after copying all the .war files we restarted the tomcat services and trying to launch the "http://localhost:8080", we are not getting any response, page showing "Waiting for the localhost". we reconfirmed all the java settings and everything are set to as before. we have stopped the existing tomcat services in server 1 even then the tomcat home page is not showing anything from server - 2.

Kindly help us in this concern, we are in between the our production SAP BO Upgradation.

Thank you.

Regards,

Harsha

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 17, 2015 at 01:34 PM

    Hi All,

    We some how managed to work with above deadlock situation.

    1. We have installed SAP BO 4.1 SP04 on Server - 1.

    2. We have installed Tomcat - 7 (downloaded from internet) on server - 2.

    3. We have copied all the deployed .war files from server - 1(D:\Program Files (x86)\SAP BusinessObjects\tomcat\webapps) to server - 2 (D:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\webapps) folder


    4. We need to set Java values properly under Java tab of Tomcat. Please find below screenshot for the same. You need to do all the below changes in Server - 2(Tomcat machine), you need to stop the Tomcat on Server - 1(SAP BO Machine). The issue that we have faced issues is in allocating memory size to tomcat. If we set appropriate value for that, then you tomcat will work absolutely fine without any issues. If you are going to use Windows\SSO you may need to add some other Java command Lines.


    Java Options we have used to work in our scenario:


    -Dcatalina.home=D:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0

    -Dcatalina.base=D:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0

    -Djava.endorsed.dirs=D:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\endorsed

    -Djava.io.tmpdir=D:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\temp

    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

    -Djava.util.logging.config.file=D:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\conf\logging.properties

    -Xrs

    -Xms32m

    -Xmx1024m

    -XX:PermSize=64M

    -XX:MaxPermSize=512M

    -Djava.awt.headless=true

    -XX:MinHeapFreeRatio=5

    -XX:MaxHeapFreeRatio=20

    -XX:+PrintGCDetails

    -XX:+UseParallelOldGC


    Please reply back to this thread, if you have any other concerns.


    Thank You.

    Harshavardhan Konathala.



    Java_Options.PNG (12.3 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Here is what i have.

      - a tomcat folder inside my Installation directory i,e BI

      BI/tomcat

      -There is a webapp folder inside /BI/tomcat and i can see the webapps under it

      -But there is no tomcat folder inside /BI/SAP BusinessObjects Enterprise XI 4.0 folder

      As Vamsi suggested above Here is what I have planned for further steps per the deployment document from SAP and please correct me

      "wdeploy,webapps and installdata folder from server 1 to server 2 & 3(2 and 3 are tomcat servers) with the same directory structure installed on server 1(windows server).

      Once the JAVA_Home is set on server 2 and 3, deploy the webapplications using the wdeploy.

      My question now will be

      - as i have the tomcat installed on a different path ex: app/tomcat/tomcatBI4

      should the directory structure be created under this tomcatBI4 or can this be cretaed outside /app and just similar to the directory structure as windows server where platform is installed.

      -

  • Dec 30, 2014 at 06:44 PM

    Harsha,

        You can NOT just copy the WAR files to another server and do deployment.  You need to install the WEB tier on the Tomcat server, here are some link that will help in splitting the Tomcat and even creating bridge with Apache if needed.

    MOST Important is the Admin Guide:

    http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41sp5_bip_admin_en.pdf

    Section 3 on Architecture

    Improving the User Experience in SAP BI Platform 4.0 with Apache and WDeploy

    Quick Step-by-Step Guide to Apache Split Deployment with BI4.1

    Improving the User Experience in SAP BI Platform - BI 4.1 and Apache 2.4 Supplement

    Regards,

    Ajay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 31, 2014 at 12:00 PM

    Hi,

    It would be necessary to go through the documentation provided by Ajay.

    The best way to go about this is install a WEB TIER installation of the same BusinessObjects patch level.

    Run the same setup on server2 and select "web tier" in installation type.

    This would be the correct way for using SAP BO web applications on a server other than where the CMS resides.

    ----------------------------

    Ideally you could also copy the deployed web applications in the webapps folder from server1 to server2 (not the .WAR files).

    http://localhost:8080/ is the Tomcat home page - this is not indicative of the web application's on the system and whether they work.

    Try http://SERVERNAME:8080/BOE/CMC to see if CMC works, or /BOE/BI to see if Launchpad works.

    The Tomcat logs will show if Tomcat itself has started or not.

    In Task manager, Tomcat7.exe or tomcat.exe should have a sufficient RAM allocation and the CPU usage should be stabilized at 0% when it is not being used.

    -Sid

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 17, 2015 at 01:00 PM

    Hi Harsha

    Did you manage to resolve your situation with the second server deployment and if how? You didn't get back to this thread.

    Regards

    Pat

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 09, 2015 at 03:08 AM

    Hello Harshavardan,

    I am working on same scenario. I have implemented all the steps involved in this. But I am not able to access CMC and BI with server name. But login page loading from the localhost in the server2. But when I am accessing with server name getting blank page.

    Could you please help me with your experience, did I miss any thing here?

    Thanks

    Venky

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      You mean to say:

      a. you can access CMC, Launchpad login pages when run from the web app server directly using Localhost in the URL.

      b. You cannot access these pages when you use the actual hostname from a browser on any other machine?

      You can:

      a. Add the tomcat server name to the hosts file entries of other machiens.

      b. Add the tomcat hostname to "trusted sites" in IE settings.

      -Sid