Another way to launch an external program from a servlet?

2007-01-17 Thread Roger Simmons

I need to launch a program from a servlet that the user can interact
with.  I currently use Runtime.exec(), but I haven't found a way to do
it without having to select the Allow service to interact with
desktop option in Services.

Is there another way of doing it so that this option doesn't have to
be selected?
The motivation is that when the option is selected, tomcat launches
its console screen which can't be closed without stopping the service.

Thanks

Roger

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



Re: running tomcat invisibly

2007-01-11 Thread Roger Simmons

The reason I have it checked is because the servlet I'm running
launches applications, and when it's not checked these applications
are also invisble (that is they show up as processes, but the user
can't interact with them).  But the user needs to be able to interact
with them.  That is the problem.

The applications are launched using the Runtime.exec. Is there is a
different way of starting processes from tomcat that would make them
visible while keeping the Allow Service to Interact with the Desktop
option unchecked?

Thanks,

Roger

On 1/10/07, David Kerber [EMAIL PROTECTED] wrote:

Roger Simmons wrote:

 Is it possible to run tomcat invisibly (that is without any console
 being displayed) if you check Allow Service to Interact with the
 Desktop in Windows services?  (I'm using tomcat 5.5)

Probably not, but if you *uncheck* that option, the only place you'll
see it is in task manager.

Dave



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




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



running tomcat invisibly

2007-01-10 Thread Roger Simmons

Is it possible to run tomcat invisibly (that is without any console
being displayed) if you check Allow Service to Interact with the
Desktop in Windows services?  (I'm using tomcat 5.5)
Thanks
Roger

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