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

Mifos Hudson Jira Plugin User commented on MIFOS-2433:
------------------------------------------------------

Integrated in !http://ci.mifos.org/hudson/images/16x16/blue.gif! [head-master 
#1937|http://ci.mifos.org/hudson/job/head-master/1937/]
     MIFOS-2433 : Tomcat Reload fails, Added some cleanup required from spring 
and HibernateUtil

Udai Gupta : 
[9ab0f2f429a70cb0fb9b88bb7ec8b2689587c3fa|http://mifos.git.sourceforge.net/git/gitweb.cgi?p=mifos/head&a=commit&h=9ab0f2f429a70cb0fb9b88bb7ec8b2689587c3fa]
Files : 
* 
application/src/main/resources/org/mifos/config/resources/persistenceContext.xml
* application/src/main/java/org/mifos/framework/ApplicationInitializer.java
* 
application/src/main/resources/org/mifos/config/resources/dataSourceContext.xml
* 
application/src/main/java/org/mifos/framework/hibernate/helper/HibernateUtil.java
* 
application/src/main/java/org/mifos/framework/hibernate/helper/StaticHibernateUtil.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: 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

        

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

Reply via email to