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.
Thanks again.
(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