Solved

tomcat console

Posted on 2011-03-04
4
498 Views
Last Modified: 2012-05-11
HI There,

I installed tomcat.exe and started using as window services in windows server 2003 . My questions is:

How can I see the tomcat console and system.out statements when I start the service?

I can see tomcat console when I start the server manually(startup.bat)

Thanks.
0
Comment
Question by:theartha
  • 2
4 Comments
 
LVL 47

Expert Comment

by:for_yan
ID: 35040298
Tomcat has a log file. I am not running it on Windows but in the Tomcat home there is
a folder logs and in that folder I have file called catalina.out.
I guess on Windows it should be something similr and even when you run it as service
it should be there. So check in Program Files/Apache and then soomething you'll see there
0
 
LVL 47

Accepted Solution

by:
for_yan earned 250 total points
ID: 35040317
I actually found in my old Windows instatllation
it is in Program Files/Apache Software Foundation/Tomcat 6.0/logs
and there there is a file called stdout.log - it has all my
console stuff including errors. If your log has different name you can
anyway easily find it in this folder, say
ordering by date
0
 
LVL 27

Assisted Solution

by:mrcoffee365
mrcoffee365 earned 250 total points
ID: 35040724
If you would like to see the Tomcat console, there is an option in the Tomcat Configuration that creates a cmd window and writes console messages to it.  It's called "Allow service to interact with desktop."

Otherwise, you can check the logs in the location for_yan mentioned above.
0
 
LVL 92

Expert Comment

by:objects
ID: 35040811
you can configure the default logging using logging.properties
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to get all the API from website? 11 131
How to convert from xls to xlsx using java 7 97
ejb on wildfly 5 48
Eclipse for Java EE development 2 46
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question