← Back to team overview

dhis2-users team mailing list archive

Re: upgrade from 2.17 catalina log

 

This is probably due to you not properly cleaning webapps directory before
putting the new war file there.. can you clean it out? and put the dhis.war
file there again

--
Morten

On Wed, May 13, 2015 at 8:46 AM, Simon Muyambo <smmuyambo@xxxxxxxxx> wrote:

> Anyone ever seen the problem below when upgrading from 2.17
>
>
>
> :~$ tail -f tomcat-dhis/logs/catalina.out
>
> May 13, 2015 3:26:07 AM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
>
> SEVERE: The web application [] appears to have started a thread named
> [WeakCollectionCleaner] but has failed to stop it. This is very likely to
> create a memory leak.
>
> May 13, 2015 3:26:07 AM org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [org.h2.util.DateTimeUtils$1] (value [org.h2.util.DateTimeUtils$1@1f9ca18c])
> and a value of type [java.util.GregorianCalendar] (value
> [java.util.GregorianCalendar[time=1431480358910,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Africa/Lusaka",offset=7200000,dstSavings=0,useDaylight=false,transitions=3,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2015,MONTH=4,WEEK_OF_YEAR=20,WEEK_OF_MONTH=3,DAY_OF_MONTH=13,DAY_OF_YEAR=133,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=2,AM_PM=0,HOUR=3,HOUR_OF_DAY=3,MINUTE=25,SECOND=58,MILLISECOND=910,ZONE_OFFSET=7200000,DST_OFFSET=0]])
> 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.
>
> May 13, 2015 3:26:07 AM org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@6431fe8a]) and a
> value of type
> [org.springframework.security.core.context.SecurityContextImpl] (value
> [org.springframework.security.core.context.SecurityContextImpl@ffffffff:
> Null authentication]) 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.
>
> May 13, 2015 3:26:07 AM org.apache.coyote.AbstractProtocol stop
>
> INFO: Stopping ProtocolHandler ["http-bio-8080"]
>
> May 13, 2015 3:26:07 AM org.apache.coyote.AbstractProtocol destroy
>
> INFO: Destroying ProtocolHandler ["http-bio-8080"]
>
> e^C
>
> dhis@mmsserver:~$
>
>
>
>
>
> *Regards*
>
> *Simon Muyambo*
>
>
>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 11617 (20150512) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>

References