tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Fwd: Failed to stop component [StandardEngine[Catalina].StandardHost[localhost]
Date Thu, 29 Dec 2016 19:47:52 GMT
On 29 December 2016 09:56:45 GMT+00:00, Fady Haikal <fadyhaikal@gmail.com> wrote:
>Dear Mark,
>is this bug is fixed in any version?

It hasn't been fixed yet but assuming we follow the usual pattern, it will be fixed for the
next set of Tomcat releases in early January.

Mark


>Regards,
>Fady
>
>On Thu, Dec 22, 2016 at 10:22 PM, Mark Thomas <markt@apache.org> wrote:
>> On 22/12/2016 15:46, Fady Haikal wrote:
>>> We can see the below error on the log file please advise:
>>
>> You are using multiple start/start threads and the RMI reference
>> cleaning isn't thread safe. Arguably that is a bug in Tomcat but if
>you
>> fix the RMI memory leaks in your application you won't hit the Tomcat
>bug.
>>
>> Mark
>>
>>
>>>
>>> OS: windows
>>> Tomcat Version: 8.0.30
>>> Cluster Tomcat
>>>
>>> 30-Nov-2016 08:32:21.197 SEVERE [Catalina-startStop-2]
>>> org.apache.catalina.core.ContainerBase.stopInternal A child
>container
>>> failed during stop
>>>
>>> java.util.concurrent.ExecutionException:
>>> org.apache.catalina.LifecycleException: Failed to stop component
>>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
>>>
>>>                 at java.util.concurrent.FutureTask.report(Unknown
>Source)
>>>
>>>                 at java.util.concurrent.FutureTask.get(Unknown
>Source)
>>>
>>>                 at
>>>
>org.apache.catalina.core.ContainerBase.stopInternal(ContainerBase.java:972)
>>>
>>>                 at
>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>>>
>>>                 at
>>> org.apache.catalina.core.ContainerBase$StopChild.call(
>>> ContainerBase.java:1424)
>>>
>>>                 at
>>> org.apache.catalina.core.ContainerBase$StopChild.call(
>>> ContainerBase.java:1413)
>>>
>>>                 at java.util.concurrent.FutureTask.run(Unknown
>Source)
>>>
>>>                 at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>>>
>>>                 at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>>
>>>                 at java.lang.Thread.run(Unknown Source)
>>>
>>> Caused by: org.apache.catalina.LifecycleException: Failed to stop
>>> component [StandardEngine[Catalina].StandardHost[localhost].
>>> StandardContext[]]
>>>
>>>                 at
>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
>>>
>>>                 ... 6 more
>>>
>>> Caused by: org.apache.catalina.LifecycleException: Failed to stop
>>> component [WebappLoader[]]
>>>
>>>                 at
>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
>>>
>>>                 at
>>> org.apache.catalina.core.StandardContext.stopInternal(
>>> StandardContext.java:5517)
>>>
>>>                 at
>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>>>
>>>                 ... 6 more
>>>
>>> Caused by: java.util.ConcurrentModificationException
>>>
>>>                 at java.util.HashMap$HashIterator.nextEntry(Unknown
>Source)
>>>
>>>                 at java.util.HashMap$ValueIterator.next(Unknown
>Source)
>>>
>>>                 at
>>>
>org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesRmiTargets(
>>> WebappClassLoaderBase.java:2275)
>>>
>>>                 at
>>> org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(
>>> WebappClassLoaderBase.java:1578)
>>>
>>>                 at
>>> org.apache.catalina.loader.WebappClassLoaderBase.stop(
>>> WebappClassLoaderBase.java:1521)
>>>
>>>                 at
>>>
>org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:447)
>>>
>>>                 at
>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>>>
>>>                 ... 8 more
>>>
>>>
>>>
>>>
>>> 30-Nov-2016 08:32:21.354 SEVERE [Catalina-startStop-2]
>>> org.apache.catalina.core.ContainerBase.stopInternal A child
>container
>>> failed during stop
>>>  java.util.concurrent.ExecutionException:
>>> org.apache.catalina.LifecycleException: Failed to stop component
>>>
>[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]
>>> at java.util.concurrent.FutureTask.report(Unknown Source)
>>> at java.util.concurrent.FutureTask.get(Unknown Source)
>>> at org.apache.catalina.core.ContainerBase.stopInternal(
>>> ContainerBase.java:972)
>>> at
>org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>>> at org.apache.catalina.core.ContainerBase$StopChild.call(
>>> ContainerBase.java:1424)
>>> at org.apache.catalina.core.ContainerBase$StopChild.call(
>>> ContainerBase.java:1413)
>>> at java.util.concurrent.FutureTask.run(Unknown Source)
>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>Source)
>>> at java.lang.Thread.run(Unknown Source)
>>> Caused by: org.apache.catalina.LifecycleException: Failed to stop
>>> component [StandardEngine[Catalina].StandardHost[localhost].
>>> StandardContext[/docs]]
>>> at
>org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
>>> ... 6 more
>>> Caused by: org.apache.catalina.LifecycleException: Failed to stop
>>> component [WebappLoader[/docs]]
>>> at
>org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
>>> at org.apache.catalina.core.StandardContext.stopInternal(
>>> StandardContext.java:5517)
>>> at
>org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>>> ... 6 more
>>> Caused by: java.util.ConcurrentModificationException
>>> at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
>>> at java.util.HashMap$ValueIterator.next(Unknown Source)
>>> at org.apache.catalina.loader.WebappClassLoaderBase.
>>> clearReferencesRmiTargets(WebappClassLoaderBase.java:2275)
>>> at org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(
>>> WebappClassLoaderBase.java:1578)
>>> at org.apache.catalina.loader.WebappClassLoaderBase.stop(
>>> WebappClassLoaderBase.java:1521)
>>> at org.apache.catalina.loader.WebappLoader.stopInternal(
>>> WebappLoader.java:447)
>>> at
>org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>>> ... 8 more
>>>
>>>
>>> Regards,
>>> Fady
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org



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


Mime
View raw message