I have not tried this... but I will give it a try..

You can have the startup.bat registered as a service and redirect output to a 
text file. This will give you a text file showing the console window output

Sincerely,

Robert Jenkin
Surecomp Services, Inc.
2 Hudson Place, 4th Floor
Hoboken, NJ 07030
Skype: robert.jenkin
Office: 201 217 1437 | Direct: 201 716 1219 | Mobile: 908 251 0537
http://www.Surecomp.com


-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: Wednesday, March 09, 2011 9:41 AM
To: Tomcat Users List
Subject: RE: console with when running as service

> From: Zbynek Vavros [mailto:zbynek_vav...@cz.ibm.com] 
> Subject: console with when running as service

> is it possible to setup Tomcat service in a way that it will display
> console window after service start, same as when started using bat file?
> I mean window to which standart outputs and errors are redirected....

You keep asking the same question, and you apparently don't understand what a 
Windows service is for.  Services are meant to run in the background, and 
normally start *before any user logs in*.  Unless there's a logged-in user, 
there cannot be any console windows.  On newer versions of Windows (Vista and 
later), having a service interact with the desktop is mind-bogglingly painful 
experience.

If you want a console window, run Tomcat from the startup.bat script.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


This mail was sent via Mail-SeCure System.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to