Re: Core Dump File Generation
Mohit, On 2/28/24 04:39, Chaudhary, Mohit wrote: I am talking about java core dump file which is generating on tomcat/bin path and the OS is RHEL 6. There is no such thing as a "java core dump file". What is the name of the file? Something like hs_err_*? or is this something in catalina.out? If it's an hs_err_* file then your JVM is crashing. The good news about those files is they tell you exactly what is crashing. If you don't mind posting the top of that file including the native stack, etc. maybe we can help. That version of Java is really really old. Even if you are stuck on Java 1.8 like a lot of people who are too scared to upgrade, you should be able to get a much later version of Java from e.g. Eclipse Adoptium / Temurin. Perhaps there was a JVM bug that has been fixed? -chris -Original Message- From: Simon Matter Sent: Wednesday, February 28, 2024 3:03 PM To: Tomcat Users List Subject: Re: Core Dump File Generation [You don't often get email from simon.mat...@invoca.ch. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hi Mohit, Hi All, We are facing issues on tomcat. Core dump file generating very frequent twice to thrice in a month and core file size would be 13GB to 15GB every time .Whenever this issue is happening tomcat services stopped I'm a bit confused, are you talking about a UNIX style core file here or some kind of dump from Java? If it's a UNIX style core file then the culprit may be Java and not Tomcat - because Java should never ever dump a core file if it's running without errors. Regards, Simon - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: How to properly enable logging in "org.apache.catalina.core.StandardContext"
David, On 2/29/24 13:21, David Karr wrote: In our SpringBoot services, we sometimes run into situations where we get an exception like this: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat It doesn't provide any meaningful root cause. I've googled how to get more verbosity from this, but the results are so varied and often conflicting, and I've never found a strategy that works. It appears that the logger used in Catalina is not directly compatible with logback, or I'm not figuring out the correct logger name to use. I was finally able to figure out why this particular failure was happening, but that was by carefully stepping through the code and finding new breakpoints to drill down further. I saw references to the "juli" framework for logging, which I had seen mentioned in the threads that talk about getting these logs, but I was never able to get it to work. As opposed to using my serious debugging skills, I'd like to figure out how to simply increase the Tomcat logging levels so we can get better information. Is this helpful? https://tomcat.apache.org/tomcat-9.0-doc/logging.html -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: SpringBoot Embedded Tomcat Server RateLimitFilter
Ved, On 2/28/24 00:56, Ved wrote: Hi, I am using spring boot and wanted to use Rate Limit. I can find it in package org.apache.catalina.filters; //in embedded tomcat But this RateLimitFilter is never called. I want to understand when this filter is called and how I can customize it. Have you configured the RateLimitFilter at all? If so, how? It's not enabled by default. -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org