ThreadLocal has been forcibly removed

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out log:

··· ========================================================================================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

===========================================================================================

According to tomcat documentation an upgrade to Tomcat7 should fix this
issue but I read another thread on this forum which cautions against an
upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on the same
server and an upgrade will require downtime which is not feasible at the
moment.

I have restarted Tomcat several times and power cycled the server but am
still getting the same ThreadLocal error.

Thanks in advance

Lawrence

Lawrence,

What, if anything, changed on your server? Any software updates (e.g.,
Tomcat 6.0.24 to 6.0.25? Any particularly large forms or campaigns?

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qholloi@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out log:

========================================================================================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver [org.postgresql.Driver]
but failed to unregister it when the web application was stopped. To prevent
a memory leak, the JDBC Driver has been forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but failed
to remove it when the web application was stopped. To prevent a memory leak,
the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

===========================================================================================

According to tomcat documentation an upgrade to Tomcat7 should fix this
issue but I read another thread on this forum which cautions against an
upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on the same
server and an upgrade will require downtime which is not feasible at the
moment.

I have restarted Tomcat several times and power cycled the server but am
still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

(Any updates to CentOS may have updated your tomcat version to a new 6.0
version)

One cause of this issue is nicely described here:

http://www.skill-guru.com/blog/2010/08/22/tomcat-6-0-26-shutdown-reports-a-web-application-created-a-threadlocal-threadlocal-has-been-forcibly-removed/

What version of ODK Aggregate are you running? Have you updated to the
latest version (1.4.4 )?

··· ----------------------- Note that the solution here: http://forum.spring.io/forum/spring-projects/container/76574-installation-threadlocal-forcefully-removed

Says

tito 1, I disagree with the assertion that this is harmless. With the
configuration provided by georgea, Tomcat will start the application just
fine.
*A hot-redeploy, however, will result in an error state that leaves the
application stopped until Tomcat is restarted. *
So the immediate thing to try is to stop Tomcat and restart it.

I recommend updating to ODK Aggregate 1.4.4

We recently made some changes to the files implicated in the cited cause of
this issue. Upgrading may cause this issue to go away.

If that does not resolve the issue, let me know.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qholloi@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out log:

========================================================================================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

===========================================================================================

According to tomcat documentation an upgrade to Tomcat7 should fix this
issue but I read another thread on this forum which cautions against an
upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on the
same server and an upgrade will require downtime which is not feasible at
the moment.

I have restarted Tomcat several times and power cycled the server but am
still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.comF

On Mon, Sep 22, 2014 at 10:30 AM, Yaw Anokwa yanokwa@nafundi.com wrote:

Lawrence,

What, if anything, changed on your server? Any software updates (e.g.,
Tomcat 6.0.24 to 6.0.25? Any particularly large forms or campaigns?

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qholloi@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out log:

========================================================================================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver]
but failed to unregister it when the web application was stopped. To
prevent
a memory leak, the JDBC Driver has been forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed
to remove it when the web application was stopped. To prevent a memory
leak,
the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to
remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

===========================================================================================

According to tomcat documentation an upgrade to Tomcat7 should fix this
issue but I read another thread on this forum which cautions against an
upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on the
same
server and an upgrade will require downtime which is not feasible at the
moment.

I have restarted Tomcat several times and power cycled the server but am
still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thanks for the responses guys.

There has been no updates/upgrades of any kind. The last form was added
months ago and the system has been stable since.

I will upgrade to 1.4.4 tonight and if the issue persists, I will get back
to you.

Thanks again.

Lawrence

··· On Monday, 22 September 2014 19:36:24 UTC+2, Mitch Sundt wrote: > > (Any updates to CentOS may have updated your tomcat version to a new 6.0 > version) > > One cause of this issue is nicely described here: > > > http://www.skill-guru.com/blog/2010/08/22/tomcat-6-0-26-shutdown-reports-a-web-application-created-a-threadlocal-threadlocal-has-been-forcibly-removed/ > > What version of ODK Aggregate are you running? Have you updated to the > latest version (1.4.4 )? > > ----------------------- > Note that the solution here: > http://forum.spring.io/forum/spring-projects/container/76574-installation-threadlocal-forcefully-removed > > Says > > tito 1, I disagree with the assertion that this is harmless. With the > configuration provided by georgea, Tomcat will start the application just > fine. > *A hot-redeploy, however, will result in an error state that leaves the > application stopped until Tomcat is restarted. * > So the immediate thing to try is to stop Tomcat and restart it. > > I recommend updating to ODK Aggregate 1.4.4 > > We recently made some changes to the files implicated in the cited cause > of this issue. Upgrading may cause this issue to go away. > > If that does not resolve the issue, let me know. > > > > > On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom <qho...@gmail.com > wrote: > >> Hi there, >> >> We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and >> Tomcat6 for more than a year without any issue until yesterday when >> ODKAggregate suddenly went down with this error in the catalina.out log: >> >> >> ======================================================================================== >> >> Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext start >> SEVERE: Context [/ODKAggregate] startup failed due to previous errors >> Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext log >> INFO: Closing Spring root WebApplicationContext >> Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader >> clearReferencesJdbc >> SEVERE: A web application registered the JBDC driver >> [org.postgresql.Driver] but failed to unregister it when the web >> application was stopped. To prevent a memory leak, the JDBC Driver has been >> forcibly unregistered. >> Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader >> clearThreadLocalMap >> SEVERE: A web application created a ThreadLocal with key of type >> [org.springframework.core.NamedThreadLocal] (value [Prototype beans >> currently in creation]) and a value of type [null] (value [null]) but >> failed to remove it when the web application was stopped. To prevent a >> memory leak, the ThreadLocal has been forcibly removed. >> Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader >> clearThreadLocalMap >> SEVERE: A web application created a ThreadLocal with key of type >> [org.springframework.core.NamedThreadLocal] (value [Transactional >> resources]) and a value of type [null] (value [null]) but failed to remove >> it when the web application was stopped. To prevent a memory leak, the >> ThreadLocal has been forcibly removed. >> >> >> =========================================================================================== >> >> According to tomcat documentation an upgrade to Tomcat7 should fix this >> issue but I read another thread on this forum which cautions against an >> upgrade as ODKAggregate was not tested on Tomcat7. >> >> Furthermore, there is a second instance of ODKAggregate running on the >> same server and an upgrade will require downtime which is not feasible at >> the moment. >> >> I have restarted Tomcat several times and power cycled the server but am >> still getting the same ThreadLocal error. >> >> Thanks in advance >> >> Lawrence >> -- >> -- >> Post: opend...@googlegroups.com >> Unsubscribe: opendatakit...@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com F > > On Mon, Sep 22, 2014 at 10:30 AM, Yaw Anokwa <yan...@nafundi.com > wrote: > >> Lawrence, >> >> What, if anything, changed on your server? Any software updates (e.g., >> Tomcat 6.0.24 to 6.0.25? Any particularly large forms or campaigns? >> >> Yaw >> -- >> Need ODK services? http://nafundi.com provides form design, server >> setup, professional support, and software development for ODK. >> >> On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom <qho...@gmail.com > wrote: >> > Hi there, >> > >> > We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and >> > Tomcat6 for more than a year without any issue until yesterday when >> > ODKAggregate suddenly went down with this error in the catalina.out log: >> > >> > >> ======================================================================================== >> > >> > Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext start >> > SEVERE: Context [/ODKAggregate] startup failed due to previous errors >> > Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext log >> > INFO: Closing Spring root WebApplicationContext >> > Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader >> > clearReferencesJdbc >> > SEVERE: A web application registered the JBDC driver >> [org.postgresql.Driver] >> > but failed to unregister it when the web application was stopped. To >> prevent >> > a memory leak, the JDBC Driver has been forcibly unregistered. >> > Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader >> > clearThreadLocalMap >> > SEVERE: A web application created a ThreadLocal with key of type >> > [org.springframework.core.NamedThreadLocal] (value [Prototype beans >> > currently in creation]) and a value of type [null] (value [null]) but >> failed >> > to remove it when the web application was stopped. To prevent a memory >> leak, >> > the ThreadLocal has been forcibly removed. >> > Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader >> > clearThreadLocalMap >> > SEVERE: A web application created a ThreadLocal with key of type >> > [org.springframework.core.NamedThreadLocal] (value [Transactional >> > resources]) and a value of type [null] (value [null]) but failed to >> remove >> > it when the web application was stopped. To prevent a memory leak, the >> > ThreadLocal has been forcibly removed. >> > >> > >> =========================================================================================== >> > >> > According to tomcat documentation an upgrade to Tomcat7 should fix this >> > issue but I read another thread on this forum which cautions against an >> > upgrade as ODKAggregate was not tested on Tomcat7. >> > >> > Furthermore, there is a second instance of ODKAggregate running on the >> same >> > server and an upgrade will require downtime which is not feasible at the >> > moment. >> > >> > I have restarted Tomcat several times and power cycled the server but am >> > still getting the same ThreadLocal error. >> > >> > Thanks in advance >> > >> > Lawrence >> > >> > -- >> > -- >> > Post: opend...@googlegroups.com >> > Unsubscribe: opendatakit...@googlegroups.com >> > Options: http://groups.google.com/group/opendatakit?hl=en >> > >> > --- >> > You received this message because you are subscribed to the Google >> Groups >> > "ODK Community" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to opendatakit...@googlegroups.com . >> > For more options, visit https://groups.google.com/d/optout. >> >> -- >> -- >> Post: opend...@googlegroups.com >> Unsubscribe: opendatakit...@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >

Hello again,

I upgraded to Aggregate 1.4.4 but the problem persists.

··· ===========================================================

SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transaction
synchronizations]) and a value of type [null] (value [null]) but failed to
remove it when the web application was stopped. To prevent a memory leak,
the ThreadLocal has been forcibly removed.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.

===========================================================================================================================

Many thanks

Lawrence

On Monday, 22 September 2014 20:34:00 UTC+2, Lawrence Strydom wrote:

Thanks for the responses guys.

There has been no updates/upgrades of any kind. The last form was added
months ago and the system has been stable since.

I will upgrade to 1.4.4 tonight and if the issue persists, I will get back
to you.

Thanks again.

Lawrence

On Monday, 22 September 2014 19:36:24 UTC+2, Mitch Sundt wrote:

(Any updates to CentOS may have updated your tomcat version to a new 6.0
version)

One cause of this issue is nicely described here:

http://www.skill-guru.com/blog/2010/08/22/tomcat-6-0-26-shutdown-reports-a-web-application-created-a-threadlocal-threadlocal-has-been-forcibly-removed/

What version of ODK Aggregate are you running? Have you updated to the
latest version (1.4.4 )?


Note that the solution here:
http://forum.spring.io/forum/spring-projects/container/76574-installation-threadlocal-forcefully-removed

Says

tito 1, I disagree with the assertion that this is harmless. With the
configuration provided by georgea, Tomcat will start the application just
fine.
*A hot-redeploy, however, will result in an error state that leaves the
application stopped until Tomcat is restarted. *
So the immediate thing to try is to stop Tomcat and restart it.

I recommend updating to ODK Aggregate 1.4.4

We recently made some changes to the files implicated in the cited cause
of this issue. Upgrading may cause this issue to go away.

If that does not resolve the issue, let me know.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qho...@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out log:

========================================================================================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

===========================================================================================

According to tomcat documentation an upgrade to Tomcat7 should fix this
issue but I read another thread on this forum which cautions against an
upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on the
same server and an upgrade will require downtime which is not feasible at
the moment.

I have restarted Tomcat several times and power cycled the server but am
still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--
Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.comF

On Mon, Sep 22, 2014 at 10:30 AM, Yaw Anokwa yan...@nafundi.com wrote:

Lawrence,

What, if anything, changed on your server? Any software updates (e.g.,
Tomcat 6.0.24 to 6.0.25? Any particularly large forms or campaigns?

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qho...@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out
log:

========================================================================================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver]
but failed to unregister it when the web application was stopped. To
prevent
a memory leak, the JDBC Driver has been forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed
to remove it when the web application was stopped. To prevent a memory
leak,
the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to
remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

===========================================================================================

According to tomcat documentation an upgrade to Tomcat7 should fix this
issue but I read another thread on this forum which cautions against an
upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on the
same
server and an upgrade will require downtime which is not feasible at
the
moment.

I have restarted Tomcat several times and power cycled the server but
am
still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

Are there any errors in the other logs in that same directory?

e.g.,

tomcat6-stdout.2014-09-22.log
tomcat6-stderr.2014-09-22.log

I'm not sure that these will cause problems starting ODK Aggregate -- other
than a failure to start ODK Aggregate without bouncing the Tomcat server.

··· On Mon, Sep 22, 2014 at 1:41 PM, Lawrence Strydom wrote:

Hello again,

I upgraded to Aggregate 1.4.4 but the problem persists.

===========================================================

SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transaction
synchronizations]) and a value of type [null] (value [null]) but failed to
remove it when the web application was stopped. To prevent a memory leak,
the ThreadLocal has been forcibly removed.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.

===========================================================================================================================

Many thanks

Lawrence

On Monday, 22 September 2014 20:34:00 UTC+2, Lawrence Strydom wrote:

Thanks for the responses guys.

There has been no updates/upgrades of any kind. The last form was added
months ago and the system has been stable since.

I will upgrade to 1.4.4 tonight and if the issue persists, I will get
back to you.

Thanks again.

Lawrence

On Monday, 22 September 2014 19:36:24 UTC+2, Mitch Sundt wrote:

(Any updates to CentOS may have updated your tomcat version to a new
6.0 version)

One cause of this issue is nicely described here:

http://www.skill-guru.com/blog/2010/08/22/tomcat-6-0-26-
shutdown-reports-a-web-application-created-a-
threadlocal-threadlocal-has-been-forcibly-removed/

What version of ODK Aggregate are you running? Have you updated to the
latest version (1.4.4 )?


Note that the solution here: http://forum.spring.io/forum/
spring-projects/container/76574-installation-
threadlocal-forcefully-removed

Says

tito 1, I disagree with the assertion that this is harmless. With the
configuration provided by georgea, Tomcat will start the application just
fine.
*A hot-redeploy, however, will result in an error state that leaves the
application stopped until Tomcat is restarted. *
So the immediate thing to try is to stop Tomcat and restart it.

I recommend updating to ODK Aggregate 1.4.4

We recently made some changes to the files implicated in the cited cause
of this issue. Upgrading may cause this issue to go away.

If that does not resolve the issue, let me know.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qho...@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out log:

============================================================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

============================================================

According to tomcat documentation an upgrade to Tomcat7 should fix this
issue but I read another thread on this forum which cautions against an
upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on the
same server and an upgrade will require downtime which is not feasible at
the moment.

I have restarted Tomcat several times and power cycled the server but
am still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--
Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.comF

On Mon, Sep 22, 2014 at 10:30 AM, Yaw Anokwa yan...@nafundi.com wrote:

Lawrence,

What, if anything, changed on your server? Any software updates (e.g.,
Tomcat 6.0.24 to 6.0.25? Any particularly large forms or campaigns?

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qho...@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out
log:

============================================================
============================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext
start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext
log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver]
but failed to unregister it when the web application was stopped. To
prevent
a memory leak, the JDBC Driver has been forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed
to remove it when the web application was stopped. To prevent a
memory leak,
the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to
remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

============================================================
===============================

According to tomcat documentation an upgrade to Tomcat7 should fix
this
issue but I read another thread on this forum which cautions against
an
upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on
the same
server and an upgrade will require downtime which is not feasible at
the
moment.

I have restarted Tomcat several times and power cycled the server but
am
still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--
--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi MItch,

I traced the logs back a couple of months and it is pretty much just a
repeat of the same error till I got to this:

··· =========================================================================== Jul 03, 2014 8:48:47 PM com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post SEVERE: SAAJ0008: Bad Response; Unauthorized ===========================================================================

After that, the first entry is 12 days later:

============================================================================
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Jul 15, 2014 8:57:59 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: A web application appears to have started a thread named
[com.google.common.base.internal.Finalizer] but has failed to stop it. This
is very likely to create a memory leak.
Jul 15, 2014 8:57:59 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedInheritableThreadLocal] (value [Locale
context]) and a value of type [null] (value [null]) but failed to remove it
when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

Thanks

Lawrence

On Tuesday, 23 September 2014 00:05:07 UTC+2, Mitch Sundt wrote:

Are there any errors in the other logs in that same directory?

e.g.,

tomcat6-stdout.2014-09-22.log
tomcat6-stderr.2014-09-22.log

I'm not sure that these will cause problems starting ODK Aggregate --
other than a failure to start ODK Aggregate without bouncing the Tomcat
server.

On Mon, Sep 22, 2014 at 1:41 PM, Lawrence Strydom <qho...@gmail.com <javascript:>> wrote:

Hello again,

I upgraded to Aggregate 1.4.4 but the problem persists.

===========================================================

SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transaction
synchronizations]) and a value of type [null] (value [null]) but failed to
remove it when the web application was stopped. To prevent a memory leak,
the ThreadLocal has been forcibly removed.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.

===========================================================================================================================

Many thanks

Lawrence

On Monday, 22 September 2014 20:34:00 UTC+2, Lawrence Strydom wrote:

Thanks for the responses guys.

There has been no updates/upgrades of any kind. The last form was added
months ago and the system has been stable since.

I will upgrade to 1.4.4 tonight and if the issue persists, I will get
back to you.

Thanks again.

Lawrence

On Monday, 22 September 2014 19:36:24 UTC+2, Mitch Sundt wrote:

(Any updates to CentOS may have updated your tomcat version to a new
6.0 version)

One cause of this issue is nicely described here:

http://www.skill-guru.com/blog/2010/08/22/tomcat-6-0-26-
shutdown-reports-a-web-application-created-a-
threadlocal-threadlocal-has-been-forcibly-removed/

What version of ODK Aggregate are you running? Have you updated to the
latest version (1.4.4 )?


Note that the solution here: http://forum.spring.io/forum/
spring-projects/container/76574-installation-
threadlocal-forcefully-removed

Says

tito 1, I disagree with the assertion that this is harmless. With the
configuration provided by georgea, Tomcat will start the application just
fine.
*A hot-redeploy, however, will result in an error state that leaves the
application stopped until Tomcat is restarted. *
So the immediate thing to try is to stop Tomcat and restart it.

I recommend updating to ODK Aggregate 1.4.4

We recently made some changes to the files implicated in the cited
cause of this issue. Upgrading may cause this issue to go away.

If that does not resolve the issue, let me know.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qho...@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out log:

============================================================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext
log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

============================================================

According to tomcat documentation an upgrade to Tomcat7 should fix
this issue but I read another thread on this forum which cautions against
an upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on the
same server and an upgrade will require downtime which is not feasible at
the moment.

I have restarted Tomcat several times and power cycled the server but
am still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--
Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.comF

On Mon, Sep 22, 2014 at 10:30 AM, Yaw Anokwa yan...@nafundi.com wrote:

Lawrence,

What, if anything, changed on your server? Any software updates (e.g.,
Tomcat 6.0.24 to 6.0.25? Any particularly large forms or campaigns?

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qho...@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out
log:

============================================================
============================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext
start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext
log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver]
but failed to unregister it when the web application was stopped. To
prevent
a memory leak, the JDBC Driver has been forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null])
but failed
to remove it when the web application was stopped. To prevent a
memory leak,
the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to
remove
it when the web application was stopped. To prevent a memory leak,
the
ThreadLocal has been forcibly removed.

============================================================
===============================

According to tomcat documentation an upgrade to Tomcat7 should fix
this
issue but I read another thread on this forum which cautions against
an
upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on
the same
server and an upgrade will require downtime which is not feasible at
the
moment.

I have restarted Tomcat several times and power cycled the server
but am
still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--
--
Post: opend...@googlegroups.com <javascript:>
Unsubscribe: opendatakit...@googlegroups.com <javascript:>
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com <javascript:>

If you zip up your logs directory and send it to me, I can see if there is
anything you've missed.

If you do this, please send it directly to mitchellsundt@gmail.com

DO NOT simply reply to this e-mail. You would spam the list.

··· On Mon, Sep 22, 2014 at 9:24 PM, Lawrence Strydom wrote:

Hi MItch,

I traced the logs back a couple of months and it is pretty much just a
repeat of the same error till I got to this:

===========================================================================
Jul 03, 2014 8:48:47 PM
com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
SEVERE: SAAJ0008: Bad Response; Unauthorized

After that, the first entry is 12 days later:

============================================================================
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Jul 15, 2014 8:57:59 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: A web application appears to have started a thread named
[com.google.common.base.internal.Finalizer] but has failed to stop it. This
is very likely to create a memory leak.
Jul 15, 2014 8:57:59 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedInheritableThreadLocal] (value [Locale
context]) and a value of type [null] (value [null]) but failed to remove it
when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

=============================================================================

Thanks

Lawrence

On Tuesday, 23 September 2014 00:05:07 UTC+2, Mitch Sundt wrote:

Are there any errors in the other logs in that same directory?

e.g.,

tomcat6-stdout.2014-09-22.log
tomcat6-stderr.2014-09-22.log

I'm not sure that these will cause problems starting ODK Aggregate --
other than a failure to start ODK Aggregate without bouncing the Tomcat
server.

On Mon, Sep 22, 2014 at 1:41 PM, Lawrence Strydom qho...@gmail.com wrote:

Hello again,

I upgraded to Aggregate 1.4.4 but the problem persists.

===========================================================

SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transaction
synchronizations]) and a value of type [null] (value [null]) but failed to
remove it when the web application was stopped. To prevent a memory leak,
the ThreadLocal has been forcibly removed.
Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.

============================================================

Many thanks

Lawrence

On Monday, 22 September 2014 20:34:00 UTC+2, Lawrence Strydom wrote:

Thanks for the responses guys.

There has been no updates/upgrades of any kind. The last form was added
months ago and the system has been stable since.

I will upgrade to 1.4.4 tonight and if the issue persists, I will get
back to you.

Thanks again.

Lawrence

On Monday, 22 September 2014 19:36:24 UTC+2, Mitch Sundt wrote:

(Any updates to CentOS may have updated your tomcat version to a new
6.0 version)

One cause of this issue is nicely described here:

http://www.skill-guru.com/blog/2010/08/22/tomcat-6-0-26-shut
down-reports-a-web-application-created-a-threadlocal-threadlocal-has-
been-forcibly-removed/

What version of ODK Aggregate are you running? Have you updated to the
latest version (1.4.4 )?


Note that the solution here: http://forum.spring.io/forum/s
pring-projects/container/76574-installation-threadlocal-
forcefully-removed

Says

tito 1, I disagree with the assertion that this is harmless. With the
configuration provided by georgea, Tomcat will start the application just
fine.
*A hot-redeploy, however, will result in an error state that leaves
the application stopped until Tomcat is restarted. *
So the immediate thing to try is to stop Tomcat and restart it.

I recommend updating to ODK Aggregate 1.4.4

We recently made some changes to the files implicated in the cited
cause of this issue. Upgrading may cause this issue to go away.

If that does not resolve the issue, let me know.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qho...@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1 and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out log:

============================================================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext
start
SEVERE: Context [/ODKAggregate] startup failed due to previous errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext
log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null]) but
failed to remove it when the web application was stopped. To prevent a
memory leak, the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to remove
it when the web application was stopped. To prevent a memory leak, the
ThreadLocal has been forcibly removed.

============================================================

According to tomcat documentation an upgrade to Tomcat7 should fix
this issue but I read another thread on this forum which cautions against
an upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on
the same server and an upgrade will require downtime which is not feasible
at the moment.

I have restarted Tomcat several times and power cycled the server but
am still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--
Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.comF

On Mon, Sep 22, 2014 at 10:30 AM, Yaw Anokwa yan...@nafundi.com wrote:

Lawrence,

What, if anything, changed on your server? Any software updates (e.g.,
Tomcat 6.0.24 to 6.0.25? Any particularly large forms or campaigns?

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom qho...@gmail.com wrote:

Hi there,

We have been running ODK aggregate on Centos6.4 with Postgres 9.1
and
Tomcat6 for more than a year without any issue until yesterday when
ODKAggregate suddenly went down with this error in the catalina.out
log:

============================================================
============================

Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext
start
SEVERE: Context [/ODKAggregate] startup failed due to previous
errors
Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext
log
INFO: Closing Spring root WebApplicationContext
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.Web
appClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver
[org.postgresql.Driver]
but failed to unregister it when the web application was stopped.
To prevent
a memory leak, the JDBC Driver has been forcibly unregistered.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.Web
appClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Prototype beans
currently in creation]) and a value of type [null] (value [null])
but failed
to remove it when the web application was stopped. To prevent a
memory leak,
the ThreadLocal has been forcibly removed.
Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.Web
appClassLoader
clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type
[org.springframework.core.NamedThreadLocal] (value [Transactional
resources]) and a value of type [null] (value [null]) but failed to
remove
it when the web application was stopped. To prevent a memory leak,
the
ThreadLocal has been forcibly removed.

============================================================
===============================

According to tomcat documentation an upgrade to Tomcat7 should fix
this
issue but I read another thread on this forum which cautions
against an
upgrade as ODKAggregate was not tested on Tomcat7.

Furthermore, there is a second instance of ODKAggregate running on
the same
server and an upgrade will require downtime which is not feasible
at the
moment.

I have restarted Tomcat several times and power cycled the server
but am
still getting the same ThreadLocal error.

Thanks in advance

Lawrence

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--
--
Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thanks Mitch and sorry for the late reply - I have been traveling. I sent
the logs to your personal email.

Much appreciation.

Lawrence

··· On Wednesday, 24 September 2014 00:40:28 UTC+2, Mitch Sundt wrote: > > If you zip up your logs directory and send it to me, I can see if there is > anything you've missed. > > If you do this, please send it directly to mitche...@gmail.com > > > DO NOT simply reply to this e-mail. You would spam the list. > > On Mon, Sep 22, 2014 at 9:24 PM, Lawrence Strydom <qho...@gmail.com > wrote: > >> Hi MItch, >> >> I traced the logs back a couple of months and it is pretty much just a >> repeat of the same error till I got to this: >> >> >> =========================================================================== >> Jul 03, 2014 8:48:47 PM >> com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post >> SEVERE: SAAJ0008: Bad Response; Unauthorized >> >> =========================================================================== >> >> After that, the first entry is 12 days later: >> >> >> ============================================================================ >> SEVERE: A web application registered the JBDC driver >> [org.postgresql.Driver] but failed to unregister it when the web >> application was stopped. To prevent a memory leak, the JDBC Driver has been >> forcibly unregistered. >> Jul 15, 2014 8:57:59 AM org.apache.catalina.loader.WebappClassLoader >> clearReferencesThreads >> SEVERE: A web application appears to have started a thread named >> [com.google.common.base.internal.Finalizer] but has failed to stop it. This >> is very likely to create a memory leak. >> Jul 15, 2014 8:57:59 AM org.apache.catalina.loader.WebappClassLoader >> clearThreadLocalMap >> SEVERE: A web application created a ThreadLocal with key of type >> [org.springframework.core.NamedInheritableThreadLocal] (value [Locale >> context]) and a value of type [null] (value [null]) but failed to remove it >> when the web application was stopped. To prevent a memory leak, the >> ThreadLocal has been forcibly removed. >> >> ============================================================================= >> >> >> Thanks >> >> Lawrence >> >> On Tuesday, 23 September 2014 00:05:07 UTC+2, Mitch Sundt wrote: >>> >>> Are there any errors in the other logs in that same directory? >>> >>> e.g., >>> >>> tomcat6-stdout.2014-09-22.log >>> tomcat6-stderr.2014-09-22.log >>> >>> I'm not sure that these will cause problems starting ODK Aggregate -- >>> other than a failure to start ODK Aggregate without bouncing the Tomcat >>> server. >>> >>> >>> >>> On Mon, Sep 22, 2014 at 1:41 PM, Lawrence Strydom wrote: >>> >>>> Hello again, >>>> >>>> I upgraded to Aggregate 1.4.4 but the problem persists. >>>> >>>> =========================================================== >>>> >>>> SEVERE: A web application registered the JBDC driver >>>> [org.postgresql.Driver] but failed to unregister it when the web >>>> application was stopped. To prevent a memory leak, the JDBC Driver has been >>>> forcibly unregistered. >>>> Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader >>>> clearThreadLocalMap >>>> SEVERE: A web application created a ThreadLocal with key of type >>>> [org.springframework.core.NamedThreadLocal] (value [Transactional >>>> resources]) and a value of type [null] (value [null]) but failed to remove >>>> it when the web application was stopped. To prevent a memory leak, the >>>> ThreadLocal has been forcibly removed. >>>> Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader >>>> clearThreadLocalMap >>>> SEVERE: A web application created a ThreadLocal with key of type >>>> [org.springframework.core.NamedThreadLocal] (value [Transaction >>>> synchronizations]) and a value of type [null] (value [null]) but failed to >>>> remove it when the web application was stopped. To prevent a memory leak, >>>> the ThreadLocal has been forcibly removed. >>>> Sep 22, 2014 10:33:52 PM org.apache.catalina.loader.WebappClassLoader >>>> clearThreadLocalMap >>>> SEVERE: A web application created a ThreadLocal with key of type >>>> [org.springframework.core.NamedThreadLocal] (value [Prototype beans >>>> currently in creation]) and a value of type [null] (value [null]) but >>>> failed to remove it when the web application was stopped. To prevent a >>>> memory leak, the ThreadLocal has been forcibly removed. >>>> >>>> ============================================================ >>>> =============================================================== >>>> >>>> Many thanks >>>> >>>> Lawrence >>>> >>>> >>>> On Monday, 22 September 2014 20:34:00 UTC+2, Lawrence Strydom wrote: >>>>> >>>>> Thanks for the responses guys. >>>>> >>>>> There has been no updates/upgrades of any kind. The last form was >>>>> added months ago and the system has been stable since. >>>>> >>>>> I will upgrade to 1.4.4 tonight and if the issue persists, I will get >>>>> back to you. >>>>> >>>>> Thanks again. >>>>> >>>>> Lawrence >>>>> >>>>> On Monday, 22 September 2014 19:36:24 UTC+2, Mitch Sundt wrote: >>>>>> >>>>>> (Any updates to CentOS may have updated your tomcat version to a new >>>>>> 6.0 version) >>>>>> >>>>>> One cause of this issue is nicely described here: >>>>>> >>>>>> http://www.skill-guru.com/blog/2010/08/22/tomcat-6-0-26-shut >>>>>> down-reports-a-web-application-created-a-threadlocal-threadlocal-has- >>>>>> been-forcibly-removed/ >>>>>> >>>>>> What version of ODK Aggregate are you running? Have you updated to >>>>>> the latest version (1.4.4 )? >>>>>> >>>>>> ----------------------- >>>>>> Note that the solution here: http://forum.spring.io/forum/s >>>>>> pring-projects/container/76574-installation-threadlocal- >>>>>> forcefully-removed >>>>>> >>>>>> Says >>>>>> >>>>>> tito 1, I disagree with the assertion that this is harmless. With the >>>>>> configuration provided by georgea, Tomcat will start the application just >>>>>> fine. >>>>>> *A hot-redeploy, however, will result in an error state that leaves >>>>>> the application stopped until Tomcat is restarted. * >>>>>> So the immediate thing to try is to stop Tomcat and restart it. >>>>>> >>>>>> I recommend updating to ODK Aggregate 1.4.4 >>>>>> >>>>>> We recently made some changes to the files implicated in the cited >>>>>> cause of this issue. Upgrading may cause this issue to go away. >>>>>> >>>>>> If that does not resolve the issue, let me know. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom wrote: >>>>>> >>>>>>> Hi there, >>>>>>> >>>>>>> We have been running ODK aggregate on Centos6.4 with Postgres 9.1 >>>>>>> and Tomcat6 for more than a year without any issue until yesterday when >>>>>>> ODKAggregate suddenly went down with this error in the catalina.out log: >>>>>>> >>>>>>> ============================================================ >>>>>>> ============================ >>>>>>> >>>>>>> Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext >>>>>>> start >>>>>>> SEVERE: Context [/ODKAggregate] startup failed due to previous errors >>>>>>> Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext >>>>>>> log >>>>>>> INFO: Closing Spring root WebApplicationContext >>>>>>> Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader >>>>>>> clearReferencesJdbc >>>>>>> SEVERE: A web application registered the JBDC driver >>>>>>> [org.postgresql.Driver] but failed to unregister it when the web >>>>>>> application was stopped. To prevent a memory leak, the JDBC Driver has been >>>>>>> forcibly unregistered. >>>>>>> Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader >>>>>>> clearThreadLocalMap >>>>>>> SEVERE: A web application created a ThreadLocal with key of type >>>>>>> [org.springframework.core.NamedThreadLocal] (value [Prototype beans >>>>>>> currently in creation]) and a value of type [null] (value [null]) but >>>>>>> failed to remove it when the web application was stopped. To prevent a >>>>>>> memory leak, the ThreadLocal has been forcibly removed. >>>>>>> Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.WebappClassLoader >>>>>>> clearThreadLocalMap >>>>>>> SEVERE: A web application created a ThreadLocal with key of type >>>>>>> [org.springframework.core.NamedThreadLocal] (value [Transactional >>>>>>> resources]) and a value of type [null] (value [null]) but failed to remove >>>>>>> it when the web application was stopped. To prevent a memory leak, the >>>>>>> ThreadLocal has been forcibly removed. >>>>>>> >>>>>>> ============================================================ >>>>>>> =============================== >>>>>>> >>>>>>> According to tomcat documentation an upgrade to Tomcat7 should fix >>>>>>> this issue but I read another thread on this forum which cautions against >>>>>>> an upgrade as ODKAggregate was not tested on Tomcat7. >>>>>>> >>>>>>> Furthermore, there is a second instance of ODKAggregate running on >>>>>>> the same server and an upgrade will require downtime which is not feasible >>>>>>> at the moment. >>>>>>> >>>>>>> I have restarted Tomcat several times and power cycled the server >>>>>>> but am still getting the same ThreadLocal error. >>>>>>> >>>>>>> Thanks in advance >>>>>>> >>>>>>> Lawrence >>>>>>> -- >>>>>>> -- >>>>>>> Post: opend...@googlegroups.com >>>>>>> Unsubscribe: opendatakit...@googlegroups.com >>>>>>> Options: http://groups.google.com/group/opendatakit?hl=en >>>>>>> >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "ODK Community" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to opendatakit...@googlegroups.com. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Mitch Sundt >>>>>> Software Engineer >>>>>> University of Washington >>>>>> mitche...@gmail.comF >>>>>> >>>>>> On Mon, Sep 22, 2014 at 10:30 AM, Yaw Anokwa wrote: >>>>>> >>>>>>> Lawrence, >>>>>>> >>>>>>> What, if anything, changed on your server? Any software updates >>>>>>> (e.g., >>>>>>> Tomcat 6.0.24 to 6.0.25? Any particularly large forms or campaigns? >>>>>>> >>>>>>> Yaw >>>>>>> -- >>>>>>> Need ODK services? http://nafundi.com provides form design, server >>>>>>> setup, professional support, and software development for ODK. >>>>>>> >>>>>>> On Sun, Sep 21, 2014 at 11:41 PM, Lawrence Strydom wrote: >>>>>>> > Hi there, >>>>>>> > >>>>>>> > We have been running ODK aggregate on Centos6.4 with Postgres 9.1 >>>>>>> and >>>>>>> > Tomcat6 for more than a year without any issue until yesterday when >>>>>>> > ODKAggregate suddenly went down with this error in the >>>>>>> catalina.out log: >>>>>>> > >>>>>>> > ============================================================ >>>>>>> ============================ >>>>>>> > >>>>>>> > Sep 22, 2014 8:22:32 AM org.apache.catalina.core.StandardContext >>>>>>> start >>>>>>> > SEVERE: Context [/ODKAggregate] startup failed due to previous >>>>>>> errors >>>>>>> > Sep 22, 2014 8:22:32 AM org.apache.catalina.core.ApplicationContext >>>>>>> log >>>>>>> > INFO: Closing Spring root WebApplicationContext >>>>>>> > Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.Web >>>>>>> appClassLoader >>>>>>> > clearReferencesJdbc >>>>>>> > SEVERE: A web application registered the JBDC driver >>>>>>> [org.postgresql.Driver] >>>>>>> > but failed to unregister it when the web application was stopped. >>>>>>> To prevent >>>>>>> > a memory leak, the JDBC Driver has been forcibly unregistered. >>>>>>> > Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.Web >>>>>>> appClassLoader >>>>>>> > clearThreadLocalMap >>>>>>> > SEVERE: A web application created a ThreadLocal with key of type >>>>>>> > [org.springframework.core.NamedThreadLocal] (value [Prototype >>>>>>> beans >>>>>>> > currently in creation]) and a value of type [null] (value [null]) >>>>>>> but failed >>>>>>> > to remove it when the web application was stopped. To prevent a >>>>>>> memory leak, >>>>>>> > the ThreadLocal has been forcibly removed. >>>>>>> > Sep 22, 2014 8:22:32 AM org.apache.catalina.loader.Web >>>>>>> appClassLoader >>>>>>> > clearThreadLocalMap >>>>>>> > SEVERE: A web application created a ThreadLocal with key of type >>>>>>> > [org.springframework.core.NamedThreadLocal] (value [Transactional >>>>>>> > resources]) and a value of type [null] (value [null]) but failed >>>>>>> to remove >>>>>>> > it when the web application was stopped. To prevent a memory leak, >>>>>>> the >>>>>>> > ThreadLocal has been forcibly removed. >>>>>>> > >>>>>>> > ============================================================ >>>>>>> =============================== >>>>>>> > >>>>>>> > According to tomcat documentation an upgrade to Tomcat7 should fix >>>>>>> this >>>>>>> > issue but I read another thread on this forum which cautions >>>>>>> against an >>>>>>> > upgrade as ODKAggregate was not tested on Tomcat7. >>>>>>> > >>>>>>> > Furthermore, there is a second instance of ODKAggregate running on >>>>>>> the same >>>>>>> > server and an upgrade will require downtime which is not feasible >>>>>>> at the >>>>>>> > moment. >>>>>>> > >>>>>>> > I have restarted Tomcat several times and power cycled the server >>>>>>> but am >>>>>>> > still getting the same ThreadLocal error. >>>>>>> > >>>>>>> > Thanks in advance >>>>>>> > >>>>>>> > Lawrence >>>>>>> > >>>>>>> > -- >>>>>>> > -- >>>>>>> > Post: opend...@googlegroups.com >>>>>>> > Unsubscribe: opendatakit...@googlegroups.com >>>>>>> > Options: http://groups.google.com/group/opendatakit?hl=en >>>>>>> > >>>>>>> > --- >>>>>>> > You received this message because you are subscribed to the Google >>>>>>> Groups >>>>>>> > "ODK Community" group. >>>>>>> > To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an >>>>>>> > email to opendatakit...@googlegroups.com. >>>>>>> > For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>>> -- >>>>>>> -- >>>>>>> Post: opend...@googlegroups.com >>>>>>> Unsubscribe: opendatakit...@googlegroups.com >>>>>>> Options: http://groups.google.com/group/opendatakit?hl=en >>>>>>> >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "ODK Community" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to opendatakit...@googlegroups.com. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Mitch Sundt >>>>>> Software Engineer >>>>>> University of Washington >>>>>> mitche...@gmail.com >>>>>> >>>>> -- >>>> -- >>>> Post: opend...@googlegroups.com >>>> Unsubscribe: opendatakit...@googlegroups.com >>>> Options: http://groups.google.com/group/opendatakit?hl=en >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "ODK Community" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to opendatakit...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Mitch Sundt >>> Software Engineer >>> University of Washington >>> mitche...@gmail.com >>> >> -- >> -- >> Post: opend...@googlegroups.com >> Unsubscribe: opendatakit...@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >