Bug 1215608

Summary: [GSS](6.4.z) Console does not allow adding existing jvm name to the server in domain mode.
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jay SenSharma <jsenshar>
Component: Web ConsoleAssignee: Romain Pelisse <rpelisse>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Jelinek <pjelinek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: bbaranow, bmaxwell, brian.stansberry, cdewolf, dpospisi, hpehl, jkudrnac, mcada, pjelinek, rpelisse, sjadhav
Target Milestone: CR1   
Target Release: EAP 6.4.7   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 11:56:45 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:
Bug Depends On:    
Bug Blocks: 1274291, 1279552    

Description Jay SenSharma 2015-04-27 09:30:45 UTC
Description of problem:
======================

- Even if a JVM setting (like  "Test") is created inside the "host.xml" as following the HAL console does not allow this JVM settings to be assigned to a server from console without altering the Heap settings.

{code}
    <jvms>
        <jvm name="default">
            <heap size="64m" max-size="256m"/>
            <permgen size="256m" max-size="256m"/>
            <jvm-options>
                <option value="-server"/>
            </jvm-options>
        </jvm>
        <jvm name="Test">
            <heap size="164m" max-size="1256m"/>
            <permgen size="128m" max-size="128m"/>
        </jvm>
    </jvms>
{code}

Version-Release number of selected component (if applicable):




How reproducible:
=================

Steps to Reproduce:
1.   See https://issues.jboss.org/browse/HAL-642

Comment 4 Romain Pelisse 2015-05-21 15:19:05 UTC
Here is a simple fix:

PR (on maintenance branch): https://github.com/hal/core/pull/36
PR (on master): https://github.com/hal/core/pull/37

Comment 6 JBoss JIRA Server 2015-09-18 06:19:56 UTC
Heiko Braun <ike.braun> updated the status of jira HAL-642 to Resolved

Comment 9 Pavel Jelinek 2016-02-11 12:28:17 UTC
I just verified it's already fixed in EAP 6.4.6.

Comment 14 Michael Cada 2016-03-07 11:29:38 UTC
Verified on EAP 6.4.7.CP.CR2

Comment 15 Petr Penicka 2017-01-17 11:56:45 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.