Hi I'm sorry if this has been asked before. I did a search on the subject
of Tomcat logs and couldn't find the answer.
I've created a jsp page in Eclipse 3.3.0. I'm running it with Tomcat
5.5.27 on Mac OS X 10.5 and the page isn't appearing. I'm seeing the 500
error page with two stack traces. On the bottom in the area marked note
it says "The full stack trace of the root cause is available in the Apache
Tomcat/5.5.27 logs".
I see the directory where the web application has been deployed - it's
inside of wtpwebapps. And in the parent directory of wtpwebapps I see a
directory called "logs" but it's empty.
Where can I find the Tomcat system logs when I'm running with Eclipse?
Russell Bateman Messages: 2701 Registered: July 2009 Location: Provo, Utah, USA
Senior Member
lillian wrote:
> Hi I'm sorry if this has been asked before. I did a search on the
> subject of Tomcat logs and couldn't find the answer.
>
> I've created a jsp page in Eclipse 3.3.0. I'm running it with Tomcat
> 5.5.27 on Mac OS X 10.5 and the page isn't appearing. I'm seeing the
> 500 error page with two stack traces. On the bottom in the area marked
> note it says "The full stack trace of the root cause is available in the
> Apache Tomcat/5.5.27 logs".
> I see the directory where the web application has been deployed - it's
> inside of wtpwebapps. And in the parent directory of wtpwebapps I see a
> directory called "logs" but it's empty.
> Where can I find the Tomcat system logs when I'm running with Eclipse?
>
> Thanks.
>
On Windows, my Tomcat logs fall on the path c:\Program Files\Apache
Software Foundation\Tomcat 6.0\logs because that's where I installed Tomcat.
lillian wrote:
> Hi I'm sorry if this has been asked before. I did a search on the
> subject of Tomcat logs and couldn't find the answer.
>
> I've created a jsp page in Eclipse 3.3.0. I'm running it with Tomcat
> 5.5.27 on Mac OS X 10.5 and the page isn't appearing. I'm seeing the
> 500 error page with two stack traces. On the bottom in the area marked
> note it says "The full stack trace of the root cause is available in the
> Apache Tomcat/5.5.27 logs".
> I see the directory where the web application has been deployed - it's
> inside of wtpwebapps. And in the parent directory of wtpwebapps I see a
> directory called "logs" but it's empty.
> Where can I find the Tomcat system logs when I'm running with Eclipse?
>
> Thanks.
>
> lillian wrote:
>> Hi I'm sorry if this has been asked before. I did a search on the
>> subject of Tomcat logs and couldn't find the answer.
>>
>> I've created a jsp page in Eclipse 3.3.0. I'm running it with Tomcat
>> 5.5.27 on Mac OS X 10.5 and the page isn't appearing. I'm seeing the
>> 500 error page with two stack traces. On the bottom in the area marked
>> note it says "The full stack trace of the root cause is available in the
>> Apache Tomcat/5.5.27 logs".
>> I see the directory where the web application has been deployed - it's
>> inside of wtpwebapps. And in the parent directory of wtpwebapps I see a
>> directory called "logs" but it's empty.
>> Where can I find the Tomcat system logs when I'm running with Eclipse?
>>
>> Thanks.
>>
> On Windows, my Tomcat logs fall on the path c:Program FilesApache
> Software FoundationTomcat 6.0logs because that's where I installed Tomcat.
Yes. That's where I can find them if I am not working in Eclipse. But I
couldn't find them there working in Eclipse. Thanks for your help though.
> lillian wrote:
>> Hi I'm sorry if this has been asked before. I did a search on the
>> subject of Tomcat logs and couldn't find the answer.
>>
>> I've created a jsp page in Eclipse 3.3.0. I'm running it with Tomcat
>> 5.5.27 on Mac OS X 10.5 and the page isn't appearing. I'm seeing the
>> 500 error page with two stack traces. On the bottom in the area marked
>> note it says "The full stack trace of the root cause is available in the
>> Apache Tomcat/5.5.27 logs".
>> I see the directory where the web application has been deployed - it's
>> inside of wtpwebapps. And in the parent directory of wtpwebapps I see a
>> directory called "logs" but it's empty.
>> Where can I find the Tomcat system logs when I'm running with Eclipse?
>>
>> Thanks.
>>
> What logging you get by default goes to the Console view.
> Cheers,
> Larry
Thanks Larry. I followed the instructions on that page and I was able to
see the log files generated in the logs directory of the parent directory
of wtpwebapps.