← Back to team overview

dhis2-devs team mailing list archive

Re: Error DHIS2 building

 

On Tue, Mar 2, 2010 at 12:48 PM, Quang Nguyen <quangnguyen111@xxxxxxxxx>wrote:

>
>
> On Tue, Mar 2, 2010 at 6:35 PM, Viet Nguyen <phamquocviet@xxxxxxxxx>wrote:
>
>>
>>
>> 2010/3/2 Quang Nguyen <quangnguyen111@xxxxxxxxx>
>>
>>> Sorry, I forgot to attach the file :)
>>>
>>> 2010/3/2 Quang Nguyen <quangnguyen111@xxxxxxxxx>
>>>
>>> Hi all,
>>>>
>>>> 2010/3/2 Lars Helge Øverland <larshelge@xxxxxxxxx>
>>>>
>>>>
>>>>> Not sure about this... Could you send the surefire report files in the
>>>>> target folder?
>>>>>
>>>>>
>>>>
>>>> Enclosed is the surefine reports.
>>>>
>>>> This happens because the packaging type for the excel-reporting module
>>>>> was set to JAR and not WAR.
>>>>>
>>>>> VN uses this setting for debugging and sometimes forgets to put it
>>>>> back...
>>>>>
>>>>>
>>>>
>>>> We should set it back to WAR, shouldn't we?
>>>>
>>>>
>>>>>
>>>>>>
>>>>>> 3. Remove dhis-web-excel-reporting from the POM file of
>>>>>> dhis-web-portal, it's okay to run the project. However I got out of memory
>>>>>> exception as soon as I logged-in to the system (still error when *JAVA_OPTS
>>>>>> *environment variable was set).
>>>>>>
>>>>>> I still got the out of memory exception. My computer has 3GBs of
>>>> memory, running Windows 7, jdk1.6.0_16, maven 2.2.1 with* *JAVA_OPTS=-Xms256m
>>>> -Xmx768m -XX:PermSize=256m -XX:MaxPermSize=768m environment variable. Any
>>>> ideas?
>>>>
>>>> Thank you.
>>>> Best regards,
>>>> Quang
>>>>
>>>
>>>
>> Hi,
>>
>> First, I think you should  upgrade to jdk1.6.0_17
>>
>> Second , did you add this variable  MAVEN_OPTS = -Xms256m -Xmx512m ?
>>
>
> Hey, it works with MAVEN_OPTS set. Should we put this point on
> http://dhis2.com/development? It should be useful for newbies like me :)
>

Done.


>
> Thank you.
> Cheers,
> Quang
>
>
>> regards,
>> --
>> Viet Nguyen
>>
>>
>

Follow ups

References