Bug 1022109

Summary: Don't use spaces in default configuration values for Infinispan
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Francisco Canas <fcanas>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: low Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: fcanas, thauser
Target Milestone: CR1   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:13:57 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:

Description Petr Kremensky 2013-10-22 15:44:37 UTC
Description of problem:
 Default values for infinispan contain spaces. We should remove them as they are ignored anyway.

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

How reproducible:
 Always

Steps to Reproduce:
 1. Run gui installer, go to Post-install Configuration screen using default values.
 2. Select to install Infinispan Cache
 3. Observe values on Infinispan screen

Actual results:
Infinispan Name = "jboss eap"
JNDI Name = "java:jboss/infinispan/jboss eap"
Local Cache Name = "jboss eapCache"

Expected results:
Infinispan Name = "jbosseap"
JNDI Name = "java:jboss/infinispan/jbosseap"
Local Cache Name = "jbosseap-cache"

Additional info:
 - This should be fixed also for console installer
Current values passed by installer in CLI commands:
Infinispan Name = "jbosseap"
JNDI Name = "java:jboss/infinispan/jboss eap"
Local Cache Name = "jbosseapCache"

standalone.xml snipped using current default values:
<cache-container name="jbosseap" jndi-name="java:jboss/infinispan/jbosseap">
    <local-cache name="jbosseapCache">
        <transaction mode="NONE"/>
        <eviction strategy="NONE" max-entries="50000"/>
        <expiration max-idle="100000"/>
    </local-cache>
</cache-container>

Comment 1 Francisco Canas 2013-10-22 17:08:15 UTC
I've changed the default values as noted above.

See:
http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2&id=12f214f47d1c591402c9383130ab75e92b3ba436

Comment 2 Petr Kremensky 2013-11-15 08:18:15 UTC
Verified on EAP 6.2.0.CR1 installer.