Author Topic: TOMCAT is crashing frequently  (Read 3120 times)

Offline CASANOVA

  • Newbie
  • *
  • Posts: 42
  • Karma: 0
TOMCAT is crashing frequently
« on: March 20, 2019, 06:35:58 PM »
Hi All,

Need suggestion on the the mentioned subject.

We have GSS in our environment which is bases on Apache Tomcat. We could see "SEVERE: Unexpected death of background thread ContainerBackgroundProcessor[StandardEngine[Catalina]]java.lang.OutOfMemoryError: Java heap space" frequently.

We have deployed the same on two hosts. one is running with java version "1.7.0_67" in one host and java Version 7.0.55  in another host.

There is no setenv.bat in the installed directory.

Could anyone please suggest how can we configure java memory.

Thank you

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2739
  • Karma: 44
Re: TOMCAT is crashing frequently
« Reply #1 on: March 20, 2019, 06:48:35 PM »
Update/Add Xms/Xmx parameters
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline CASANOVA

  • Newbie
  • *
  • Posts: 42
  • Karma: 0
Re: TOMCAT is crashing frequently
« Reply #2 on: March 20, 2019, 09:50:20 PM »
Update/Add Xms/Xmx parameters

Thanks for your response Kubig.

It is a windows enviroment actually. Creating a setenv.bat with java parameters will be enough ?

Thank you.

Offline CASANOVA

  • Newbie
  • *
  • Posts: 42
  • Karma: 0
Re: TOMCAT is crashing frequently
« Reply #3 on: March 20, 2019, 09:55:25 PM »
Also this is for Genesys SurveySolution(GSS)

there are no catalina.bat ot steneve. bat file presetn by default. Bin follder contains only Tomcat7_GSS_Http.exe files and bootstrap.jar file.Creating a batch file with java arguments will be ok ?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7623
  • Karma: 56330
Re: TOMCAT is crashing frequently
« Reply #4 on: March 22, 2019, 10:25:02 AM »
Check Tomcat documentation. There tons of posts on the internet. There are several ways.
You need to see how your app is started

Offline genesysnoob

  • Full Member
  • ***
  • Posts: 103
  • Karma: -1
Re: TOMCAT is crashing frequently
« Reply #5 on: March 30, 2019, 11:16:08 PM »
have you considered increasing java memory?