Hi, Filip,

When I used full fledged Tomcat 5.5.15 (i.e. standard edition) in an OSGi 
environment, I found the thread pool of the ReplicationListener was not be 
destroyed when I stopped Tomcat. So after I stopped and restarted Tomcat for a 
few times, the accumulated number of undestroyed threads would increase 
accordingly. This resulted in serious memory leak in case of needing stopping 
and restarting Tomcat in succession in a JVM within its single lifecycle. 

So I read the code of ReplicationListener.java and tried to figure out what is 
the problem. I saw there is a start method which instantiates a ThreadPool 
instance but seems no matched stop method provided to destroy the created 
instance. I am wondering is this a negligence or by design for some reasons?

In addition, a few other threads such as "Cluster-MembershipReceiver", 
"http-xxxx-Processor***" and "TP-Processor*" were also not able to be destroyed 
in my case.

I know with normal Tomcat usage, this might not be a problem since Tomcat 
stopping/restarting implies JVM stopping/restarting, all threads and memory 
will get recycled after JVM has stopped. But this is indeed a problem in my 
case.


Thanks,
Eric



-----Original Message-----
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] 
Sent: 2006年6月23日 22:02
To: Tomcat Developers List
Subject: Re: New Feature List

Look at the "Get Involved" section of Tomcat's home page

http://tomcat.apache.org/getinvolved.html

Yoav Shapira wrote:
> Riyaz,
> New contributors are always welcome.
>
> A decent place to start looking for work are the open issues for
> Tomcat in Bugzilla.  You will see a number marked as Enhancement
> Requests, and a number whose solution is not trivial at all.  Work on
> whatever interests you...
>
> Yoav
>
> On 6/23/06, Riyaz Mansoor <[EMAIL PROTECTED]> wrote:
>>
>> i'll keep it brief.
>>
>> i'm looking to spend time on working on the new features coming to
>> tomcat 5.5 or 6
>>
>> on the website, i could find no info on this. i was hoping there would
>> be a page listing the features being worked in 5.5 and the coming
>> features in 6
>>
>> riyaz
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>


-- 


Filip Hanik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to