RE: Tomcat 10.1.34 log messages

2024-12-19 Thread joan.balaguero
Perfect Mark, thanks. -Original Message- From: Mark Thomas Sent: Thursday, December 19, 2024 5:12 PM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.34 log messages Hi Joan, Thanks for the extra information. I can see several legitimate ways the NPE might happen. I've ad

Re: Tomcat 10.1.34 log messages

2024-12-19 Thread Mark Thomas
y, December 15, 2024 3:15 PM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.34 log messages On 13/12/2024 11:00, joan.balagu...@ventusproxy.com wrote: Hi Mark, Which version did you migrate from? 10.1.30 How often do you see these messages? Hardly ever, maybe a dozen of times ... we ha

RE: Tomcat 10.1.34 log messages

2024-12-15 Thread joan.balaguero
Hi Mark, No, I'm not using TLS but yes, I'm using async servlet with non-blocking io (read and write listeners). Thanks, Joan. -Original Message- From: Mark Thomas Sent: Sunday, December 15, 2024 3:15 PM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.34 log messages

Re: Tomcat 10.1.34 log messages

2024-12-15 Thread Mark Thomas
On 13/12/2024 11:00, joan.balagu...@ventusproxy.com wrote: Hi Mark, Which version did you migrate from? 10.1.30 How often do you see these messages? Hardly ever, maybe a dozen of times ... we have millions of daily requests Do they correlate with any particular (failed?) request. No I don't h

RE: Tomcat 10.1.34 log messages

2024-12-13 Thread joan.balaguero
trace (NullPointerException) is new, the second one (Warning) was also occurring in 10.1.30 Best, Joan. -Original Message- From: Mark Thomas Sent: Wednesday, December 11, 2024 9:57 AM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.34 log messages On 11/12/2024 08:36, joan.b

Re: Tomcat 10.1.34 log messages

2024-12-11 Thread Christopher Schultz
Mark, On 12/11/24 3:57 AM, Mark Thomas wrote: On 11/12/2024 08:36, joan.balagu...@ventusproxy.com wrote: Hello, After migrating to Tomcat 10.1.34, I see these messages on the tomcat log. It's not affecting our application at all, I paste them below just for your information. Which versio

Re: Tomcat 10.1.34 log messages

2024-12-11 Thread Mark Thomas
On 11/12/2024 08:36, joan.balagu...@ventusproxy.com wrote: Hello, After migrating to Tomcat 10.1.34, I see these messages on the tomcat log. It's not affecting our application at all, I paste them below just for your information. Which version did you migrate from? How often do you see t

Tomcat 10.1.34 log messages

2024-12-11 Thread joan.balaguero
Hello, After migrating to Tomcat 10.1.34, I see these messages on the tomcat log. It's not affecting our application at all, I paste them below just for your information. Dec 10, 2024 2:39:02 PM org.apache.tomcat.util.net.NioEndpoint$SocketProcessor doRun SEVERE: Error running socket proce

Re: How to search SVN Log Messages for Apache Tomcat VCS Repository

2014-07-13 Thread Konstantin Kolinko
y question is How can I search (online, web-search) SVN Log Messages for > Apache Tomcat VCS Repository. > Who are you, and why do you want to do that? For every commit there is a commit e-mail sent to the developers' mailing list. Thus the easy way is to search the mailing list ar

How to search SVN Log Messages for Apache Tomcat VCS Repository

2014-07-12 Thread Ashish Sureka
The link to the web view of the Apache Tomcat SVN is: http://svn.apache.org/viewvc/tomcat/ A Revision consists of four attributes: Revision ID, Timestamp, Author userid and a free-form text log message My question is How can I search (online, web-search) SVN Log Messages for Apache Tomcat VCS

Re: "tagging" log messages

2012-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan, On 11/21/12 11:48 AM, Johan Gunnarsson wrote: > Is there some way to "tag" log messages in log4j.properties > depending on different criteria? If you are definitely going to be using log4j, try reading about "Neste

Re: "tagging" log messages

2012-11-22 Thread Konstantin Kolinko
2012/11/21 Johan Gunnarsson : > Is there some way to "tag" log messages in log4j.properties depending on > different criteria? > > Today I am splitting up the files like this: > > log4j.category.foo.bar=WARN, ALOG, CATCHALL > log4j.category.foo.bar.mvc.dao.cor

"tagging" log messages

2012-11-21 Thread Johan Gunnarsson
Is there some way to "tag" log messages in log4j.properties depending on different criteria? Today I am splitting up the files like this: log4j.category.foo.bar=WARN, ALOG, CATCHALL log4j.category.foo.bar.mvc.dao.core.EscenicFieldsImpl=ERROR, ALOG

Re: Tomcat AJP APR connector to mod_jk can result in SEND_BODY_CHUNK message after END_RESPONSE message, was Re: unusual mod_jk 1.2.30 log messages

2010-09-14 Thread Brett Delle Grazie
On Tue, 2010-09-14 at 07:50 +0200, Mladen Turk wrote: > On 09/14/2010 12:28 AM, Brett Delle Grazie wrote: > >> > >> Detaching AJP streams from the servlet and using them > >> as a OutputStream is not very well handled in Tomcat. > >> I suppose if using APR the entire thing would even crash the JVM.

Re: Tomcat AJP APR connector to mod_jk can result in SEND_BODY_CHUNK message after END_RESPONSE message, was Re: unusual mod_jk 1.2.30 log messages

2010-09-13 Thread Mladen Turk
On 09/14/2010 12:28 AM, Brett Delle Grazie wrote: Detaching AJP streams from the servlet and using them as a OutputStream is not very well handled in Tomcat. I suppose if using APR the entire thing would even crash the JVM. Trying to deal with that on mod_jk side would have my strong -1. And

Re: Tomcat AJP APR connector to mod_jk can result in SEND_BODY_CHUNK message after END_RESPONSE message, was Re: unusual mod_jk 1.2.30 log messages

2010-09-13 Thread Brett Delle Grazie
On Mon, 2010-09-13 at 19:41 +0200, Mladen Turk wrote: > On 09/13/2010 07:15 PM, Brett Delle Grazie wrote: > > > > Our problem is that in a servlet that retrieves a file that is then sent > > to the client we are receiving a 'flush' message _after_ the > > END_RESPONSE message. On the next request,

Re: Tomcat AJP APR connector to mod_jk can result in SEND_BODY_CHUNK message after END_RESPONSE message, was Re: unusual mod_jk 1.2.30 log messages

2010-09-13 Thread Mladen Turk
On 09/13/2010 07:15 PM, Brett Delle Grazie wrote: Our problem is that in a servlet that retrieves a file that is then sent to the client we are receiving a 'flush' message _after_ the END_RESPONSE message. On the next request, mod_jk sees this a breach in the protocol, closes the socket and resu

Tomcat AJP APR connector to mod_jk can result in SEND_BODY_CHUNK message after END_RESPONSE message, was Re: unusual mod_jk 1.2.30 log messages

2010-09-13 Thread Brett Delle Grazie
Hi, I'm top posting because I have more details and better logs. I've change the thread title accordingly. Environment is the same as the original post, with the exception that I have applied the patch Rainer suggested so that mod_jk provides more information when a protocol error is detected. C

Re: unusual mod_jk 1.2.30 log messages

2010-09-09 Thread Brett Delle Grazie
On Thu, 2010-09-09 at 09:18 +0100, Brett Delle Grazie wrote: > On Tue, 2010-09-07 at 08:00 +0100, Brett Delle Grazie wrote: > > On Thu, 2010-09-02 at 18:26 +0200, Rainer Jung wrote: > > > On 02.09.2010 13:39, Brett Delle Grazie wrote: > > > > Hi, > > > > > > > > We're having some strange errors bei

Re: unusual mod_jk 1.2.30 log messages

2010-09-09 Thread Brett Delle Grazie
On Tue, 2010-09-07 at 08:00 +0100, Brett Delle Grazie wrote: > On Thu, 2010-09-02 at 18:26 +0200, Rainer Jung wrote: > > On 02.09.2010 13:39, Brett Delle Grazie wrote: > > > Hi, > > > > > > We're having some strange errors being reported in the 1.2.30 version of > > > mod_jk. We think they might b

Re: unusual mod_jk 1.2.30 log messages

2010-09-07 Thread Brett Delle Grazie
On Thu, 2010-09-02 at 18:26 +0200, Rainer Jung wrote: > On 02.09.2010 13:39, Brett Delle Grazie wrote: > > Hi, > > > > We're having some strange errors being reported in the 1.2.30 version of > > mod_jk. We think they might be related to the performance issues we're > > experiencing under load. >

Re: unusual mod_jk 1.2.30 log messages

2010-09-02 Thread Brett Delle Grazie
On Thu, 2010-09-02 at 12:39 +0100, Brett Delle Grazie wrote: > Hi, > > We're having some strange errors being reported in the 1.2.30 version of > mod_jk. We think they might be related to the performance issues we're > experiencing under load. > > OS: RHEL 5.5 (fully patched) > Apache HTTPD: 2.2

Re: unusual mod_jk 1.2.30 log messages

2010-09-02 Thread Rainer Jung
On 02.09.2010 13:39, Brett Delle Grazie wrote: Hi, We're having some strange errors being reported in the 1.2.30 version of mod_jk. We think they might be related to the performance issues we're experiencing under load. OS: RHEL 5.5 (fully patched) Apache HTTPD: 2.2.3 (from OS vendor) mod_jk:

unusual mod_jk 1.2.30 log messages

2010-09-02 Thread Brett Delle Grazie
Hi, We're having some strange errors being reported in the 1.2.30 version of mod_jk. We think they might be related to the performance issues we're experiencing under load. OS: RHEL 5.5 (fully patched) Apache HTTPD: 2.2.3 (from OS vendor) mod_jk: 1.2.30 (downloaded from Tomcat site and compiled

Re: [OT] Batch-processing of emailed log4j log messages

2010-02-24 Thread André Warnier
Peter Crowther wrote: On 24 February 2010 18:38, André Warnier wrote: Come to think of it, the whole thing in perl is probably a 10-liner, using a hundreth of the memory you'd need with Java. Yep, absolutely - the kind of processing that perl was designed for, and is very good at. I'd make o

Re: [OT] Batch-processing of emailed log4j log messages

2010-02-24 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, .. Care to throw down the gauntlet with some code? I'd love to see something that can coalesce log messages in such a way. Me and my big mouth. This was meant to be a troll, triggering a flame. It w

Re: [OT] Batch-processing of emailed log4j log messages

2010-02-24 Thread Christopher Schultz
me to think of it, the whole thing in perl is probably a 10-liner, > using a hundreth of the memory you'd need with Java. Care to throw down the gauntlet with some code? I'd love to see something that can coalesce log messages in such a way. Remember that some log me

Re: [OT] Batch-processing of emailed log4j log messages

2010-02-24 Thread Peter Crowther
On 24 February 2010 18:38, André Warnier wrote: > Come to think of it, the whole thing in perl is probably a 10-liner, using a > hundreth of the memory you'd need with Java. Yep, absolutely - the kind of processing that perl was designed for, and is very good at. I'd make other comments about pe

Re: [OT] Batch-processing of emailed log4j log messages

2010-02-24 Thread André Warnier
André Warnier wrote: Pid wrote: On 24/02/2010 17:17, Mark H. Wood wrote: An alternative approach: you could pump the messages through a mailing-list digest builder. You may get 100 messages in five minutes, but you only get interrupted once. Sorry, I've never run a digested list so I don't h

Re: [OT] Batch-processing of emailed log4j log messages

2010-02-24 Thread André Warnier
Pid wrote: On 24/02/2010 17:17, Mark H. Wood wrote: An alternative approach: you could pump the messages through a mailing-list digest builder. You may get 100 messages in five minutes, but you only get interrupted once. Sorry, I've never run a digested list so I don't have a name handy. Th

Re: [OT] Batch-processing of emailed log4j log messages

2010-02-24 Thread Pid
On 24/02/2010 17:17, Mark H. Wood wrote: An alternative approach: you could pump the messages through a mailing-list digest builder. You may get 100 messages in five minutes, but you only get interrupted once. Sorry, I've never run a digested list so I don't have a name handy. That's smart,

Re: [OT] Batch-processing of emailed log4j log messages

2010-02-24 Thread Mark H. Wood
An alternative approach: you could pump the messages through a mailing-list digest builder. You may get 100 messages in five minutes, but you only get interrupted once. Sorry, I've never run a digested list so I don't have a name handy. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu

[OT] Batch-processing of emailed log4j log messages

2010-02-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, We use log4j for logging in our webapps, and I'm considering enabling email notifications of errors. Not that it would ever happen (of course!), but I want to avoid a situation where some bug is triggered and thousands of log message

Re: [OT] Log messages appearing twice

2009-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SM, Marking as OT because this is not Tomcat-related. On 4/21/2009 12:15 PM, Security Management wrote: > In the application log, separate file (the test.log). I only have 1 > copy of log4j.jar in the apache directory, too (my webapps copy). > > Her

RE: Log messages appearing twice

2009-04-21 Thread Security Management
stopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, April 21, 2009 11:03 AM To: Tomcat Users List Subject: Re: Log messages appearing twice -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 S&M, On 4/21/2009 9:32 AM, Security Management wrote: > Here is my log4j config file:

Re: Log messages appearing twice

2009-04-21 Thread Christopher Schultz
r.A1.MaxFileSize=100MB > log4j.appender.A1.layout=org.apache.log4j.PatternLayout > > log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n > > log4j.rootLogger=INFO, A1 > > All of my messages are printing twice in the logfile. Application log messages or Tomcat log messages? A

Log messages appearing twice

2009-04-21 Thread Security Management
Here is my log4j config file: log4j.appender.A1=org.apache.log4j.FileAppender log4j.appender.A1.File=${catalina.home}/logs/test.log log4j.appender.A1.MaxFileSize=100MB log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n log4j

Re: Log messages

2008-10-21 Thread Mohit Anchlia
Could somebody help me in answering below questions On Mon, Oct 20, 2008 at 12:57 PM, Mohit Anchlia <[EMAIL PROTECTED]> wrote: > I have 2 questions: > > 1. Can I use JMX console to enable or disable LOGLEVEL to debug? > 2. I am using log4j, and I am seeing that the logs from my application > are b

Log messages

2008-10-20 Thread Mohit Anchlia
I have 2 questions: 1. Can I use JMX console to enable or disable LOGLEVEL to debug? 2. I am using log4j, and I am seeing that the logs from my application are being written to both catalina.out and the one specified in log4j.xml ---