Solved

tomcat console

Posted on 2011-03-04
4
494 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 38
groupSum5 challenge 5 68
Exception after setting jdbc session management 2 52
advertisement module in core php 4 144
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now