?
Solved

tomcat console

Posted on 2011-03-04
4
Medium Priority
?
500 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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 1000 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

752 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