Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011446
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorsometimes2009-11-20 15:152009-11-24 00:00
ReporterandreaferacoView Statuspublic 
Assigned Toiciordia 
PrioritynormalResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_0
OS VersionUbuntu 9Database version8.3.8Ant version1.7.1
Product Version2.50MP6SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011446: ant task update.database is stuck

Descriptionwe are using MP6 and postgres 8.3.8,
we have an issue regarding the upgrade of an installation with no deletion of business data.
In other words we want to apply new features to an installation of openbravo saving data already stored in the system.
So far we have used this approach (and it WAS working ...):

1) Shutdown of tomcat
2) svn checkout ( in config directory Openbravo.properties is already provided in order to connect to the "target" db, the same used by the webapp)
2) ant database.lib, core.lib
3) ant generate.entities
4) ant update.database -Dforce=yes
5) ant post.jar.clean (src-core\build-util.xml) (*)
6) ant wad.lib, trl.lib
7) ant compile.complete
8) ant war

We have a installation of Hudson in the same LAN of the PC where there are installed Tomcat and Postgres.
When Hudson runs these ant tasks we have this blocking situation (**) at point 4), notice that the point in which Hudson seems to be blocked is not always the same but it is always a "step"
of "ant update.database".
May be these steps work fine with MP4 (previous one we used) but not with MP6?
Have you some suggestions about?


(*)
This ant task is not in the original distribution but it's vey simple ...
...
<property name="base.db.lib" value="../src-db/database/lib"/> <target name="post.jar.clean">
    <delete failonerror="false" file="${base.db.lib}/openbravo-core.jar"/>
</target>
...


(**)
... checkout of the code form svn ...


[trunk] $ cmd.exe /C '"ant.bat database.lib, core.lib && exit %%ERRORLEVEL%%"'

Buildfile: build.xml



set.code.rev:



code.rev:



init:



database.lib:



init:

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\src-db\build\classes

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\src-db\build\lib

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\src-db\docs



compile:

    [javac] Compiling 4 source files to C:\WINDOWS\system32\polinice_dev\trunk\src-db\build\classes



build.jar:

      [jar] Building jar: C:\WINDOWS\system32\polinice_dev\trunk\src-db\build\lib\dbmanager.jar



jar:

     [copy] Copying 1 file to C:\WINDOWS\system32\polinice_dev\trunk\src-db\database\lib



set.code.rev:



code.rev:



init:



core.lib:



init:

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\src-core\build\classes

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\src-core\docs



compile:

    [javac] Compiling 116 source files to C:\WINDOWS\system32\polinice_dev\trunk\src-core\build\classes



build.jar:

      [jar] Building jar: C:\WINDOWS\system32\polinice_dev\trunk\src-core\lib\openbravo-core.jar



build:

Trying to override old definition of task axis-wsdl2java

Trying to override old definition of task axis-admin

Trying to override old definition of task axis-java2wsdl



copy.core.lib:

     [copy] Copying 1 file to C:\WINDOWS\system32\polinice_dev\trunk\lib\runtime



BUILD SUCCESSFUL

Total time: 13 seconds

[trunk] $ cmd.exe /C '"ant.bat generate.entities && exit %%ERRORLEVEL%%"'

Buildfile: build.xml



generate.entities:



init:

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\build\classes

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\WebContent\src-loc\design

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\build\javasqlc

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\build\javasqlc\src

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\build\javasqlc\srcAD

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\srcAD

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\srcAD\org\openbravo\erpWindows

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\srcAD\org\openbravo\erpCommon\ad_actionButton

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\srcAD\org\openbravo\erpCommon\ad_callouts

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\srcAD\org\openbravo\erpCommon\reference

    [mkdir] Created dir: C:\WINDOWS\system32\polinice_dev\trunk\docs\api



compile.src.gen:

    [javac] Compiling 48 source files to C:\WINDOWS\system32\polinice_dev\trunk\build\classes

     [copy] Copying 11 files to C:\WINDOWS\system32\polinice_dev\trunk\build\classes

     [copy] Copying 1 file to C:\WINDOWS\system32\polinice_dev\trunk\build\classes



clean.src.gen:



generate.entities:

 [workflow] Adding param: C:\WINDOWS\system32\polinice_dev\trunk\src/org/openbravo/base/gen/gen_entity.oaw

 [workflow] Adding param: -pob.properties.location=C:\WINDOWS\system32\polinice_dev\trunk\config/Openbravo.properties

 [workflow] Adding param: -pbase.src.gen=C:\WINDOWS\system32\polinice_dev\trunk\src-gen

 [workflow] Adding param: --ant

    [javac] Compiling 495 source files to C:\WINDOWS\system32\polinice_dev\trunk\build\classes

    [javac] Compiling 3 source files to C:\WINDOWS\system32\polinice_dev\trunk\build\classes



BUILD SUCCESSFUL

Total time: 1 minute 13 seconds

[trunk] $ cmd.exe /C '"ant.bat update.database -Dforce=yes && exit %%ERRORLEVEL%%"'

Buildfile: build.xml



set.code.rev:



code.rev:



init:



update.database:



set.code.rev:



code.rev:



init:



database.lib:



init:



compile:



build.jar:



jar:



set.code.rev:



code.rev:



init:



core.lib:



init:



compile:



build.jar:



build:



copy.core.lib:



update.database.java:



fix.date.POSTGRE:

      [sql] Executing commands

      [sql] 1 of 1 SQL statements executed successfully

     [java] Executing database update process without checking changes in local files.

     [java] Initializing in-memory model...

     [java] Building runtime model

     [java] Model read in-memory, generating mapping...

     [java] Dal layer initialized
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0010737 closedmarvintm Installation of Advanced Payments Pack gets stucked when installing module bpdebtconsolidation 

-  Notes
(0022070)
rafaroda (developer)
2009-11-20 16:14

Thanks for reporting the issue but:
1) We can not consider it as Critical since it is not reproduced with the regular Openbravo ERP source code.
2) Please provide some steps to reproduce this issue in a regular Openbravo ERP code base [1] or ask for support in Openbravo ERP forums [2].

Thank you.

[1] http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Report_an_Issue [^]
[2] http://forge.openbravo.com/projects/openbravoerp/forum [^]
(0022110)
iciordia (manager)
2009-11-23 13:12

Andrea,

thanks for reporting the issue. It seems to be a side effect of the related issue (10737) which was fixed in MP8. Feel free to reopen the bug if you experience the issue again after updating to MP8.

Thanks,

Ismael

- Issue History
Date Modified Username Field Change
2009-11-20 15:15 andreaferaco New Issue
2009-11-20 15:15 andreaferaco Assigned To => rafaroda
2009-11-20 15:15 andreaferaco Issue Monitored: andreaferaco
2009-11-20 16:14 rafaroda Note Added: 0022070
2009-11-20 16:14 rafaroda Severity critical => minor
2009-11-20 16:14 rafaroda Status new => feedback
2009-11-23 12:49 iciordia Assigned To rafaroda => iciordia
2009-11-23 12:55 iciordia Relationship added related to 0010737
2009-11-23 13:12 iciordia Note Added: 0022110
2009-11-23 13:12 iciordia Status feedback => closed
2009-11-23 13:12 iciordia Duplicate ID 0 => 10737
2009-11-23 13:12 iciordia Resolution open => no change required
2009-11-24 00:00 anonymous sf_bug_id 0 => 2902804


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker