>From http://mifos.org/book/export/html/146 it looks like it is JAVA_OPTIONS that is expected from Jetty.
The behaviour you are seeing though suggests that its not picking up on the memory settings. Hopefully some of the people that use jetty/mifos day to day will be able to help you on this like some way of testing that jetty and picked up the settings correctly etc. Keith. On Wed, Apr 4, 2012 at 9:25 AM, Thomas (Uganda) <[email protected]> wrote: > Hello Keith am having a similar issue when testing mifos 2.3.0. Perm > Gen Space Error, Java out of memory exception. Am Using Jetty 7.3.1 on > Windows 7 and NOT Tomcat as I understand Tomcat does not work with the > recent releases??? > > What happens is i successfully login to mifos but after like 3 > operations say Create a Client, and Create a Loan Account. the error > appears and i have to restart the machine to start up Jetty (Am a > newby with Jetty) > > > Below are my Environment Variables > > JAVA:C:\Program Files\Java\jdk1.6.0_31\bin > JAVA_HOME:C:\Program Files\Java\jdk1.6.0_31 > JAVA_OPTS:-Xms1024M -Xmx1024M -XX:MaxPermSize=256m > JETTY_HOME:C:\mifosInstall\Jetty > JRE_HOME:C:\Program Files\Java\jre6 > MIFOS_CONF:C:\mifosInstall\mifos-v2.3.0\config > MYSQL_HOME:C:\Program Files\MySQL\MySQL Server 5.1 > Path: C:\Program Files\Java\jdk1.6.0_31\bin;C:\Program Files\Java > \jre6\bin; C:\mifosInstall\Jetty\bin;C:\Program Files\MySQL\MySQL > Server 5.1\bin > > > Any reconfiguration I need to made to successfully use Jetty or Tomcat > to run effectively on mifos 2.3.0 ??? > > > > > > > On Apr 3, 3:57 pm, Keith Woodlock <[email protected]> wrote: >> Zayyad, >> >> Might be wrong but the environment variable should be JAVA_OPTS and >> not JAVA_OPTIONS. >> >> tomcat startup script typically looks for JAVA_OPTS >> >> Keith. >> >> >> >> On Tue, Apr 3, 2012 at 11:42 AM, Zayyad Said <[email protected]> >> wrote: >> > We are getting below error in Mifos v2.3.0 when navingating between clients >> > accounts: >> >> > java.lang.OutOfMemoryError: PermGen space >> > at sun.misc.Unsafe.defineClass(Native Method) >> > at sun.reflect.ClassDefiner.defineClass(Unknown Source) >> > at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source) >> > at java.security.AccessController.doPrivileged(Native Method) >> > at sun.reflect.MethodAccessorGenerator.generate(Unknown Source) >> > at sun.reflect.MethodAccessorGenerator.generateConstructor(Unknown >> > Source) >> > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) >> > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown >> > Source) >> > at java.lang.reflect.Constructor.newInstance(Unknown Source) >> > at java.lang.Class.newInstance0(Unknown Source) >> > at java.lang.Class.newInstance(Unknown Source) >> > at >> > org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy(JavassistLazyInitializer.java:139) >> > at >> > org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.getProxy(JavassistProxyFactory.java:71) >> > at >> > org.hibernate.tuple.entity.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:631) >> > at >> > org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersister.java:3736) >> > at >> > org.hibernate.event.def.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventListener.java:360) >> > at >> > org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:281) >> > at >> > org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) >> > at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) >> > at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1038) >> > at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:630) >> > at org.hibernate.type.EntityType.resolve(EntityType.java:438) >> > at >> > org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:139) >> > at >> > org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:982) >> > at org.hibernate.loader.Loader.doQuery(Loader.java:857) >> > at >> > org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274) >> > at org.hibernate.loader.Loader.loadEntity(Loader.java:2037) >> > at >> > org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86) >> > at >> > org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76) >> > at >> > org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3293) >> > at >> > org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496) >> > at >> > org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477) >> >> > Is there anything we are to change in JAVA_OPTIONS, currently its set to >> > -Xms1024M -Xmx1024M -XX:MaxPermSize=256m >> >> > Kindly advise. >> > -- >> > **************** >> > Zayyad A. Said >> > Manager - ICT >> > Fursa Leo Limited >> >> > Tel: +254 (0) 41 2312807/808 I Cell: 0716 615 274 | P.O.Box 83321 - 80100 >> > Moi Avenue. Mombasa, Kenya >> > Email: [email protected] >> > Website:www.fursaleo.com >> >> > ------------------------------------------------------------------------------ >> > Better than sec? Nothing is better than sec when it comes to >> > monitoring Big Data applications. Try Boundary one-second >> > resolution app monitoring today. Free. >> >http://p.sf.net/sfu/Boundary-dev2dev >> > _______________________________________________ >> > Mifos-users mailing list >> > [email protected] >> >https://lists.sourceforge.net/lists/listinfo/mifos-users >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free.http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> Mifos-users mailing list >> [email protected]https://lists.sourceforge.net/lists/listinfo/mifos-users > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Mifos-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mifos-users ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Mifos-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mifos-users
