Tomcat silently shuts down after 10 minutes

2024-07-04 Thread Bryan Buchanan
I'm running Tomcat 9.0.14 on Centos 8 with JDK 15. Tomcat is loaded in /opt/tomcat, the directory owned by "joe". If I login as "joe" and start Tomcat, everything is fine. We have people login to the Centos system to run the business application as "mary", "jane", "fred" etc. Sometimes they wan

Re: Tomcat silently shuts down after 10 minutes

2024-07-04 Thread Zerro
On 7/4/24 2:46 PM, Bryan Buchanan wrote: I'm running Tomcat 9.0.14 on Centos 8 with JDK 15. Tomcat is loaded in /opt/tomcat, the directory owned by "joe". If I login as "joe" and start Tomcat, everything is fine. We have people login to the Centos system to run the business application as "mar

Re: Tomcat silently shuts down after 10 minutes

2024-07-04 Thread Olaf Kock
On 04.07.24 15:27, Zerro wrote: On 7/4/24 2:46 PM, Bryan Buchanan wrote: I'm running Tomcat 9.0.14 on Centos 8 with JDK 15. Tomcat is loaded in /opt/tomcat, the directory owned by "joe". If I login as "joe" and start Tomcat, everything is fine. We have people login to the Centos system to ru

Re: Tomcat silently shuts down after 10 minutes

2024-07-04 Thread Bryan Buchanan
> I think you should check the return value of setuid. > > I don't think you can change the uid of a process that easily. > > Otherwise you could also write setuid(0), become root and that would look to > me as a huge security hole. > You need to be root to "chmod u+s [your_program]" so your

Re: Tomcat silently shuts down after 10 minutes

2024-07-04 Thread Thomas Meyer
Hi, This looks like an orderly shutdown of tomcat, can you attach strace and see if tomcat process does receive a signal from somewhere? Mfg Thomas Am 4. Juli 2024 14:46:17 MESZ schrieb Bryan Buchanan : >I'm running Tomcat 9.0.14 on Centos 8 with JDK 15. > >Tomcat is loaded in /opt/tomcat, t