Skip to Content

BO4 - Tomcat service crashed couple of times in last few days - trying to determine cause

Hi,


We have experienced a couple of Tomcat service crashes in last couple of days.

Nothing changed system-wise.

Running BO4 SP08.

How can we determine what is causing this crashing?  - Had a look in the logs but nothing obvious – please see attached with a view to preventing further re-occurences.


Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 19, 2015 at 10:49 AM

    Hi Philip,

    The Tomcat service might crash if it reaches maximum memory and crashes with out of memory errors

    Can you please try below steps.

    1. Open Task Manager and monitor how much memory tomcat takes when issue occurs. If it has reached maximum memory threshold then you need to increase Tomcat maximum memory pool.
    2. It can be increased from Tomcat Configuration Java tab. The XMX parameter can be set depending upon total RAM on your server.
    3. Open stderr log file from Tomcat directory and look for any 'Severe' error messages.
    4. Also check if there is any recent change in user activities such as number of users are increased or they are running any long running reports.

    Please refer below KBAs as well to troubleshoot further.

    http://service.sap.com/sap/support/notes/2075671

    http://service.sap.com/sap/support/notes/1637342

    http://service.sap.com/sap/support/notes/1982241

    http://service.sap.com/sap/support/notes/1906557

    Regards,

    Hrishikesh

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 19, 2015 at 01:04 PM

    Philip,

        I suspect you have JRE/JDK issues with version provided by SAP Install.  Strongly advise on updating the version for better support,  see link to article

    How to update JRE/JDK for Tomcat7 on BI 4.1.x Platform

    Regards,

    Ajay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 19, 2015 at 04:59 PM

    Do you have Tomcat compression turned on? If so, SAP note 1906557 may help. We had a user inadvertently crashing Tomcat due to the issue. Once we disabled it everything was fine.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 22, 2015 at 12:34 PM

    Hi Philip,

    Add this parameter to the Tomcat Java's Parameter : -XX:ErrorFile=<installdir>\Program Files\SAP...\Logs\hs_err_pid%p.log

    You can give any directory but name of the log should be same i.e. hs_err_pid%p.log

    When the tomcat will crash please check the log.

    If you find : ‘EXCEPTION_ACCESS_VIOLATION' error then there are two resolutions :

    1. Either Upgrade the BI Server to BI 4.1 SP5+
    2. Follow below steps :
      1. 1. Stop tomcat.
      2. 2. Navigate to <rootboinstall>/Tomcat/work/catalina/ and rename localhost to localhost_old.
      3. 3. Again navigate to <rootboinstall>/Tomcat/conf and take the backup of server.xml.
      4. 4. Now edit server.xml into any text editor and search for compression.
      5. 5. By default compression will be “ON” so make it “OFF” and save the server.xml.
      6. 6. Restart the tomcat. For the first time it will take some time to create new cache.

    Regards,

    Mahak

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Mahak,

      Thanks for advice.

      We saw a similar issue about a year ago and no action taken and disappeared.

      No seen since therefore given when we see only on certain days, I'm thinking relates to tomcat cache getting corrupted - we clear this down every night.

      Thanks

  • Oct 19, 2015 at 01:34 PM

    Hi,

    We stop/start it daily via automated scripts during which time cache also cleared down.

    Thanks

    Philip

    Add comment
    10|10000 characters needed characters exceeded