File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes System.out.println in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "System.out.println in Tomcat" Watch "System.out.println in Tomcat" New topic
Author

System.out.println in Tomcat

Ken Shamrock
Ranch Hand

Joined: Jan 23, 2002
Posts: 139
If I open tomcat in console and System out something, I can see in console, but if tomcat is startup as a service, I don't have console,
how can I see the System.out. things? Thanks


Thanks everyone who helped me
Dominic Paquette
Ranch Hand

Joined: Dec 13, 2002
Posts: 64
Hi,
I think that when tomcat is run as an NT service it redirects the output to the file stdout.log. Look in your logs directory
Hope this helps
Dominic
Ken Shamrock
Ranch Hand

Joined: Jan 23, 2002
Posts: 139
Thanks. I misslook this
Jeff Grant
Ranch Hand

Joined: Dec 19, 2001
Posts: 169
Originally posted by Ken Shamrock:
Thanks. I misslook this

I'm not sure if that means you figured it out or not.
So here is my suggestion... just do an out.print(String) if you want to see something. That way you'll see it right in your browser without having to go through the logs.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: System.out.println in Tomcat
 
Similar Threads
Important question: Tomcat Configuration
Tomcat5 console
Web start run the Jar but doesn't work No action Happened ?
can WebLogic 6.0 use a JDBC realm?
tomcat admin console