Hi Juan Pablo,

On Sun, 13 Sep 2009 11:29:02 +0200
Juan Pablo Aroztegi <juanpablo.arozt...@openbravo.com> wrote:

> Hi Iván,
> 
> > I received two emails, I mixed them and reply to the wrong one:
> > http://builds.openbravo.com/job/erp_devel_pi-module-installation-test/92/console
> I see it, it fails with a memory problem in the update.database.java
> ant task. I remember you mentioning on IRC that the update.database
> task is now run a new Java VM.

AFAIK this change was made to avoid the problem of using old
DBSourceManager when upgrading to a newer version (aka the 2.50MP4
problem).

> 
> Analyzing the changesets in which this failed for the first time,
> there are 3. And this is the only one that seems to be related:
> https://code.openbravo.com/erp/devel/pi/rev/81502daa8cab
> "related to issue 10492: remove spawn from java call in
> update.database"

If you see the issue 10492, there a few changesets, not only the
81502daa8cab.
https://issues.openbravo.com/view.php?id=10492

> 
> I have tried reverting that changeset locally and the build does the
> update.database.java but as it is spawn'ed it doesn't show any
> useful output. This was probably why it was removed (can anyone
> confirm this?)

Sorry but I can't confirm that.

> 
> The build later fails with a NullPointerException, maybe related to
> the spawn process not being finished. So after this test I've removed
> the local change.
> 
> Does the update.database task now require more memory due to
> update.database.java? How much more? Is this expected?

Perhaps Asier or Antonio can explain the change and what is the
expected behavior.


Cheers,

Iván

> 
> 
> Juan Pablo
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day trial. Simplify your report design, integration and deployment
> - and focus on what you do best, core application coding. Discover
> what's new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openbravo-development mailing list
> Openbravo-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbravo-development


-- 
Iván Perdomo

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openbravo-development mailing list
Openbravo-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to