cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lemasle" <olivier.lema...@apalia.net>
Subject Re: Review Request 23168: Update cloudstack-usage JAVA_HOME to find JRE for Java 7
Date Mon, 30 Jun 2014 15:54:47 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/23168/
-----------------------------------------------------------

(Updated June 30, 2014, 5:54 p.m.)


Review request for cloudstack and Sebastien Goasguen.


Repository: cloudstack-git


Description
-------

cloudstack-usage is currently configured to search JAVA_HOME only in a small set of paths
corresponding to Java 6 (/usr/lib/jvm/java-6-openjdk, /usr/lib/jvm/java-6-openjdk-i386, etc).

If cloudstack-usage is installed on a server with only Java 7, the service cannot start and
fails with the following error:
jsvc error: Cannot locate Java Home

This commit adds Java 7 paths to the possible set of JAVA_HOME locations.


Diffs (updated)
-----

  packaging/centos63/cloud-usage.rc e78f8c1 

Diff: https://reviews.apache.org/r/23168/diff/


Testing (updated)
-------

Package CloudStack RPMs for CentOS and install them on a system with java-1.7.0-openjdk and
no Java 6 JRE.
Check that cloudstack-usage works correctly.


Thanks,

Olivier Lemasle


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message