Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Tomcat Logs
Tomcat Logs [message #233671] Tue, 14 July 2009 18:50 Go to next message
lillian is currently offline lillian
Messages: 6
Registered: July 2009
Junior Member
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.
Re: Tomcat Logs [message #233716 is a reply to message #233671] Wed, 15 July 2009 08:00 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3133
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.
Re: Tomcat Logs [message #233725 is a reply to message #233671] Wed, 15 July 2009 08:40 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1299
Registered: July 2009
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.
>

There is a lot of ways that Tomcat logging can be configured, which may
cause issues with server creation in WTP. Thus, the Tomcat support in
WTP basically punts on this issue. For some info about logging in
Tomcat 5.5, see
http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_enable_the_J ULI_logging_in_a_Tomcat_5.5_Server_instance.3F.

What logging you get by default goes to the Console view.

Cheers,
Larry
Re: Tomcat Logs [message #233946 is a reply to message #233716] Tue, 21 July 2009 12:27 Go to previous messageGo to next message
lillian is currently offline lillian
Messages: 6
Registered: July 2009
Junior Member
Windofkeltia wrote:

> 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.
Re: Tomcat Logs [message #233954 is a reply to message #233725] Tue, 21 July 2009 12:33 Go to previous message
lillian is currently offline lillian
Messages: 6
Registered: July 2009
Junior Member
Larry Isaacs wrote:

> 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.
>>

> There is a lot of ways that Tomcat logging can be configured, which may
> cause issues with server creation in WTP. Thus, the Tomcat support in
> WTP basically punts on this issue. For some info about logging in
> Tomcat 5.5, see
>
http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_enable_the_J ULI_logging_in_a_Tomcat_5.5_Server_instance.3F.

> 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.
Previous Topic:ActiveMQ server launcher
Next Topic:Different publishing behaviour
Goto Forum:
  


Current Time: Tue Jul 29 10:54:06 EDT 2014

Powered by FUDForum. Page generated in 0.01736 seconds