Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010235Openbravo ERPA. Platformpublic2009-08-11 12:032009-12-11 00:00
Kentarion 
jpabloae 
urgentminoralways
closedfixed 
20rPath Linux
2.50MP3 
2.50MP10 
Core
No
0010235: ant diagnostic failed - ubuntu jaunty CUSTOM installation
custom installation on ubuntu - after installation (build successful)

ant diagnostic shows this:
Buildfile: build.xml

diagnostic:

clean:
    [mkdir] Created dir: /opt/OpenbravoERP/src-diagnostics/build/classes
     [copy] Copying 1 file to /opt/OpenbravoERP/src-diagnostics/config
     [copy] Copying 2 files to /opt/OpenbravoERP/src-diagnostics/WebContent/WEB-INF

build:
     [copy] Copying 66 files to /opt/OpenbravoERP/src-diagnostics/WebContent/WEB-INF/lib
    [javac] Compiling 14 source files to /opt/OpenbravoERP/src-diagnostics/build/classes

check.all:

check.permissions:

check.properties.configuration:

check.properties:
     [echo] Checking for Openbravo.properties file...
     [echo] Openbravo.properties file OK
     [echo] Checking for source.path in Openbravo.properties file...
     [echo] source.path OK

check.log4j:
     [echo] Checking for log4j.lcf file...
     [echo] log4j.lcf file OK

check.environment.variables:
 [checkEnv] log4j:WARN No appenders could be found for logger (org.openbravo.task.CheckEnvironmentVariables).
 [checkEnv] log4j:WARN Please initialize the log4j system properly.

check.db:
  [checkDB] log4j:WARN No appenders could be found for logger (org.openbravo.task.CheckDB).
  [checkDB] log4j:WARN Please initialize the log4j system properly.

BUILD FAILED
/opt/OpenbravoERP/build.xml:787: The following error occurred while executing this line:
/opt/OpenbravoERP/src-diagnostics/build.xml:55: The following error occurred while executing this line:
/opt/OpenbravoERP/src-diagnostics/build.xml:125: PostgreSQL contrib package seems not to be installed
Tip: check http://wiki.openbravo.com/wiki/Development_Stack_Setup#PostgreSQL [^]


the contrib pack has been installed (with apt-get install postgresql-contrib-8.3)

1. delete all (purge remove)
2. install enviroment (postgres8.3/tomcat6)
3. unpack openbravo pack / prepare for install (config etc)
4. ant install.source
5. vacuumdb ...
6. ant diagnostic
No tags attached.
related to defect 0009064 closed alostale Duplicate primary key in table AD_Element_Trl - Installing Spanish Translation Module 
Issue History
2009-08-11 12:03KentarionNew Issue
2009-08-11 12:03KentarionAssigned To => rafaroda
2009-08-18 00:03MerceanCoconutNote Added: 0018980
2009-08-18 00:04MerceanCoconutIssue Monitored: MerceanCoconut
2009-08-18 15:25rafarodaNote Added: 0019009
2009-08-18 15:25rafarodaAssigned Torafaroda => jpabloae
2009-08-18 15:25rafarodaStatusnew => acknowledged
2009-08-25 12:32jpabloaeAssigned Tojpabloae => gorka_gil
2009-08-31 08:33rafarodaNote Added: 0019299
2009-08-31 12:28gorka_gilAssigned Togorka_gil => alostale
2009-08-31 12:30gorka_gilNote Added: 0019330
2009-11-04 06:44andrebrownIssue Monitored: andrebrown
2009-11-04 06:45andrebrownNote Added: 0021544
2009-11-04 06:48andrebrownNote Edited: 0021544
2009-11-12 13:38rafarodaRelationship addedrelated to 0009064
2009-11-12 13:38rafarodaIssue Monitored: rafaroda
2009-11-13 08:20alostalePrioritynormal => urgent
2009-11-13 08:20alostaleStatusacknowledged => scheduled
2009-11-13 08:20alostalefix_in_branch => pi
2009-12-03 13:13hgbotCheckin
2009-12-03 13:13hgbotNote Added: 0022401
2009-12-03 13:13hgbotStatusscheduled => resolved
2009-12-03 13:13hgbotResolutionopen => fixed
2009-12-03 13:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/584dee7f6bfbede6f5699422593b3d0374733792 [^]
2009-12-03 13:13jpabloaeAssigned Toalostale => jpabloae
2009-12-10 13:45jpabloaeNote Added: 0022639
2009-12-10 13:45jpabloaeStatusresolved => closed
2009-12-10 13:45jpabloaeFixed in Version => 2.50MP10
2009-12-11 00:00anonymoussf_bug_id0 => 2912309

Notes
(0018980)
MerceanCoconut   
2009-08-18 00:03   
I have the same problem on a Debian 64-bit installation. 'ant diagnostic' passed for the same installation procedure on 2.50, but not on MP3.
(0019009)
rafaroda   
2009-08-18 15:25   
Juan Pablo,

Can we determine whether this is an issue with the Ubuntu installation or a problem in ant diagnostic task? If it is this second case, please re-assign this issue to alostale.

Thanks.
(0019299)
rafaroda   
2009-08-31 08:33   
Reminder sent to: gorka_gil

Hi Gorka,

Can you please provide feedback on this issue; is it a problem with the Ubuntu installation or with ant diagnostics task?

Thanks.
(0019330)
gorka_gil   
2009-08-31 12:30   
Asier,

Have you change something in the ant diagnostic?
(0021544)
andrebrown   
2009-11-04 06:45   
(edited on: 2009-11-04 06:48)
I have encountered this problem as well. I'm attempting an Ubuntu 9.10 custom installation. The build passes, but the diagnostic fails with the same error as above.

I did a search and found similar issues that are all Tomcat related, having to do with the log4j properties file being missing from the classpath (http://activemq.apache.org/log4j-warn-no-appenders-could-be-found-for-logger.html [^]).

(0022401)
hgbot   
2009-12-03 13:13   
Repository: erp/devel/pi
Changeset: 584dee7f6bfbede6f5699422593b3d0374733792
Author: Juan Pablo Aroztegi <juanpablo.aroztegi <at> openbravo.com>
Date: Thu Dec 03 13:00:47 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/584dee7f6bfbede6f5699422593b3d0374733792 [^]

Fixes 10235, related to issues 9064: adapt diagnostic tool to new uuid_v4

---
M src-diagnostics/src/org/openbravo/task/CheckDB.java
---
(0022639)
jpabloae   
2009-12-10 13:45   
Verified.