Team,

Below are the links which says it is a BUG in Google GUICE and It is fixed
in next version .

https://stackoverflow.com/questions/6025089/guice-tomcat-potential-memory-leak

https://github.com/google/guice/issues/288

I am using Java :  *jdk1.8.0_102 and Tomcat : apache-tomcat-7.0.52*

*Please let me know if my environment is not correct .*

*Regards,*
*Amarjeet Singh*


<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sun, Mar 25, 2018 at 11:32 AM, Amarjeet Singh <[email protected]>
wrote:

> Hi Team,
>
> I am getting the below errors in TOMCAT if 30-50 users are trying to
> logged in within 20 sec.
>
> Tomcat stops after these errors and I have to restart it every time.
>
> Remote OS : Windows 10 , Local OS : Windows 10
>
> Guacamole-Client Version  : Latest code from GIT
> Guacamole-Server Version : Latest Code form GIT
>
> FreeRDP : Version 1.0.2
>
> INFO: Starting ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
>> Mar 24, 2018 9:55:29 PM org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 5811 ms
>> Mar 24, 2018 9:55:38 PM org.apache.coyote.AbstractProtocol pause
>> INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-8080"]
>> Mar 24, 2018 9:55:38 PM org.apache.coyote.AbstractProtocol pause
>> INFO: Pausing ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
>> Mar 24, 2018 9:55:38 PM org.apache.catalina.core.StandardService
>> stopInternal
>> INFO: Stopping service Catalina
>> Mar 24, 2018 9:55:38 PM org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>> SEVERE: The web application [/guacamole-0.9.14] appears to have started
>> a thread named [com.google.inject.internal.util.$Finalizer] but has
>> failed to stop it. This is very likely to create a memory leak.
>> Mar 24, 2018 9:55:38 PM org.apache.catalina.loader.WebappClassLoader
>> checkThreadLocalMapForLeaks
>> SEVERE: The web application [/ guacamole-0.9.14 ] created a ThreadLocal
>> with key of type [com.google.inject.internal.InjectorImpl$1] (value
>> [com.google.inject.internal.InjectorImpl$1@37cb77e0]) and a value of
>> type [java.lang.Object[]] (value [[Ljava.lang.Object;@165d7330]) but
>> failed to remove it when the web application was stopped. Threads are going
>> to be renewed over time to try and avoid a probable memory leak.
>> Mar 24, 2018 9:55:38 PM org.apache.catalina.loader.WebappClassLoader
>> checkThreadLocalMapForLeaks
>> SEVERE: The web application [/ guacamole-0.9.14 ] created a ThreadLocal
>> with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value
>> [com.sun.xml.bind.v2.ClassFactory$1@490ea269]) and a value of type
>> [java.util.WeakHashMap] (value [{class javax.xml.bind.annotation.
>> W3CDomHandler=java.lang.ref.WeakReference@753c37f7}]) but failed to
>> remove it when the web application was stopped. Threads are going to be
>> renewed over time to try and avoid a probable memory leak.
>> Mar 24, 2018 9:55:38 PM org.apache.coyote.AbstractProtocol stop
>> INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-8080"]
>> Mar 24, 2018 9:55:38 PM org.apache.coyote.AbstractProtocol stop
>> INFO: Stopping ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
>> Mar 24, 2018 9:55:38 PM org.apache.coyote.AbstractProtocol destroy
>> INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-8080"]
>> Mar 24, 2018 9:55:38 PM org.apache.coyote.AbstractProtocol destroy
>> INFO: Destroying ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
>
>
> I have tried with the fresh  code from GIT ( with no modifications ) as
> well but same error.
>
> Please advice what could I do ?
>
>
> Thanks and Regards,
> Amarjeet Singh
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-437813883249438917_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

Reply via email to