Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 860329 - Specify required JVM setup for alternatives.
Specify required JVM setup for alternatives.
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation (Show other bugs)
3.1.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Stephen Gordon
ecs-bugs
: Documentation
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-25 11:46 EDT by Stephen Gordon
Modified: 2014-03-25 03:12 EDT (History)
4 users (show)

See Also:
Fixed In Version: Red_Hat_Enterprise_Virtualization-Installation_Guide-3.1-web-en-US-3.1.0-10.el6eng
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-12-04 12:28:18 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stephen Gordon 2012-09-25 11:46:55 EDT
Description of problem:

A few lucky winners have been trying to run the beta on setups where the alternatives setup for java points to the Oracle or IBM JVMs. We are only supporting running on openjdk's JVM.

This will be dragged in by default when users 'yum install rhevm' but that doesn't mean that their alternatives setup will point to it. If they had previously installed a different JVM and pointed at it in alternatives then they need to change the alternatives config.

I think the required edit here is an optional step or admonition under the 'yum install rhevm' instruction detailing how to ensure the alternatives setup is pointing at the correct JVM.
Comment 1 Stephen Gordon 2012-09-26 12:22:19 EDT
Easiest solution seems to be to run:

/usr/sbin/alternatives --config java

This presents a list of installed JVMs to choose from. Turns out this is pretty important. On my RHEL 6.3 system which was originally 6.2 I found that I had both openjdk6 and openjdk7 installed and openjdk6 was still selected by default. This isn't a supported configuration for RHEVM 3.1.
Comment 2 Stephen Gordon 2012-09-26 12:45:17 EDT
Topic 7519, revision 292008.
Comment 3 Stephen Gordon 2012-09-26 18:42:51 EDT
Looks like there was an error in the XML saved in revision 292008. I've updated it but will need to re-stage.
Comment 4 Stephen Gordon 2012-09-27 08:49:12 EDT
Ok talking to engineering this needs to be revised anyway. Code is being added to rhevm-setup that will forcefully set the JVM to be used for RHEVM.

Note You need to log in before you can comment on or make changes to this bug.