tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets
Date Fri, 29 Jun 2012 16:07:27 GMT
2012/6/22 Laurent Petit <lpetit@yseop.com>:
> Hello,
>
> On Thu, 2012-06-21 at 22:53 +0200, Jeff MAURY wrote:
>> Is it specific to Wordpad or any launched process will do the trick ?
>> Do you tried with a non UI process (console) ?
>
>
> I did an additional test, as you suggested, with a non UI process (a
> small java executable launched in headless mode, whose purpose was just
> to wait for 20 seconds before exiting).
>
> I can reproduce the problem with this headless executable: the HTTP
> client is blocked until the 20 seconds elapse and the process is killed.
>
>
> Here is the modified servlet code I used:
>
> https://www.refheap.com/paste/3285
>
>
> and here is the code for the small java program:
>
> https://www.refheap.com/paste/3286
>

I wonder what will happen if you would start another program from the
one that you are launching.

E.g. create a *.bat file and use "start" command to launch other
process from it.

Something like this:
cmd.exe /C start wordpad.exe

Best regards,
Konstantin Kolinko

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


Mime
View raw message