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

Reply via email to