← Back to team overview

dhis2-users team mailing list archive

Re: Dhis2.30 Failing to start

 

No, looks like the problem is out of memory.

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@xxxxxxxxx> 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?
>
> https://github.com/dhis2/dhis2-releases/blob/master/releases/2.30/README.md
>
> On Thu, Aug 23, 2018 at 4:46 PM Kabango Malewezi <kmalewezi@xxxxxxxxx>
> 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)
>>
>> See enclosed file for a complete log.
>>
>> Thank you in advance.
>>
>> --
>>
>>
>> Name: Kabango Malewezi
>>
>>
>> Jhpiego, City Center, Lilongwe, Malawi
>>
>> Mobile: +265 (0) 88 4 245 431
>>
>> skype: kabango.malewezi
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>
>
>
> --
> Knut Staring
>
> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References