• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Want to see tomcat console

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
start it from the command line, not through the windows explorer.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 39
MyEclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 39
MyEclipse IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic