[jboss-jira] [JBoss JIRA] (WFLY-4378) Infinispan/JGroups subsystem check for and correct diffs in the default config we ship vs. what we persist
Radoslav Husar (JIRA)
issues at jboss.org
Tue Jun 9 11:17:07 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13076217#comment-13076217 ]
Radoslav Husar edited comment on WFLY-4378 at 6/9/15 11:17 AM:
---------------------------------------------------------------
Here are the differences as of 4872836a2dd7c16120e47a54fd258bba60eea123 (9.x branch):
{noformat}
[rhusar at x220 configuration]$ diff --ignore-all-space --ignore-blank-lines standalone_xml_history/standalone-full-ha.boot.xml standalone-full-ha.xml
1c1
< <?xml version="1.0" ?>
---
> <?xml version='1.0' encoding='UTF-8'?>
63c66
< <file-handler name="file" formatter="json-formatter" relative-to="jboss.server.data.dir" path="audit-log.log"/>
---
> <file-handler name="file" formatter="json-formatter" path="audit-log.log" relative-to="jboss.server.data.dir"/>
193d196
< <!-- A sample strict max pool configuration -->
200c203
< <cache name="distributable" aliases="passivating clustered" passivation-store-ref="infinispan"/>
---
> <cache name="distributable" passivation-store-ref="infinispan" aliases="passivating clustered"/>
228c231
< <cache-container name="server" aliases="singleton cluster" default-cache="default" module="org.wildfly.clustering.server">
---
> <cache-container name="server" default-cache="default" module="org.wildfly.clustering.server" aliases="singleton cluster">
236c239
< <distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2">
---
> <distributed-cache name="dist" mode="ASYNC" owners="2" l1-lifespan="0">
241c244
< <cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan">
---
> <cache-container name="ejb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan" aliases="sfsb">
243c246
< <distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2">
---
> <distributed-cache name="dist" mode="ASYNC" owners="2" l1-lifespan="0">
249a253,256
> <local-cache name="local-query">
> <eviction strategy="LRU" max-entries="10000"/>
> <expiration max-idle="100000"/>
> </local-cache>
255,258d261
< <local-cache name="local-query">
< <eviction strategy="LRU" max-entries="10000"/>
< <expiration max-idle="100000"/>
< </local-cache>
264c267
< <initializers transactions="spec" security="identity"/>
---
> <initializers security="identity" transactions="spec"/>
355,356c360,361
< <http-acceptor name="http-acceptor" http-listener="default"/>
< <http-acceptor name="http-acceptor-throughput" http-listener="default">
---
> <http-acceptor http-listener="default" name="http-acceptor"/>
> <http-acceptor http-listener="default" name="http-acceptor-throughput">
366c372,374
< <connector-ref>http-connector</connector-ref>
---
> <connector-ref>
> http-connector
> </connector-ref>
391d402
< <!--default for catch all-->
395d405
< <redistribution-delay>1000</redistribution-delay>
398a409
> <redistribution-delay>1000</redistribution-delay>
428d439
< <!-- Global JNDI entry used to provide a default JMS Connection factory to EE application -->
542d554
< <!-- TODO - only show this if the jacorb subsystem is added -->
544,547d555
< <!--
< ~ Used for IIOP sockets in the standard configuration.
< ~ To secure JacORB you need to setup SSL
< -->
{noformat}
was (Author: rhusar):
Here are the differences:
{noformat}
[rhusar at x220 configuration]$ diff --ignore-all-space --ignore-blank-lines standalone_xml_history/standalone-full-ha.boot.xml standalone-full-ha.xml
1c1
< <?xml version="1.0" ?>
---
> <?xml version='1.0' encoding='UTF-8'?>
63c66
< <file-handler name="file" formatter="json-formatter" relative-to="jboss.server.data.dir" path="audit-log.log"/>
---
> <file-handler name="file" formatter="json-formatter" path="audit-log.log" relative-to="jboss.server.data.dir"/>
193d196
< <!-- A sample strict max pool configuration -->
200c203
< <cache name="distributable" aliases="passivating clustered" passivation-store-ref="infinispan"/>
---
> <cache name="distributable" passivation-store-ref="infinispan" aliases="passivating clustered"/>
228c231
< <cache-container name="server" aliases="singleton cluster" default-cache="default" module="org.wildfly.clustering.server">
---
> <cache-container name="server" default-cache="default" module="org.wildfly.clustering.server" aliases="singleton cluster">
236c239
< <distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2">
---
> <distributed-cache name="dist" mode="ASYNC" owners="2" l1-lifespan="0">
241c244
< <cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan">
---
> <cache-container name="ejb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan" aliases="sfsb">
243c246
< <distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2">
---
> <distributed-cache name="dist" mode="ASYNC" owners="2" l1-lifespan="0">
249a253,256
> <local-cache name="local-query">
> <eviction strategy="LRU" max-entries="10000"/>
> <expiration max-idle="100000"/>
> </local-cache>
255,258d261
< <local-cache name="local-query">
< <eviction strategy="LRU" max-entries="10000"/>
< <expiration max-idle="100000"/>
< </local-cache>
264c267
< <initializers transactions="spec" security="identity"/>
---
> <initializers security="identity" transactions="spec"/>
355,356c360,361
< <http-acceptor name="http-acceptor" http-listener="default"/>
< <http-acceptor name="http-acceptor-throughput" http-listener="default">
---
> <http-acceptor http-listener="default" name="http-acceptor"/>
> <http-acceptor http-listener="default" name="http-acceptor-throughput">
366c372,374
< <connector-ref>http-connector</connector-ref>
---
> <connector-ref>
> http-connector
> </connector-ref>
391d402
< <!--default for catch all-->
395d405
< <redistribution-delay>1000</redistribution-delay>
398a409
> <redistribution-delay>1000</redistribution-delay>
428d439
< <!-- Global JNDI entry used to provide a default JMS Connection factory to EE application -->
542d554
< <!-- TODO - only show this if the jacorb subsystem is added -->
544,547d555
< <!--
< ~ Used for IIOP sockets in the standard configuration.
< ~ To secure JacORB you need to setup SSL
< -->
{noformat}
> Infinispan/JGroups subsystem check for and correct diffs in the default config we ship vs. what we persist
> -----------------------------------------------------------------------------------------------------------
>
> Key: WFLY-4378
> URL: https://issues.jboss.org/browse/WFLY-4378
> Project: WildFly
> Issue Type: Task
> Components: Clustering
> Affects Versions: 9.0.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 9.0.0.CR2, 10.0.0.Alpha3
>
>
> https://github.com/wildfly/wildfly/pull/7184#issuecomment-75439059
> Brian:
> {quote}Semi-tangent: could you guys check for and correct diffs in the default config we ship vs. what we persist? E.g.
> 1) Start a new server running standalone-full-ha.xml
> 2) Use cli to add a system prop (just to force persistence)
> 3) Diff standalone-full-ha.xml vs standalone/configuration/standalone_xml_history/standalone-full-ha.initial.xml
> There shouldn't be changes other than the added system prop. Any changes mean either our default configs are wrong or the marshalling is wrong. Both should match xsd. I did this for another reason a couple weeks ago and saw some changes in the clustering subsystems. Perhaps this PR fixes the problem, but I have a feeling I saw something else besides this.{quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list