----- Original Message ----- From: "SerFingolfin" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Thursday, September 18, 2008 5:29 PM
Subject: Re: Tomcat as Windows service and output window



Thanks for your help!
But that's not so easy doing that...
I was wondering how Netbeans can make my traybar work
hiding tomcat's output window at the same time!
And not only hide : they can redirect tomcat's output to a text area
inside the IDE...


Netbeans doesnt start TC as a service?
Its probably starting TC with
   JavaW

ie Java (shows terminal)
JavaW (does not)

A windows service is a different animal that starts TC thru a JVM.dll

Netbeans is capturing the PrintStream... google for PrintStream System

Because a normal user started NB... the processes are running in that users name and they have desktop rights...
A service does not (windows thing) unless "allow whatever" is set.

So all NB is doing is
   JavaW tomcat
   Capture printstream

I'm not sure how much you can see in the ant script... but how they launch TC is probably there...

A service... is a different story... because they run even when no one has logged on...

... something like that ;)

Linux is much easier... same trick with a little & behind it ;)

Have fun ;)

---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to