Re: How to debug Error: listenerStart?

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/6/2009 5:45 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: How to debug Error: listenerStart? > > >> In my webapp, I have a defi

RE: How to debug Error: listenerStart?

2009-04-06 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: How to debug Error: listenerStart? > In my webapp, I have a defined first that does this: > > > > This appears to load my configuration correctly, but I don't see any > Tomcat message

Re: How to debug Error: listenerStart?

2009-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/2/2009 3:03 PM, Caldarale, Charles R wrote: >> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] >> Subject: Re: How to debug Error: listenerStart? >> >> my webapp dynamically configures log4j

Re: How to debug Error: listenerStart?

2009-04-06 Thread Dan Armbrust
On Sat, Apr 4, 2009 at 9:08 PM, Caldarale, Charles R wrote: > I think I figured out what's going on.  Tomcat 5.5 uses an unmodified > LogFactory from commons-logging, which pokes around for logging mechanisms - > and finds your log4j.jar inside your webapp.  Tomcat 6.0, on the other hand, > us

RE: How to debug Error: listenerStart?

2009-04-05 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: How to debug Error: listenerStart? > log4j errors when porting a 5.5 webapp to 6.x: > output/build/webapp/docs/logging.html None of your post is relevant to the topic under discussion. The instructions for usin

RE: How to debug Error: listenerStart?

2009-04-05 Thread Martin Gainty
can easily be subject to manipulation, we can not accept any liability for the content provided. > From: chuck.caldar...@unisys.com > To: users@tomcat.apache.org > Date: Sat, 4 Apr 2009 21:08:55 -0500 > Subject: RE: How to debug Error: listenerStart? > > &g

RE: How to debug Error: listenerStart?

2009-04-04 Thread Caldarale, Charles R
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] > Subject: Re: How to debug Error: listenerStart? > > Perhaps it is behaving different on Tomcat 6. I didn't try 6, only > the latest 5.5, since that's what I'm using in production. Sorry, I didn'

Re: How to debug Error: listenerStart?

2009-04-04 Thread Dan Armbrust
On Fri, Apr 3, 2009 at 8:32 PM, Caldarale, Charles R wrote: >> From: Caldarale, Charles R >> Subject: RE: How to debug Error: listenerStart? > >> To close out this thread > > Or maybe not. > >> I've reopened bug >> https://issues.apache.org/bugzi

RE: How to debug Error: listenerStart?

2009-04-03 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: How to debug Error: listenerStart? > To close out this thread Or maybe not. > I've reopened bug > https://issues.apache.org/bugzilla/show_bug.cgi?id=34110 > and attached a war file which demonstrates the problem. I downloaded

Re: How to debug Error: listenerStart?

2009-04-03 Thread Dan Armbrust
To close out this thread, I've reopened bug https://issues.apache.org/bugzilla/show_bug.cgi?id=34110 and attached a war file which demonstrates the problem. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additio

Re: How to debug Error: listenerStart?

2009-04-03 Thread André Warnier
Caldarale, Charles R wrote: From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] Subject: Re: How to debug Error: listenerStart? There is obviously some interaction going on between my webapp and tomcat's logging system that I don't know about. Many Tomcat components associa

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
>> What would I need to do to make log4j within my webapp >> have a temporary configuration which would log to the >> console until the point when my webapp executes it's >> dynamic configuration? > > Create a log4j.xml or log4j.properties file in WEB-INF/classes. > Bingo. That makes my log4j war

RE: How to debug Error: listenerStart?

2009-04-02 Thread Caldarale, Charles R
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] > Subject: Re: How to debug Error: listenerStart? > > my webapp dynamically configures log4j with a pattern like this: > > LogManager.resetConfiguration(); > PropertyConfigurator.configure(properties); I think

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
On Thu, Apr 2, 2009 at 1:00 PM, Caldarale, Charles R wrote: >> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] >> Subject: Re: How to debug Error: listenerStart? >> >> There is obviously some interaction going on between my webapp >> and tomcat's log

RE: How to debug Error: listenerStart?

2009-04-02 Thread Caldarale, Charles R
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] > Subject: Re: How to debug Error: listenerStart? > > There is obviously some interaction going on between my webapp > and tomcat's logging system that I don't know about. Many Tomcat components associated wi

Re: How to debug Error: listenerStart?

2009-04-02 Thread Gregor Schneider
On Thu, Apr 2, 2009 at 7:30 PM, Dan Armbrust wrote: > > What would be doing this?  Something in my app is preventing this > severe error from being passed up to tomcat to be logged - but then my > app doesn't log it either - probably because it is stopped before it > ever finishes deploying. Your

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
I got a brand new copy of tomcat 5.5.25, and tested it. Some of the provided apps, such as balancer - create entries in the localhost log file. I used kdiff to compare the entire tomcat folder hierarchy to my tomcat distribution, and I can't find any significant difference that could cause my mis

RE: How to debug Error: listenerStart?

2009-04-02 Thread Caldarale, Charles R
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] > Subject: Re: How to debug Error: listenerStart? > > Both of these variables are hard coded into the top of the catalina.sh > script. The rest is untouched from stock. As a side note, you can do this with a separate s

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
> What are you using on the command line to start Tomcat?  In particular, what > is the value of the following system properties? > > java.util.logging.manager > java.util.logging.config.file > > The default values are org.apache.juli.ClassLoaderLogManager and > ${catalina.base}/conf/logging.prop

Re: How to debug Error: listenerStart?

2009-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, On 4/2/2009 11:02 AM, Dan Armbrust wrote: Yup, although Chuck's example is a missing filter, not a missing listener. >>> The OP's original problem *was* a missing filter: >>> http://marc.info/?l=tomcat-user&m=123862274508212&w=2 >> I tr

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
>>> Yup, although Chuck's example is a missing filter, not a >>> missing listener. >> >> The OP's original problem *was* a missing filter: >> http://marc.info/?l=tomcat-user&m=123862274508212&w=2 > > I trust error messages more than I trust posters' assertions: > >> SEVERE: Error listenerStart > >

RE: How to debug Error: listenerStart?

2009-04-02 Thread Caldarale, Charles R
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] > Subject: Re: How to debug Error: listenerStart? > > Add sample modjk2 scripts. The mod_jk2 package was deprecated many years ago; you should not be using it. > Log4j _is_ present in the war files that I deploy, howe

RE: How to debug Error: listenerStart?

2009-04-02 Thread Caldarale, Charles R
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] > Subject: Re: How to debug Error: listenerStart? > > My logging.properties file is exactly what came with tomcat 5.5.25. What are you using on the command line to start Tomcat? In particular, what is the value of t

RE: How to debug Error: listenerStart?

2009-04-02 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: How to debug Error: listenerStart? > > > SEVERE: Error listenerStart > > That's definitely a listener that won't start, not a filter. The OP has just posted a second retraction... -

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
>> log4j:WARN No appenders could be found for logger >> (org.apache.catalina.startup.TldConfig). >> log4j:WARN Please initialize the log4j system properly. > > This indicates that you /have/ made changes to Tomcat's default logging > configuration. Tomcat doesn't use log4j by default. Do you have >

Re: How to debug Error: listenerStart?

2009-04-02 Thread André Warnier
Dan Armbrust wrote: [...] Actually, it's not. The stack trace is not present in _any_ log file that Tomcat is creating, in my instance of Tomcat. So, I seem to have a secondary problem that is messing up Tomcats logging configuration. Any idea what I should check, to figure out why I don't

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
Here is the non-commented out bits of my server.xml: My logging.properties file is exactly what came with tomcat 5.5.25. - To unsubscribe,

Re: How to debug Error: listenerStart?

2009-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, On 4/2/2009 10:21 AM, Dan Armbrust wrote: > I haven't made any changes to Tomcats default logging configuration. > > Tomcat does print this to the console as it starts up: > > log4j:WARN No appenders could be found for logger > (org.apache.cata

Re: How to debug Error: listenerStart?

2009-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/2/2009 10:03 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: How to debug Error: listenerStart? >> >> Yup, although Chuck's example is a miss

Re: How to debug Error: listenerStart?

2009-04-02 Thread Ken Bowen
vanilla download from the Apache site). On Apr 2, 2009, at 10:09 AM, Dan Armbrust wrote: On Wed, Apr 1, 2009 at 5:02 PM, Caldarale, Charles R wrote: From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] Subject: Re: How to debug Error: listenerStart? Why doesn't tomcat log a stack trace

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
> > Any idea what I should check, to figure out why I don't have a log > file? > Correction. I have a log file - but it is always blank. Size 0. I tried the starting it up with a missing filter, and a missing listener, and neither case gives me anything in the log file. I haven't made any

RE: How to debug Error: listenerStart?

2009-04-02 Thread Caldarale, Charles R
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] > Subject: Re: How to debug Error: listenerStart? > > Actually, it's not. Very odd. Sorry for the comment. > Any idea what I should check, to figure out why I don't > have a log file? Have you added

RE: How to debug Error: listenerStart?

2009-04-02 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: How to debug Error: listenerStart? > > Yup, although Chuck's example is a missing filter, not a > missing listener. The OP's original problem *was* a missing filter: http://m

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
On Wed, Apr 1, 2009 at 5:02 PM, Caldarale, Charles R wrote: >> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] >> Subject: Re: How to debug Error: listenerStart? >> >> Why doesn't tomcat log a stack trace > > It does, in the log associated with the

Re: How to debug Error: listenerStart?

2009-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/1/2009 6:02 PM, Caldarale, Charles R wrote: >> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] >> Subject: Re: How to debug Error: listenerStart? >> >> Why doesn't tomcat log a stack trace >

RE: How to debug Error: listenerStart?

2009-04-01 Thread Caldarale, Charles R
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] > Subject: RE: How to debug Error: listenerStart? > > Any thoughts on if this is a bug, a specific problem with > my tomcat installation, or a design decision that I don't > agree with? If you really do want

RE: How to debug Error: listenerStart?

2009-04-01 Thread Caldarale, Charles R
> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] > Subject: Re: How to debug Error: listenerStart? > > Why doesn't tomcat log a stack trace It does, in the log associated with the of interest: Apr 1, 2009 4:58:44 PM org.apache.catalina.core.StandardContext f

Re: How to debug Error: listenerStart?

2009-04-01 Thread Dan Armbrust
Ok, I've finally tracked down my specific problem. When a filter is declared in the web.xml file: requestCounter com.foo.bar.FancyFilter And the class com.foo.bar.FancyFilter is missing from the war file that you deploy, Tomcat 5.5.25 prints this to the console: INFO: Deplo

Re: How to debug Error: listenerStart?

2009-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, On 4/1/2009 4:16 PM, Dan Armbrust wrote: > I have a filter somewhere in a webapp that has gotten broken through > my own packaging process, likely due to a missing class. Are you sure it's a filter and not a listener? > SEVERE: Error listenerSt