Re: [Dhis2-users] Dhis2.30 Failing to start

2018-08-24 Thread Kabango Malewezi
Thanks for the advice it worked out. It was indeed memory. I did not
allocate enough memory to Java.

Kabango

On Thu, Aug 23, 2018 at 4:46 PM Kabango Malewezi 
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
>


-- 


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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Dhis2.30 Failing to start

2018-08-24 Thread Kabango Malewezi
Thanks, I'll look into it.

On Thu, Aug 23, 2018 at 5:04 PM Bob Jolliffe  wrote:

> 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  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 
> > 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@lists.launchpad.net
> >> 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@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-users
> > More help   : https://help.launchpad.net/ListHelp
> >
>


-- 


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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Dhis2.30 Failing to start

2018-08-23 Thread Bob Jolliffe
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  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 
> 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@lists.launchpad.net
>> 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@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Dhis2.30 Failing to start

2018-08-23 Thread Knut Staring
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 
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@lists.launchpad.net
> 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Dhis2.30 Failing to start

2018-08-23 Thread Kabango Malewezi
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


localhost.2018-08-23.log
Description: Binary data
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp