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

Udai Gupta resolved MIFOS-2433.
-------------------------------

             Team: Community
         Assignee: Udai Gupta  (was: mifosdeveloperqueue)
       Resolution: Fixed
    Scheduled For: Product
    Fix Version/s:     (was: Gazelle Backlog)
                   Release E
                   Release E - Iteration 7

CATALINA_OPTS or JAVA_OPTS doesn't work with eclipse tomcat server plugin.

To increase the PermSize pass JVM arguments using 
Tomcat configuration in eclipse -> Click the link "Open launch configuration" 
-> Argument Tab -> vm arguments -XX:MaxPermSize=256m

You should be able to reload Mifos. Use Tomcat 6.0.26+ with eclipse plugin on 
JDK 6.0.21(b02+).


If that doesn't work then use jvisualvm to see if you are really using 256m 
PermSize.







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