Re: Tomcat logging.properties AsyncFileHandler

2024-11-06 Thread Chuck Caldarale
> On Nov 6, 2024, at 17:12, Mcalexander, Jon J. > wrote: > > Question kind people, > > Is there ANY AsyncFileHandler property that can handle a MaxSize directive to > specify the size of the Catalina.out file for log rotation purposes? I see > that there appears to be a MaxDays, but we woul

Tomcat logging.properties AsyncFileHandler

2024-11-06 Thread Mcalexander, Jon J.
Question kind people, Is there ANY AsyncFileHandler property that can handle a MaxSize directive to specify the size of the Catalina.out file for log rotation purposes? I see that there appears to be a MaxDays, but we would like to rotate based on the size of the log file. Thank you, Dream *

remote address is localhost after upgrading tomcat instance behind reverse proxy from tomcat8.5 to tomcat9

2024-11-06 Thread Ivano Luberti
Hi, as stated in the subject, we had a correctly behaving tomcat 8.5 behind a reverse proxy implemented with Apache. After upgrading to Tomcat 9  every request is seen by tomcat as coming from localhost. Apache and Tomcat are running on the same machine and reverse proxy is implemented forwa

RE: [SOLVED] - Tomcat 9.0.96 first start throws java.lang.NullPointerException. Works in the same conditions with 9.0.91.

2024-11-06 Thread Lucian Jurj
> Ok, so the idea is that init() has to be successful or the component will > never become started later on. > Connectors are a bit special though. You can use bindOnInit to do the socket > bind and TLS start either in init (you don't want it to fail, and you want > the server to start accepting