← Back to team overview

dhis2-devs team mailing list archive

Re: latest 2.28 build not working?

 

OK sorry I was misreading something I read earlier in your log file (which
was actually saying there was no such file ROOT.war rather than a bad war).

But after that you seem to have placed the war into correct position and
started successfully.  It says it has deployed though it is odd that there
is no sign in the logs of the usual startup messages.  I am afraid I have
no explanation for that.


On 1 August 2018 at 13:21, Bernard Sadaka (IM Advisor) <lib.ima@xxxxxxxxxx>
wrote:

> Dear Bob,
>
> Apparently the unzip command returns: No errors detected in compressed
> data of ROOT.war (and attached the output).
>
> Please advise.
>
>
>
> All the best,
>
> Bernard
>
>
>
> [image: cid:image002.png@01D36F50.572585A0]
>
> *Bernard Sadaka*
>
> *Information Management Advisor*
>
> Première Urgence - Aide Médicale Internationale
>
> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>
> Ain el Remmaneh, Beirut, Lebanon
>
> *E-mail:* lib.ima@xxxxxxxxxx
>
> *Cell:* +961 71 004 881 (208)
>
> *Skype:* imapuami
>
> *Website:* https://www.pu-ami.org
>
>
>
>
>
> *From:* Bob Jolliffe [mailto:bobjolliffe@xxxxxxxxx]
> *Sent:* Wednesday, August 1, 2018 03:08 PM
> *To:* lib.ima@xxxxxxxxxx
> *Cc:* Jason Pickering <jason.p.pickering@xxxxxxxxx>; dhis2-devs <
> dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> *Subject:* Re: [Dhis2-devs] latest 2.28 build not working?
>
>
>
> Hi Bernard
>
>
>
> Your war file is damaged ie. it is not a proper zip file.  Probably
> interrupted during download.  You need to clear everything out of your
> webapps directory, download and deploy it again.
>
>
>
> You can always test if your war file is "good" by running "unzip -t
> mywarfile.war"
>
>
>
> This is your current problem.  Having resolved this we may of course see
> new ones, but one step at a time.
>
>
>
> Regards
>
> Bob
>
>
>
> On 1 August 2018 at 12:44, Bernard Sadaka (IM Advisor) <lib.ima@xxxxxxxxxx>
> wrote:
>
> Dear Jason,
>
> Please find attached the full logs for today.
>
> I tried several times to load the old WAR file and then the new WAR file
> and did it multiple times.
>
> Looking forward to your support.
>
> Thank you in advance.
>
> All the best,
>
> Bernard
>
>
>
> [image: cid:image002.png@01D36F50.572585A0]
>
> *Bernard Sadaka*
>
> *Information Management Advisor*
>
> Première Urgence - Aide Médicale Internationale
>
> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>
> Ain el Remmaneh, Beirut, Lebanon
>
> *E-mail:* lib.ima@xxxxxxxxxx
>
> *Cell:* +961 71 004 881 (208)
>
> *Skype:* imapuami
>
> *Website:* https://www.pu-ami.org
>
>
>
>
>
> *From:* Jason Pickering [mailto:jason.p.pickering@xxxxxxxxx]
> *Sent:* Wednesday, August 1, 2018 11:57 AM
> *To:* lib.ima@xxxxxxxxxx
> *Cc:* dhis2-devs <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> *Subject:* Re: [Dhis2-devs] latest 2.28 build not working?
>
>
>
> Hi Bernard,
>
>
>
> It looks to me like the application server does not have a connection to
> the database. Could you restart DHIS2, and post the  entire log from the
> point of when you restart Tomcat?
>
>
>
> Best regards,
>
> Jason
>
>
>
>
>
> On Wed, Aug 1, 2018 at 9:52 AM Bernard Sadaka (IM Advisor) <
> lib.ima@xxxxxxxxxx> wrote:
>
> Dear Jason and All,
>
> Any updates on this?
>
> We would really like to update our 2.28 instance and possibly migrate to
> 2.30.
>
> Looking forward to hearing from you.
>
> All the best,
>
> Bernard
>
>
>
> *Bernard Sadaka*
>
> *Information Management Advisor*
>
> Première Urgence - Aide Médicale Internationale
>
> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>
> Ain el Remmaneh, Beirut, Lebanon
>
> *E-mail:* lib.ima@xxxxxxxxxx
>
> *Cell:* +961 71 004 881 (208)
>
> *Skype:* imapuami
>
> *Website:* https://www.pu-ami.org
>
>
>
>
>
> *From:* Bernard Sadaka (IM Advisor) [mailto:lib.ima@xxxxxxxxxx]
> *Sent:* Wednesday, July 4, 2018 09:45 AM
> *To:* 'Jason Pickering' <jason.p.pickering@xxxxxxxxx>
> *Cc:* 'dhis2-devs' <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> *Subject:* RE: [Dhis2-devs] latest 2.28 build not working?
>
>
>
> Dear Jason,
>
> Yes indeed got a few severe errors: (attached are the catalina files of
> June 21 and this morning too)
>
> Appreciate your support.
>
>
>
> //////////////21 June2018 SEVERE////////////////
>
> SEVERE: The web application [] 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesThreads
>
> SEVERE: The web application [] appears to have started a thread named
> [Batik CleanerThread] but has failed to stop it. This is very likely to
> create a memory leak.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesThreads
>
> SEVERE: The web application [] appears to have started a thread named
> [ForkJoinPool.commonPool-worker-0] but has failed to stop it. This is
> very likely to create a memory leak.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3f0f0f8c]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: Unable to determine string representation of value of type
> [org.hisp.dhis.user.User]
>
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.hisp.dhis.user.User.groups, could not initialize
> proxy - no Session
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.throwLazyInitializationException(
> AbstractPersistentCollection.java:582)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.withTemporarySessionIfNeeded(
> AbstractPersistentCollection.java:201)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.initialize(AbstractPersistentCollection.
> java:561)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
>
>                 at org.hibernate.collection.internal.PersistentSet.
> toString(PersistentSet.java:299)
>
>                 at java.lang.String.valueOf(String.java:2994)
>
>                 at java.lang.StringBuilder.append(StringBuilder.java:131)
>
>                 at org.hisp.dhis.user.User.toString(User.java:661)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2734)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalsForLeaks(WebappClassLoaderBase.java:2668)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> clearReferences(WebappClassLoaderBase.java:2174)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.stop(
> WebappClassLoaderBase.java:2068)
>
>                 at org.apache.catalina.loader.WebappLoader.stopInternal(
> WebappLoader.java:661)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5822)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1588)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1577)
>
>                 at java.util.concurrent.FutureTask.run(FutureTask.
> java:266)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
>                 at java.lang.Thread.run(Thread.java:748)
>
>
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@faababc]) and a
> value of type [org.hisp.dhis.user.User] (value [Unknown]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [com.google.inject.internal.InjectorImpl$1] (value
> [com.google.inject.internal.InjectorImpl$1@7d46e98]) and a value of type
> [java.lang.Object[]] (value [[Ljava.lang.Object;@40606281]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: Unable to determine string representation of value of type
> [org.hisp.dhis.user.User]
>
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.hisp.dhis.user.User.groups, could not initialize
> proxy - no Session
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.throwLazyInitializationException(
> AbstractPersistentCollection.java:582)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.withTemporarySessionIfNeeded(
> AbstractPersistentCollection.java:201)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.initialize(AbstractPersistentCollection.
> java:561)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
>
>                 at org.hibernate.collection.internal.PersistentSet.
> toString(PersistentSet.java:299)
>
>                 at java.lang.String.valueOf(String.java:2994)
>
>                 at java.lang.StringBuilder.append(StringBuilder.java:131)
>
>                 at org.hisp.dhis.user.User.toString(User.java:661)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2734)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalsForLeaks(WebappClassLoaderBase.java:2668)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> clearReferences(WebappClassLoaderBase.java:2174)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.stop(
> WebappClassLoaderBase.java:2068)
>
>                 at org.apache.catalina.loader.WebappLoader.stopInternal(
> WebappLoader.java:661)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5822)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1588)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1577)
>
>                 at java.util.concurrent.FutureTask.run(FutureTask.
> java:266)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
>                 at java.lang.Thread.run(Thread.java:748)
>
>
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@faababc]) and a
> value of type [org.hisp.dhis.user.User] (value [Unknown]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: Unable to determine string representation of value of type
> [org.hisp.dhis.user.User]
>
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.hisp.dhis.user.User.groups, could not initialize
> proxy - no Session
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.throwLazyInitializationException(
> AbstractPersistentCollection.java:582)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.withTemporarySessionIfNeeded(
> AbstractPersistentCollection.java:201)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.initialize(AbstractPersistentCollection.
> java:561)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
>
>                 at org.hibernate.collection.internal.PersistentSet.
> toString(PersistentSet.java:299)
>
>                 at java.lang.String.valueOf(String.java:2994)
>
>                 at java.lang.StringBuilder.append(StringBuilder.java:131)
>
>                 at org.hisp.dhis.user.User.toString(User.java:661)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2734)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalsForLeaks(WebappClassLoaderBase.java:2668)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> clearReferences(WebappClassLoaderBase.java:2174)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.stop(
> WebappClassLoaderBase.java:2068)
>
>                 at org.apache.catalina.loader.WebappLoader.stopInternal(
> WebappLoader.java:661)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5822)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1588)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1577)
>
>                 at java.util.concurrent.FutureTask.run(FutureTask.
> java:266)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
>                 at java.lang.Thread.run(Thread.java:748)
>
>
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@faababc]) and a
> value of type [org.hisp.dhis.user.User] (value [Unknown]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [com.google.inject.internal.InjectorImpl$1] (value
> [com.google.inject.internal.InjectorImpl$1@28933881]) and a value of type
> [java.lang.Object[]] (value [[Ljava.lang.Object;@6ba42378]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: Unable to determine string representation of value of type
> [org.hisp.dhis.user.User]
>
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.hisp.dhis.user.User.groups, could not initialize
> proxy - no Session
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.throwLazyInitializationException(
> AbstractPersistentCollection.java:582)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.withTemporarySessionIfNeeded(
> AbstractPersistentCollection.java:201)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.initialize(AbstractPersistentCollection.
> java:561)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
>
>                 at org.hibernate.collection.internal.PersistentSet.
> toString(PersistentSet.java:299)
>
>                 at java.lang.String.valueOf(String.java:2994)
>
>                 at java.lang.StringBuilder.append(StringBuilder.java:131)
>
>                 at org.hisp.dhis.user.User.toString(User.java:661)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2734)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalsForLeaks(WebappClassLoaderBase.java:2668)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> clearReferences(WebappClassLoaderBase.java:2174)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.stop(
> WebappClassLoaderBase.java:2068)
>
>                 at org.apache.catalina.loader.WebappLoader.stopInternal(
> WebappLoader.java:661)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5822)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1588)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1577)
>
>                 at java.util.concurrent.FutureTask.run(FutureTask.
> java:266)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
>                 at java.lang.Thread.run(Thread.java:748)
>
>
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@faababc]) and a
> value of type [org.hisp.dhis.user.User] (value [Unknown]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: Unable to determine string representation of value of type
> [org.hisp.dhis.user.User]
>
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.hisp.dhis.user.User.groups, could not initialize
> proxy - no Session
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.throwLazyInitializationException(
> AbstractPersistentCollection.java:582)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.withTemporarySessionIfNeeded(
> AbstractPersistentCollection.java:201)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.initialize(AbstractPersistentCollection.
> java:561)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
>
>                 at org.hibernate.collection.internal.PersistentSet.
> toString(PersistentSet.java:299)
>
>                 at java.lang.String.valueOf(String.java:2994)
>
>                 at java.lang.StringBuilder.append(StringBuilder.java:131)
>
>                 at org.hisp.dhis.user.User.toString(User.java:661)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2734)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalsForLeaks(WebappClassLoaderBase.java:2668)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> clearReferences(WebappClassLoaderBase.java:2174)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.stop(
> WebappClassLoaderBase.java:2068)
>
>                 at org.apache.catalina.loader.WebappLoader.stopInternal(
> WebappLoader.java:661)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5822)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1588)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1577)
>
>                 at java.util.concurrent.FutureTask.run(FutureTask.
> java:266)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
>                 at java.lang.Thread.run(Thread.java:748)
>
>
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@faababc]) and a
> value of type [org.hisp.dhis.user.User] (value [Unknown]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [com.google.inject.internal.InjectorImpl$1] (value
> [com.google.inject.internal.InjectorImpl$1@7d46e98]) and a value of type
> [java.lang.Object[]] (value [[Ljava.lang.Object;@5f5747c8]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: Unable to determine string representation of value of type
> [org.hisp.dhis.user.User]
>
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.hisp.dhis.user.User.groups, could not initialize
> proxy - no Session
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.throwLazyInitializationException(
> AbstractPersistentCollection.java:582)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.withTemporarySessionIfNeeded(
> AbstractPersistentCollection.java:201)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.initialize(AbstractPersistentCollection.
> java:561)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
>
>                 at org.hibernate.collection.internal.PersistentSet.
> toString(PersistentSet.java:299)
>
>                 at java.lang.String.valueOf(String.java:2994)
>
>                 at java.lang.StringBuilder.append(StringBuilder.java:131)
>
>                 at org.hisp.dhis.user.User.toString(User.java:661)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2734)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalsForLeaks(WebappClassLoaderBase.java:2668)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> clearReferences(WebappClassLoaderBase.java:2174)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.stop(
> WebappClassLoaderBase.java:2068)
>
>                 at org.apache.catalina.loader.WebappLoader.stopInternal(
> WebappLoader.java:661)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5822)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1588)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1577)
>
>                 at java.util.concurrent.FutureTask.run(FutureTask.
> java:266)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
>                 at java.lang.Thread.run(Thread.java:748)
>
>
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@faababc]) and a
> value of type [org.hisp.dhis.user.User] (value [Unknown]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: Unable to determine string representation of value of type
> [org.hisp.dhis.user.User]
>
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.hisp.dhis.user.User.groups, could not initialize
> proxy - no Session
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.throwLazyInitializationException(
> AbstractPersistentCollection.java:582)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.withTemporarySessionIfNeeded(
> AbstractPersistentCollection.java:201)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.initialize(AbstractPersistentCollection.
> java:561)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
>
>                 at org.hibernate.collection.internal.PersistentSet.
> toString(PersistentSet.java:299)
>
>                 at java.lang.String.valueOf(String.java:2994)
>
>                 at java.lang.StringBuilder.append(StringBuilder.java:131)
>
>                 at org.hisp.dhis.user.User.toString(User.java:661)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2734)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalsForLeaks(WebappClassLoaderBase.java:2668)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> clearReferences(WebappClassLoaderBase.java:2174)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.stop(
> WebappClassLoaderBase.java:2068)
>
>                 at org.apache.catalina.loader.WebappLoader.stopInternal(
> WebappLoader.java:661)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5822)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1588)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1577)
>
>                 at java.util.concurrent.FutureTask.run(FutureTask.
> java:266)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
>                 at java.lang.Thread.run(Thread.java:748)
>
>
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@faababc]) and a
> value of type [org.hisp.dhis.user.User] (value [Unknown]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: Unable to determine string representation of value of type
> [org.hisp.dhis.user.User]
>
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.hisp.dhis.user.User.groups, could not initialize
> proxy - no Session
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.throwLazyInitializationException(
> AbstractPersistentCollection.java:582)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.withTemporarySessionIfNeeded(
> AbstractPersistentCollection.java:201)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.initialize(AbstractPersistentCollection.
> java:561)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
>
>                 at org.hibernate.collection.internal.PersistentSet.
> toString(PersistentSet.java:299)
>
>                 at java.lang.String.valueOf(String.java:2994)
>
>                 at java.lang.StringBuilder.append(StringBuilder.java:131)
>
>                 at org.hisp.dhis.user.User.toString(User.java:661)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2734)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalsForLeaks(WebappClassLoaderBase.java:2668)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> clearReferences(WebappClassLoaderBase.java:2174)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.stop(
> WebappClassLoaderBase.java:2068)
>
>                 at org.apache.catalina.loader.WebappLoader.stopInternal(
> WebappLoader.java:661)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5822)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1588)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1577)
>
>                 at java.util.concurrent.FutureTask.run(FutureTask.
> java:266)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
>                 at java.lang.Thread.run(Thread.java:748)
>
>
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@faababc]) and a
> value of type [org.hisp.dhis.user.User] (value [Unknown]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: Unable to determine string representation of value of type
> [org.hisp.dhis.user.User]
>
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.hisp.dhis.user.User.groups, could not initialize
> proxy - no Session
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.throwLazyInitializationException(
> AbstractPersistentCollection.java:582)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.withTemporarySessionIfNeeded(
> AbstractPersistentCollection.java:201)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.initialize(AbstractPersistentCollection.
> java:561)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
>
>                 at org.hibernate.collection.internal.PersistentSet.
> toString(PersistentSet.java:299)
>
>                 at java.lang.String.valueOf(String.java:2994)
>
>                 at java.lang.StringBuilder.append(StringBuilder.java:131)
>
>                 at org.hisp.dhis.user.User.toString(User.java:661)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2734)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalsForLeaks(WebappClassLoaderBase.java:2668)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> clearReferences(WebappClassLoaderBase.java:2174)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.stop(
> WebappClassLoaderBase.java:2068)
>
>                 at org.apache.catalina.loader.WebappLoader.stopInternal(
> WebappLoader.java:661)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5822)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1588)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1577)
>
>                 at java.util.concurrent.FutureTask.run(FutureTask.
> java:266)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
>                 at java.lang.Thread.run(Thread.java:748)
>
>
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@faababc]) and a
> value of type [org.hisp.dhis.user.User] (value [Unknown]) 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.
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: Unable to determine string representation of value of type
> [org.hisp.dhis.user.User]
>
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.hisp.dhis.user.User.groups, could not initialize
> proxy - no Session
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.throwLazyInitializationException(
> AbstractPersistentCollection.java:582)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.withTemporarySessionIfNeeded(
> AbstractPersistentCollection.java:201)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.initialize(AbstractPersistentCollection.
> java:561)
>
>                 at org.hibernate.collection.internal.
> AbstractPersistentCollection.read(AbstractPersistentCollection.java:132)
>
>                 at org.hibernate.collection.internal.PersistentSet.
> toString(PersistentSet.java:299)
>
>                 at java.lang.String.valueOf(String.java:2994)
>
>                 at java.lang.StringBuilder.append(StringBuilder.java:131)
>
>                 at org.hisp.dhis.user.User.toString(User.java:661)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalMapForLeaks(WebappClassLoaderBase.java:2734)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> checkThreadLocalsForLeaks(WebappClassLoaderBase.java:2668)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.
> clearReferences(WebappClassLoaderBase.java:2174)
>
>                 at org.apache.catalina.loader.WebappClassLoaderBase.stop(
> WebappClassLoaderBase.java:2068)
>
>                 at org.apache.catalina.loader.WebappLoader.stopInternal(
> WebappLoader.java:661)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.StandardContext.stopInternal(
> StandardContext.java:5822)
>
>                 at org.apache.catalina.util.LifecycleBase.stop(
> LifecycleBase.java:224)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1588)
>
>                 at org.apache.catalina.core.ContainerBase$StopChild.call(
> ContainerBase.java:1577)
>
>                 at java.util.concurrent.FutureTask.run(FutureTask.
> java:266)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
>                 at java.lang.Thread.run(Thread.java:748)
>
>
>
> Jun 21, 2018 3:01:00 PM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@faababc]) and a
> value of type [org.hisp.dhis.user.User] (value [Unknown]) 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.
>
> ///////////////////////////////////////////////////
>
>
>
> //////////////////04Jul2018 SEVERE/////////////////////
>
> SEVERE: One or more listeners failed to start. Full details will be found
> in the appropriate container log file
>
> Jul 04, 2018 9:13:10 AM org.apache.catalina.core.StandardContext
> startInternal
>
> SEVERE: Context [] startup failed due to previous errors
>
> Jul 04, 2018 9:13:11 AM org.apache.catalina.loader.WebappClassLoaderBase
> clearReferencesThreads
>
> SEVERE: The web application [] 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.
>
> Jul 04, 2018 9:13:11 AM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [com.google.inject.internal.InjectorImpl$1] (value
> [com.google.inject.internal.InjectorImpl$1@dd1242b]) and a value of type
> [java.lang.Object[]] (value [[Ljava.lang.Object;@49e97e84]) 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.
>
> Jul 04, 2018 9:13:11 AM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@65f6dd45]) and a
> value of type [org.hibernate.boot.internal.MetadataImpl] (value
> [org.hibernate.boot.internal.MetadataImpl@6b671594]) 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.
>
> Jul 04, 2018 9:13:11 AM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@6f9394af]) 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.
>
> Jul 04, 2018 9:13:11 AM org.apache.catalina.loader.WebappClassLoaderBase
> checkThreadLocalMapForLeaks
>
> SEVERE: The web application [] created a ThreadLocal with key of type
> [com.google.inject.internal.InjectorImpl$1] (value
> [com.google.inject.internal.InjectorImpl$1@6d8cda87]) and a value of type
> [java.lang.Object[]] (value [[Ljava.lang.Object;@3ec33e86]) 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.
>
> Jul 04, 2018 9:13:11 AM org.apache.catalina.startup.HostConfig deployWAR
>
> //////////////////////////////////////////////////////////
>
>
>
> Thank you in advance for your help.
>
> All the best,
>
> Bernard
>
>
>
> *Bernard Sadaka*
>
> *Information Management Advisor*
>
> Première Urgence - Aide Médicale Internationale
>
> Nehmeh Building, Sanine Street, Chiyah, 3rd Floor
>
> Ain el Remmaneh, Beirut, Lebanon
>
> *E-mail:* lib.ima@xxxxxxxxxx
>
> *Cell:* +961 71 004 881 (208)
>
> *Skype:* imapuami
>
> *Website:* https://www.pu-ami.org
>
>
>
>
>
> *From:* Jason Pickering [mailto:jason.p.pickering@xxxxxxxxx
> <jason.p.pickering@xxxxxxxxx>]
> *Sent:* Thursday, June 21, 2018 05:23 PM
> *To:* lib.ima@xxxxxxxxxx
> *Cc:* dhis2-devs <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> *Subject:* Re: [Dhis2-devs] latest 2.28 build not working?
>
>
>
> Hi Bernard,
>
>
> Could you provide more details? Did you get an error in the server logs?
>
>
>
> Regards,
>
> Jason
>
>
>
> On Thu, Jun 21, 2018 at 2:30 PM Bernard Sadaka (IM Advisor) <
> lib.ima@xxxxxxxxxx> wrote:
>
> Dear Developpers,
>
> Today, 30 minutes ago (noon UTC), I tried to deploy the latest 2.28 .war (
> available at:
>
>
>
>
> --
>
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+46764147049 <+46764147049>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>

PNG image


Follow ups

References