> From: djbowen1 [mailto:[EMAIL PROTECTED]
> I have the catalina.out and the catalina.date logs.which one is more
> usefull?

The .out file typically has any errors in it.  The logging format is similar to 
many other applications.  I'd suggest looking through that for error messages - 
a swift hunt for "xception" in your text editor of choice is often remarkably 
informative!

To find the most recent set of exceptions, go to the end of the file and search 
backwards for "startup".  YOu should find a "startup complete" line.  Anything 
more recent than that is after the webapp started, but I suspect you'll find 
problems before that - look backwards in the file for things that look 
problematic.

If you're new to Java and Tomcat, one piece of advice: post *full* stack traces 
of any exceptions you need more information about.  The "headline" exception 
often has nested exceptions inside it, and it's often the innermost one (and 
hence the bottom one on the stack trace) that's the most infomative one.  Along 
the lines of:

FubarException: Couldn't start application
[... trace...]
-- nested exception --
SqlException: Couldn't connect
[... trace...]
-- nested exception --
SocketException: Connection refused
[... trace...]

As you can imagine, it's a lot easier to diagnose the problem with all of that 
than if we just see the FubarException!

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to