Skip to Content

Hello SCN,

In this blog, I will go through the steps necessary to upgrade the Tomcat embedded in an SAP BI 4.1 SP05 on a Red Hat Enterprise Linux 6.4 system. Before start reading this blog, please know the following important things :


  • The process of upgrading Tomcat externally will fall under Limited Support/Out of Scope of SAP Support.
  • In case the upgraded version is not stable and giving issues then you may have to degrade it to a supported version of Tomcat.
  • Once Tomcat is successfully upgraded to a supported version then it is supported by SAP.


More Information can be found in the following SAP Note :


2280098 – Does Apache Tomcat belong to Product Support scope?


Embedded Tomcat version :


The following methods are used to get the exact version of Tomcat that is embedded in SAP BI 4.x :


1 – Using version.sh script :


The script is located under : <Installation_Directory>/BI41/sap_bobj/tomcat/bin


Run the script : ./version.sh


You will get the following result :


Capture.PNG

2 – Using Tomcat home page :


Connect to http://hostname:8080


You will get the following result :

Capture2.PNG


As you can see using both methods, the version of the embedded Tomcat is : Tomcat/7.0.55


We aim to upgrade Tomcat version to Tomcat/7.0.70


Download :


Access the following link to download Tomcat/7.0.70 :

http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.70/bin/

And then choose apache-tomcat-7.0.70.tar.gz as explained in the below pictue.

Capture3.PNG

Once the compressed Tomcat package is downloaded, extract it using the following command :

tar -xzvf apache-tomcat-7.0.70.tar.gz


Upgrade :


These are the different steps needed in order to upgrade Tomcat :

1 – Change the name of the new tomcat folder obtained from apache-tomcat-7.0.70 to tomcat :


mv apache-tomcat-7.0.70 tomcat


2 – Navigate to <Installation_Directory>/BI41/sap_bobj/ and stop the Tomcat service using ./tomcatshutdown.sh

Capture4.PNG

3 – Take a backup of the old tomcat folder :


mv tomcat tomcat.bkp


4 –  Copy the new tomcat folder under <Installation_Directory>/BI41/sap_bobj :


cp -R <new tomcat folder path> tomcat

Capture5.PNG


5 – Navigate to <Installation_Directory>/BI41/sap_bobj/enterprise_xi40/wdeploy and run the Wdeploy utility :


./wdeploy.sh tomcat7 deployall


More information can be found in the following SAP Note :


1608960 – How to deploy war files in BusinessObjects BI 4.x using the wdeploy command line utility

Capture6.PNG

6 – Wait until you see the message : BUILD SUCCESSFUL

Capture7.PNG

After deploying the war files, Tomcat needs to be configured.


Configuration :


Tomcat needs some memory configuration : we need to specify values for -Xms, -Xmx, MaxPermSize, …

More information can be found in the following SAP Note :


1954346 – How to manually configure external Tomcat for BOE XI 3.1 and BI 4.0 on UNIX/Linux

Luckily we already have this configuration in the old Tomcat folder :

1 – Navigate to <Installation_Directory>/BI41/sap_bobj/tomcat.bkp/bin

Capture8.PNG

2 – Copy the scripts setenv.sh and bobjenv.sh under <Installation_Directory>/BI41/sap_bobj/tomcat/bin : 

cp -R <old tomcat folder path>/bin/setenv.sh bin

cp -R <old tomcat folder path>/bin/bobjenv.sh bin

Capture9.PNG

3 – Run the script : ./setenv.sh

4 – Navigate to <Installation_Directory>/BI41/sap_bobj/ and start the Tomcat service using ./tomcatstartup.sh

Capture10.PNG


Enjoy !

Capture14.PNG

Capture13.PNG

Capture15.PNG_

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply