[jboss-jira] [JBoss JIRA] (WFLY-9223) fix comment formatting for "concurrent" cache in *ha.xml profiles

Brian Stansberry (JIRA) issues at jboss.org
Mon Aug 14 13:14:00 EDT 2017


    [ https://issues.jboss.org/browse/WFLY-9223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448664#comment-13448664 ] 

Brian Stansberry commented on WFLY-9223:
----------------------------------------

Please remove this commented out config.  As soon as the server persists the file for any reason, it will disappear anyway, resulting in changes to the persistent format that are unrelated to the management op the user executed.

This is why you don't see a lot of educational comments in our standard config files.

> fix comment formatting for "concurrent" cache in *ha.xml profiles
> -----------------------------------------------------------------
>
>                 Key: WFLY-9223
>                 URL: https://issues.jboss.org/browse/WFLY-9223
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 11.0.0.Beta1
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>              Labels: eap7.1-ok-for-CR1
>
> The current state (taken from standalone-ha.xml):
> {code:xml}
>             <cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">
> ...
>                 <!-- Alternate configuration to reduce lock contention for applications that make use of concurrent access to a web session -->
>                 <!-- Web sessions will be locked more frequently, but for shorter periods of time -->
>                 <!--
>                   ~ distributed-cache name="concurrent">
>                   ~                     <file-store/>
>                   ~                 </distributed-cache
>                   -->
>             </cache-container>
> {code}
> After uncommenting, the resulting text is not a valid xml file. 
> Please change it to: 
> {code:xml}
>             <cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">
> ...
>                 <!-- Alternate configuration to reduce lock contention for applications that make use of concurrent access to a web session -->
>                 <!-- Web sessions will be locked more frequently, but for shorter periods of time -->       
>                 <!-- 
>                 <distributed-cache name="concurrent">
>                     <file-store/>
>                 </distributed-cache>
>                 -->
>             </cache-container>
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list