cloudstack-dev mailing list archives

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

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

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
-----

  usage/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-usage.in cb5beb5 
  usage/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-usage.in cb5beb5 
  usage/distro/opensuse/SYSCONFDIR/init.d/cloud-usage.in f968263 
  usage/distro/rhel/SYSCONFDIR/rc.d/init.d/cloud-usage.in cb5beb5 
  usage/distro/sles/SYSCONFDIR/init.d/cloud-usage.in f968263 
  usage/distro/ubuntu/SYSCONFDIR/init.d/cloud-usage.in f968263 

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


Testing
-------


Thanks,

Olivier Lemasle


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