Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 860329

Summary: Specify required JVM setup for alternatives.
Product: Red Hat Enterprise Virtualization Manager Reporter: Stephen Gordon <sgordon>
Component: DocumentationAssignee: Stephen Gordon <sgordon>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, dyasny, gklein, yeylon
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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 17:28:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stephen Gordon 2012-09-25 15:46:55 UTC
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 16:22:19 UTC
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 16:45:17 UTC
Topic 7519, revision 292008.

Comment 3 Stephen Gordon 2012-09-26 22:42:51 UTC
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 12:49:12 UTC
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.