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
Solved

tomcat console

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
table example 4 32
MySQL  on Tomcat 8 68
How  Can  I  resolve   this  Error "java.sql.SQLException: Invalid column index" 4 49
ejb entity bean example 2 13
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

860 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