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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010496
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Deployment Options] Ubuntu packagemajoralways2009-09-05 15:282011-11-24 16:46
ReporterkenzoView Statuspublic 
Assigned Togorka_gil 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionNA
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6
OS VersionUbuntu 9.04Database versionAnt version1.7
Product VersionSCM revision14287 
Merge Request Status
Review Assigned To
Support ticket
OBNetwork customerNo
Summary

0010496: OB 2.50MP5 fails to install as obx with Openbravo-ERP Ubuntu Native

DescriptionWith a fresh Openbravo ERP Ubuntu edition one cannot install the MP5 obx upgrade.

There is a JAVA HOME settings problem.
Steps To Reproduce1. Install fresh version of Opebravo Ubuntu edition.
2. Download MP5.obx
3. Install as module
4. See error message.
*****ERROR MESSAGE*****
Caused by: /opt/OpenbravoERP-2.50/openbravo-erp/src-db/build.xml:42: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-sun-1.6.0.14/jre"
****END OF MESSAGE SEE LOG FILE FOR MORE*****


Here is my default /etc/environment settings.

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
ANT_HOME="/usr/share/ant"
ANT_OPTS="-Xmx1024M -XX:MaxPermSize=128M"
JAVA_OPTS="-Djava.awt.headless=true -Xms384M -Xmx785M -XX:MaxPermSize=512M"
JAVA_HOME="/usr/lib/jvm/java-6-sun"

KETTLE_HOME=$HOME





TagsNo tags attached.
Attached Filestxt file icon mp5_errorlog.txt [^] (19,629 bytes) 2009-09-05 15:28 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0021912)
gorka_gil (administrator)
2009-11-17 11:16

The problem was that don't found tools.jar library, this is because the tomcat ignores the $CATALINA_BASE/lib directory:
https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/324212 [^]

The workaround is place the tool.jar library in $CATALINA_HOME/lib:

sudo ln -s /usr/lib/jvm/java-6-sun/lib/tools.jar /usr/share/tomcat6/lib/tools.jar
sudo /etc/init.d/openbravo-erp-tomcat restart

- Issue History
Date Modified Username Field Change
2009-09-05 15:28 kenzo New Issue
2009-09-05 15:28 kenzo Assigned To => rafaroda
2009-09-05 15:28 kenzo File Added: mp5_errorlog.txt
2009-09-14 13:50 psarobe OBNetwork customer => No
2009-09-14 13:50 psarobe Assigned To rafaroda => jpabloae
2009-09-14 13:50 psarobe Priority normal => urgent
2009-09-14 13:50 psarobe Status new => scheduled
2009-09-14 14:00 jpabloae Assigned To jpabloae => gorka_gil
2009-09-16 18:59 ExtraSRL Issue Monitored: ExtraSRL
2009-11-17 11:16 gorka_gil Note Added: 0021912
2009-11-17 11:16 gorka_gil Status scheduled => resolved
2009-11-17 11:16 gorka_gil Fixed in SCM revision => NA
2009-11-17 11:16 gorka_gil Resolution open => fixed
2009-11-20 11:40 gorka_gil Project Openbravo ERP => Openbravo Deployment Options
2009-11-20 11:41 gorka_gil Category A. Platform => Ubuntu package
2009-11-20 11:41 gorka_gil version 2.50MP4 =>
2011-11-24 16:46 gorka_gil Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker