On Tue, May 12, 2020, 16:08 Patrick Baldwin <pbald...@myersinfosys.com> wrote:
> On Tue, May 12, 2020 at 5:07 PM calder <calder....@gmail.com> wrote: > > > On Tue, May 12, 2020, 15:49 Patrick Baldwin <pbald...@myersinfosys.com> > > wrote: > > > > > I turned off systemd for tomcat: > > > > > > 84$ sudo systemctl disable tomcat > > > > [ snip ] > > > > > Restarted tomcat, and it still runs for about 2 minutes then throws > > > > that java.lang.OutOfMemoryError: Java heap space error and dies. > > > > > > > > And how are you starting TC, as now not using Systemd? > 102$ sudo service tomcat start > Redirecting to /bin/systemctl start tomcat.service But setenv.sh is sourced by catalina.sh. so if it isn't executed, setenv.sh won't.