[ 
http://mifosforge.jira.com/browse/MIFOS-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61685#action_61685
 ] 

Udai Gupta commented on MIFOS-3224:
-----------------------------------

I have disabled the session serialisation in mifos war.
The huge part of the SEVERE message was due to ThreadLocal variable of 
HibernateUtil.

some SEVERE message are still there due to some not-destroyed Threads 
 
{code}
INFO: Stopping service Catalina
12 Nov, 2010 5:54:38 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/mifos] appears to have started a thread named 
[Thread-2] but has failed to stop it. This is very likely to create a memory 
leak.
12 Nov, 2010 5:54:38 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/mifos] appears to have started a thread named 
[Timer-1] but has failed to stop it. This is very likely to create a memory 
leak.
12 Nov, 2010 5:54:38 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/mifos] appears to have started a thread named 
[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has 
failed to stop it. This is very likely to create a memory leak.
12 Nov, 2010 5:54:38 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/mifos] appears to have started a thread named 
[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has 
failed to stop it. This is very likely to create a memory leak.
12 Nov, 2010 5:54:38 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/mifos] appears to have started a thread named 
[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has 
failed to stop it. This is very likely to create a memory leak.
12 Nov, 2010 5:54:38 PM org.apache.catalina.loader.WebappClassLoader 
clearReferencesThreads
SEVERE: The web application [/mifos] appears to have started a thread named 
[schedulerFactoryBean_Worker-1] but has failed to stop it. This is very likely 
to create a memory leak.
{code}

But this really doesn't matter are shutting down the tomcat as you are killing 
the JVM, so according to message, "This is very *likely* to create a memory 
leak" doesn't mean that it will (or must) cause memory leak.

I do think this severe message is confusing but people have been discussing 
this on tomcat's forum too.
http://www.mail-archive.com/[email protected]/msg83407.html

And there is bug in Tomcat bug tracker to make this SEVERE message WARN or INFO.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50175

So, I would close this issue considering that it is an issue with Tomcat as 
these messages should not be there if we are killing the Tomcat JVM

> Severe errors when starting and stopping tomcat
> -----------------------------------------------
>
>                 Key: MIFOS-3224
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3224
>             Project: mifos
>          Issue Type: Bug
>          Components: Misc
>    Affects Versions: Release 1.6.0
>            Reporter: jbrewster
>            Assignee: Udai Gupta
>             Fix For: Release E - Iteration 11, Release E
>
>         Attachments: issue3224log.txt
>
>
> See multiple SEVERE messages when doing tomcat startup and shutdown.  
> repro steps:  
> 1. download latest 1.6.x war
> 2. deploy mifos.war, run tomcat - e.g. catalina run
> 3. after server is running, stop tomcat (ctl+c)
> 4. view tomcat console output.
> Actual result:
> see attachment for all errors.  
> Expected result:
> no severe errors

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to