Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: CASANOVA on March 20, 2019, 09:35:58 AM

Title: TOMCAT is crashing frequently
Post by: CASANOVA on March 20, 2019, 09:35:58 AM
Hi All,

Need suggestion on the the mentioned subject.

We have GSS in our environment which is bases on Apache Tomcat. We could see[b][i] "SEVERE: Unexpected death of background thread ContainerBackgroundProcessor[StandardEngine[Catalina]]java.lang.OutOfMemoryError: Java heap space"[/i][/b] 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
Title: Re: TOMCAT is crashing frequently
Post by: Kubig on March 20, 2019, 09:48:35 AM
Update/Add Xms/Xmx parameters
Title: Re: TOMCAT is crashing frequently
Post by: CASANOVA on March 20, 2019, 12:50:20 PM
[quote author=Kubig link=topic=11291.msg51425#msg51425 date=1553075315]
Update/Add Xms/Xmx parameters
[/quote]

Thanks for your response Kubig.

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

Thank you.
Title: Re: TOMCAT is crashing frequently
Post by: CASANOVA on March 20, 2019, 12: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 ?
Title: Re: TOMCAT is crashing frequently
Post by: cavagnaro on March 22, 2019, 01: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
Title: Re: TOMCAT is crashing frequently
Post by: genesysnoob on March 30, 2019, 02:16:08 PM
have you considered increasing java memory?