[ 
http://mifosforge.jira.com/browse/MIFOS-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jbrewster updated MIFOS-2433:
-----------------------------

    Status: Verified  (was: Resolved)

> Tomcat reload fails
> -------------------
>
>                 Key: MIFOS-2433
>                 URL: http://mifosforge.jira.com/browse/MIFOS-2433
>             Project: mifos
>          Issue Type: Bug
>          Components: Build and Testing
>    Affects Versions: Release 1.3
>         Environment: Platform: All, OS: All
>            Reporter: Adam Monsen
>            Assignee: Udai Gupta
>            Priority: Major
>             Fix For: Release E - Iteration 7, Release E
>
>         Attachments: issue_2433.diff, PermGen.png
>
>
> Reloading of Web applications is a handy feature of Tomcat (and other
> application servers) that can reduce development time. The Mifos Web 
> application
> breaks after being reloaded by Tomcat.
> STEPS TO REPRODUCE
> 1) in a stand-alone Tomcat server
>   a) deploy the Mifos war into CATALINA_HOME/webapps
>   b) start Tomcat, watch log
>   c) login to Mifos, logout
>   d) visit http://localhost:8080/manager/html/reload?path=/mifos
>      (may take several reloads)
> 2) in the Eclipse WTP
>   a) enable auto-reloading for your Mifos/Tomcat server
>   b) change some Java code, save (force build if necessary)
>      (may take several changes)
> EXPECTED BEHAVIOR
> Mifos reloads and works nominally.
> ACTUAL BEHAVIOR
> * Trying to request any Mifos page results in 404 or 500 errors
> * Log shows messages like
> Exception in thread "Timer-0" java.lang.NullPointerException
> Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]"
> java.lang.OutOfMemoryError: PermGen space
> Exception in thread "Timer-2" java.lang.NullPointerException
> java.lang.reflect.InvocationTargetException
> Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
> ADDITIONAL INFORMATION
> The inability for Tomcat to reload Mifos may be the result of missing cleanup
> steps in ApplicationInitializer#contextDestroyed()

-- 
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

        

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to