Dear Members,
My DHIS2.30 is failing to start. This is a clean install not an upgrade. Please look at the enclosed log and assist.
I installed 2.28 on the same server with no problems. I know this is not a new error to most of you.
The error is: Error creating bean with name ‘org.hisp.dhis.schema.PropertyIntrospectorService’: Unsatisfied dependency expressed through field ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in URL [jar:file:/home/dhis/tomcat-dhis/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.30.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1201)
Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar
You need to tweak your memory settings somehow/somewhere. Where
exactly depends on how much RAM you have free on the machine and what
other processes might be running and using memory and how you have
setup tomcat.
Possibly you need to increase the size of Xmx (heap space) in your
java options. Or you might need to remove or scale back something
else which is running on your machine.
···
On 23 August 2018 at 15:50, Knut Staring <knutst@gmail.com> wrote:
Hi there,
It may not be related to this at all, but have you made sure to install the
PostGIS extension, required from 2.30?
On Thu, Aug 23, 2018 at 4:46 PM Kabango Malewezi <kmalewezi@gmail.com> > wrote:
Dear Members,
My DHIS2.30 is failing to start. This is a clean install not an upgrade.
Please look at the enclosed log and assist.
I installed 2.28 on the same server with no problems. I know this is not a
new error to most of you.
The error is: Error creating bean with name
'org.hisp.dhis.schema.PropertyIntrospectorService': Unsatisfied dependency
expressed through field 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'sessionFactory' defined in URL
[jar:file:/home/dhis/tomcat-dhis/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.30.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
java.lang.OutOfMemoryError: GC overhead limit exceeded
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1201)
Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar