[
http://mifosforge.jira.com/browse/MIFOS-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60092#action_60092
]
Mifos Hudson Jira Plugin User commented on MIFOS-2433:
------------------------------------------------------
Integrated in !http://ci.mifos.org/hudson/images/16x16/blue.gif! [head-master
#1932|http://ci.mifos.org/hudson/job/head-master/1932/]
MIFOS-2433 : Tomcat reload fails
Udai Gupta :
[6f075bab0666af57fb67637b59f08ada0610ff1b|http://mifos.git.sourceforge.net/git/gitweb.cgi?p=mifos/head&a=commit&h=6f075bab0666af57fb67637b59f08ada0610ff1b]
Files :
* application/src/main/java/org/mifos/framework/ApplicationInitializer.java
> 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: mifosdeveloperqueue
> Priority: Major
> Fix For: Gazelle Backlog
>
> Attachments: issue_2433.diff
>
>
> 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
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues