File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Want to see tomcat console

 
sachin pachpute
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Tomcat is already running on my machine but DOS window is closed, so I can not see "Systen.out.print" statements printed by application on tomcat console. I want to see output on Dos tomcat console. Can you help me in this.

Even if I run Tomcat.exe, it is getting closed automatically.
[ January 10, 2007: Message edited by: sachin pachpute ]
 
Jan Groth
Ranch Hand
Posts: 456
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
start it from the command line, not through the windows explorer.
 
Aitor Imaz
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look for the stdout.log file on the log folder. You should be able to see the console output there.
 
SriSai satish kumar
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I have installed tomcat and just stared learing Servlets . My Hello World Application went fine and the tomcat is running fine. BUt i am unable to see the messages which i have included in my HelloWorld.java ( BY System.out.println()) are not coming in the tomcat console.

Please let me know do i need to change some config files ( .xml) to be able to see the print messages in tomcat console.

Thank you,
Sri
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Aitor Imaz:
Look for the stdout.log file on the log folder. You should be able to see the console output there.
 
Bill Rogers
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have started using Tomcat 5.5 and Tomcat 6 (default installation) and was previously a user of Tomcat 3,4,5. I am using a tag library that writes log messages to System.out that I need to see. These have moved around over the years, but most recently (Tomcat 5) they were in catalina.out. They no longer appear anywhere. There is no stdout.log file on my computer(s) at all. Any idea how I can get them to reappear?
 
Rajasekhar Pentakota
Ranch Hand
Posts: 38
Java MyEclipse IDE Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


hi

To enable tomcat logs under tomcat/logs folder do the following steps

1) Go to Catalina.bat and find the following line
set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

Uncomment this line and save the file. Now run the startup.bat. Now its possible to view the log files.

Hope this serves the purpose.
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajasekhar, please don't Wake The Zombies. This topic is nearly 2 years old and I really doubt the original poster is hanging around hoping for an answer.
 
Rajasekhar Pentakota
Ranch Hand
Posts: 38
Java MyEclipse IDE Spring
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joe

I understand your concern. Rules can be broken for the sake of Others. I thread seems incomplete so I made it complete with useful answer. When anyone watchs this forum for solution it might help.

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic