Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011523 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo Deployment Options] Ubuntu package | major | always | 2009-11-27 10:30 | 2011-11-24 16:46 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | gorka_gil | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_16 | |||
OS Version | Community Appliance | Database version | 8.3.8 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
Support ticket | ||||||||
OBNetwork customer | OBPS | |||||||
Summary | 0011523: error when install Openbravo ERP with apt-get and exists the openbravo's user previously | |||||||
Description | when install Openbravo ERP with apt-get, and exists the openbravo's user previously, error is returned: BUILD FAILED /opt/OpenbravoERP-2.50/openbravo-erp/build.xml:213: The environment variable JAVA_HOME is not set. Total time: 0 seconds | |||||||
Steps To Reproduce | . create openbravo user . execute "sudo apt-get install openbravo-erp" | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0022222) gorka_gil (administrator) 2009-11-27 10:36 |
When the user openbravo exists previously to install openbravo-erp package, the /home/openbravo/.profile file is not updated with the global variables needed. The workaround is execute this: sed -i 's/umask\ 022/umask\ 002/g' /home/openbravo/.profile echo 'export ANT_OPTS="-Xmx1024M -XX:MaxPermSize=128M"' >> /home/openbravo/.profile echo 'export CATALINA_HOME=/usr/share/tomcat6' >> /home/openbravo/.profile echo 'export CATALINA_BASE=/opt/OpenbravoERP-2.50/tomcat' >> /home/openbravo/.profile echo 'export JAVA_HOME=/usr/lib/jvm/java-6-sun' >> /home/openbravo/.profile echo 'export CATALINA_OPTS="-Djava.awt.headless=true -Xms384M -Xmx1024M -XX:MaxPermSize=256M"' >> /home/openbravo/.profile |
![]() |
|||
Date Modified | Username | Field | Change |
2009-11-27 10:30 | networkb | New Issue | |
2009-11-27 10:30 | networkb | Assigned To | => jpabloae |
2009-11-27 10:30 | networkb | OBNetwork customer | => Yes |
2009-11-27 10:33 | gorka_gil | Assigned To | jpabloae => gorka_gil |
2009-11-27 10:33 | gorka_gil | Status | new => scheduled |
2009-11-27 10:33 | gorka_gil | fix_in_branch | => pi |
2009-11-27 10:36 | gorka_gil | Note Added: 0022222 | |
2009-11-27 10:36 | gorka_gil | Status | scheduled => resolved |
2009-11-27 10:36 | gorka_gil | Resolution | open => fixed |
2011-11-24 16:46 | gorka_gil | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |