Errors Compiling

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?

Hi this is the important part

java.lang.OutOfMemoryError: PermGen space

You need to set JAVA_OPTS and MAVEN_OPTS environment variables:

See last section on performance tuning here:

http://dhis2.org/development

Lars

···

On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

All of them are set to " -Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m "

···

On Sun, Apr 21, 2013 at 8:41 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi this is the important part

java.lang.OutOfMemoryError: PermGen space

You need to set JAVA_OPTS and MAVEN_OPTS environment variables:

See last section on performance tuning here:

http://dhis2.org/development

Lars

On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

OK make sure they are picked up, you shouldn’t get this error if so.

···

On Sun, Apr 21, 2013 at 9:05 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

All of them are set to " -Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m "

On Sun, Apr 21, 2013 at 8:41 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi this is the important part

java.lang.OutOfMemoryError: PermGen space

You need to set JAVA_OPTS and MAVEN_OPTS environment variables:

See last section on performance tuning here:

http://dhis2.org/development

Lars

On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

This is embarrassing, now I have another…

http://pastebin.com/VvfdXbsT

···

On Sun, Apr 21, 2013 at 9:08 PM, Lars Helge Øverland larshelge@gmail.com wrote:

OK make sure they are picked up, you shouldn’t get this error if so.

On Sun, Apr 21, 2013 at 9:05 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

All of them are set to " -Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m "

On Sun, Apr 21, 2013 at 8:41 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi this is the important part

java.lang.OutOfMemoryError: PermGen space

You need to set JAVA_OPTS and MAVEN_OPTS environment variables:

See last section on performance tuning here:

http://dhis2.org/development

Lars

On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Hi Igor,

you are getting some test errors, go to

/home/igor/dhis2/dhis-2/dhis-services/dhis-service-reporting/target/surefire-reports

and look for the file

org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt

or similar. Funny thing is that I am not getting this test error, nor is our continous build server.

My best tip is to make sure you have an up-to-date JDK like OpenJDK 7…

Lars

···

On Sun, Apr 21, 2013 at 10:12 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

This is embarrassing, now I have another…

http://pastebin.com/VvfdXbsT

On Sun, Apr 21, 2013 at 9:08 PM, Lars Helge Øverland larshelge@gmail.com wrote:

OK make sure they are picked up, you shouldn’t get this error if so.

On Sun, Apr 21, 2013 at 9:05 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

All of them are set to " -Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m "

On Sun, Apr 21, 2013 at 8:41 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi this is the important part

java.lang.OutOfMemoryError: PermGen space

You need to set JAVA_OPTS and MAVEN_OPTS environment variables:

See last section on performance tuning here:

http://dhis2.org/development

Lars

On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Updated to the latest JDK and JRE, tried mvn with -fae and -fn, still getting the same error.

Here is details from org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt http://pastebin.com/8aADeRss

I guess there are some troubles updating the values. Am I the only one getting this? :frowning:

···

On Mon, Apr 22, 2013 at 6:29 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Igor,

you are getting some test errors, go to

/home/igor/dhis2/dhis-2/dhis-services/dhis-service-reporting/target/surefire-reports

and look for the file

org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt

or similar. Funny thing is that I am not getting this test error, nor is our continous build server.

My best tip is to make sure you have an up-to-date JDK like OpenJDK 7…

Lars

On Sun, Apr 21, 2013 at 10:12 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

This is embarrassing, now I have another…

http://pastebin.com/VvfdXbsT

On Sun, Apr 21, 2013 at 9:08 PM, Lars Helge Øverland larshelge@gmail.com wrote:

OK make sure they are picked up, you shouldn’t get this error if so.

On Sun, Apr 21, 2013 at 9:05 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

All of them are set to " -Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m "

On Sun, Apr 21, 2013 at 8:41 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi this is the important part

java.lang.OutOfMemoryError: PermGen space

You need to set JAVA_OPTS and MAVEN_OPTS environment variables:

See last section on performance tuning here:

http://dhis2.org/development

Lars

On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Igor, do you need to run the tests? You could just skip them?

···

On Mon, Apr 22, 2013 at 6:29 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Igor,

you are getting some test errors, go to

/home/igor/dhis2/dhis-2/dhis-services/dhis-service-reporting/target/surefire-reports

and look for the file

org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt

or similar. Funny thing is that I am not getting this test error, nor is our continous build server.

My best tip is to make sure you have an up-to-date JDK like OpenJDK 7…

Lars

On Sun, Apr 21, 2013 at 10:12 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

This is embarrassing, now I have another…

http://pastebin.com/VvfdXbsT

On Sun, Apr 21, 2013 at 9:08 PM, Lars Helge Øverland larshelge@gmail.com wrote:

OK make sure they are picked up, you shouldn’t get this error if so.

On Sun, Apr 21, 2013 at 9:05 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

All of them are set to " -Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m "

On Sun, Apr 21, 2013 at 8:41 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi this is the important part

java.lang.OutOfMemoryError: PermGen space

You need to set JAVA_OPTS and MAVEN_OPTS environment variables:

See last section on performance tuning here:

http://dhis2.org/development

Lars

On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

lgore, try with maven goals

mvn clean install -Dmaven.test.skip=true

For time being this will short out your issue and build process will go in smooth way.

···

On Tue, Apr 23, 2013 at 10:04 AM, Knut Staring knutst@gmail.com wrote:

Igor, do you need to run the tests? You could just skip them?

Sent from my mobile

On Apr 22, 2013 11:31 PM, “Igor Brishkoski” igor.brishkoski@gmail.com wrote:

Updated to the latest JDK and JRE, tried mvn with -fae and -fn, still getting the same error.

Here is details from org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt http://pastebin.com/8aADeRss

I guess there are some troubles updating the values. Am I the only one getting this? :frowning:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Mon, Apr 22, 2013 at 6:29 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Igor,

you are getting some test errors, go to

/home/igor/dhis2/dhis-2/dhis-services/dhis-service-reporting/target/surefire-reports

and look for the file

org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt

or similar. Funny thing is that I am not getting this test error, nor is our continous build server.

My best tip is to make sure you have an up-to-date JDK like OpenJDK 7…

Lars

On Sun, Apr 21, 2013 at 10:12 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

This is embarrassing, now I have another…

http://pastebin.com/VvfdXbsT

On Sun, Apr 21, 2013 at 9:08 PM, Lars Helge Øverland larshelge@gmail.com wrote:

OK make sure they are picked up, you shouldn’t get this error if so.

On Sun, Apr 21, 2013 at 9:05 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

All of them are set to " -Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m "

On Sun, Apr 21, 2013 at 8:41 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi this is the important part

java.lang.OutOfMemoryError: PermGen space

You need to set JAVA_OPTS and MAVEN_OPTS environment variables:

See last section on performance tuning here:

http://dhis2.org/development

Lars

On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

I skipped the tests, thanks to @Knut and now it works like charm, connected with MySql too. Got all worked up I forgot to reply :slight_smile:
Everything is ok now.

···

On Wed, Apr 24, 2013 at 8:25 AM, brajesh murari bmurari79@gmail.com wrote:

lgore, try with maven goals

mvn clean install -Dmaven.test.skip=true

For time being this will short out your issue and build process will go in smooth way.

On Tue, Apr 23, 2013 at 10:04 AM, Knut Staring knutst@gmail.com wrote:

Igor, do you need to run the tests? You could just skip them?

Sent from my mobile

On Apr 22, 2013 11:31 PM, “Igor Brishkoski” igor.brishkoski@gmail.com wrote:

Updated to the latest JDK and JRE, tried mvn with -fae and -fn, still getting the same error.

Here is details from org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt http://pastebin.com/8aADeRss

I guess there are some troubles updating the values. Am I the only one getting this? :frowning:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Mon, Apr 22, 2013 at 6:29 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Igor,

you are getting some test errors, go to

/home/igor/dhis2/dhis-2/dhis-services/dhis-service-reporting/target/surefire-reports

and look for the file

org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt

or similar. Funny thing is that I am not getting this test error, nor is our continous build server.

My best tip is to make sure you have an up-to-date JDK like OpenJDK 7…

Lars

On Sun, Apr 21, 2013 at 10:12 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

This is embarrassing, now I have another…

http://pastebin.com/VvfdXbsT

On Sun, Apr 21, 2013 at 9:08 PM, Lars Helge Øverland larshelge@gmail.com wrote:

OK make sure they are picked up, you shouldn’t get this error if so.

On Sun, Apr 21, 2013 at 9:05 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

All of them are set to " -Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m "

On Sun, Apr 21, 2013 at 8:41 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi this is the important part

java.lang.OutOfMemoryError: PermGen space

You need to set JAVA_OPTS and MAVEN_OPTS environment variables:

See last section on performance tuning here:

http://dhis2.org/development

Lars

On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Good. Funny that the test failed anyway. Let us know if you find out why…

Lars

···

On Wed, Apr 24, 2013 at 12:19 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

I skipped the tests, thanks to @Knut and now it works like charm, connected with MySql too. Got all worked up I forgot to reply :slight_smile:
Everything is ok now.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Wed, Apr 24, 2013 at 8:25 AM, brajesh murari bmurari79@gmail.com wrote:

lgore, try with maven goals

mvn clean install -Dmaven.test.skip=true

For time being this will short out your issue and build process will go in smooth way.

On Tue, Apr 23, 2013 at 10:04 AM, Knut Staring knutst@gmail.com wrote:

Igor, do you need to run the tests? You could just skip them?

Sent from my mobile

On Apr 22, 2013 11:31 PM, “Igor Brishkoski” igor.brishkoski@gmail.com wrote:

Updated to the latest JDK and JRE, tried mvn with -fae and -fn, still getting the same error.

Here is details from org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt http://pastebin.com/8aADeRss

I guess there are some troubles updating the values. Am I the only one getting this? :frowning:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Mon, Apr 22, 2013 at 6:29 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Igor,

you are getting some test errors, go to

/home/igor/dhis2/dhis-2/dhis-services/dhis-service-reporting/target/surefire-reports

and look for the file

org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt

or similar. Funny thing is that I am not getting this test error, nor is our continous build server.

My best tip is to make sure you have an up-to-date JDK like OpenJDK 7…

Lars

On Sun, Apr 21, 2013 at 10:12 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

This is embarrassing, now I have another…

http://pastebin.com/VvfdXbsT

On Sun, Apr 21, 2013 at 9:08 PM, Lars Helge Øverland larshelge@gmail.com wrote:

OK make sure they are picked up, you shouldn’t get this error if so.

On Sun, Apr 21, 2013 at 9:05 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

All of them are set to " -Xms1024m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m "

On Sun, Apr 21, 2013 at 8:41 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi this is the important part

java.lang.OutOfMemoryError: PermGen space

You need to set JAVA_OPTS and MAVEN_OPTS environment variables:

See last section on performance tuning here:

http://dhis2.org/development

Lars

On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski igor.brishkoski@gmail.com wrote:

Hello guys,

I’m trying to compile the code but I’m getting some errors and it fails.

http://pastebin.com/s9CRgwgL

Here is the log.

Do you have some pointers on what could be wrong?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp