On 09/06/2011 18:44, Calum wrote:
> On 9 June 2011 09:11, Pid wrote:
>> Eh? Why would you need to put Tomcat specific dependencies in a spec
>> compliant Servlet container? The above is simply not true.
>>
>> The OP use of a ServletContextListener is perfectly valid, (even if the
>> rest of the
On 9 June 2011 09:11, Pid wrote:
> Eh? Why would you need to put Tomcat specific dependencies in a spec
> compliant Servlet container? The above is simply not true.
>
> The OP use of a ServletContextListener is perfectly valid, (even if the
> rest of the code is a little odd).
Is it better to h
On 07/06/2011 16:33, Bill Miller wrote:
> If you want to work with threads in tomcat you need to know about the Tomcat
> org.apache.catalina.LifecycleListener interface.
Eh? Why would you need to put Tomcat specific dependencies in a spec
compliant Servlet container? The above is simply not true
the LifecycleEvent types in case you have use for the other options.
>
> Bill
>
> -----Original Message-----
> From: alexis [mailto:alz...@gmail.com]
> Sent: June 6, 2011 8:10 PM
> To: Tomcat Users List
> Subject: how to correct stop a thread and avoid leaks
>
> Hell
all of
the LifecycleEvent types in case you have use for the other options.
Bill
-Original Message-
From: alexis [mailto:alz...@gmail.com]
Sent: June 6, 2011 8:10 PM
To: Tomcat Users List
Subject: how to correct stop a thread and avoid leaks
Hello, im running an app that has a class that
Hello, im running an app that has a class that implements
ServletContextListener (Server class), on that class i create a thread of
Listener (that implements Runnable)
Listener starts a ServerSocket that listen on a port, and in a periodically
manner, this app receives a string, parses the stri