[JBoss JIRA] (ISPN-10428) [9.4.x] File Store Examples
by Donald Naro (Jira)
[ https://issues.redhat.com/browse/ISPN-10428?page=com.atlassian.jira.plugi... ]
Donald Naro updated ISPN-10428:
-------------------------------
Summary: [9.4.x] File Store Examples (was: 7.3 Docs: Document declarative configuration of file-stores)
> [9.4.x] File Store Examples
> ---------------------------
>
> Key: ISPN-10428
> URL: https://issues.redhat.com/browse/ISPN-10428
> Project: Infinispan
> Issue Type: Enhancement
> Components: Documentation
> Environment: XSD
> jboss-infinispan-core*.xsd
> infinispan-config*.xsd
> Reporter: Wolf-Dieter Fink
> Assignee: Donald Naro
> Priority: Minor
>
> Embedded and server mode are using a different configuration for file-store
> embedded : infinispan-config*
> {code}
> </xs:attribute>
> <xs:attribute name="relative-to" type="xs:string">
> <xs:annotation><xs:documentation>Unused XML attribute</xs:documentation></xs:annotation>
> </xs:attribute>
> <xs:attribute name="path" type="xs:string">
> <xs:annotation>
> <xs:documentation>
> The path within "relative-to" in which to store the cache state.
> If undefined, the path defaults to the cache container name.
> </xs:documentation>
> </xs:annotation>
> </xs:attribute>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
> {code}
> Here the relative-to is not used but referenced for path.
> But path is used relative to PWD if it is not an absolute one, also if defaults to 'Infinispan-SingleFileStore' if not set.
> For the server configuration it is
> {code}
> <xs:attribute name="relative-to" type="xs:string" default="jboss.server.data.dir">
> <xs:annotation>
> <xs:documentation>The base directory in which to store the cache state.</xs:documentation>
> </xs:annotation>
> </xs:attribute>
> <xs:attribute name="path" type="xs:string">
> <xs:annotation>
> <xs:documentation>
> The path within "relative-to" in which to store the cache state.
> If undefined, the path defaults to the cache container name.
> </xs:documentation>
> </xs:annotation>
> </xs:attribute>
> {code}
> But relative-to is a reference to a path declaration like this
> {code}
> <paths>
> <path name="my.dir" path="/MyCacheStore"/>
> </paths>
> ...
> <distributed-cache name="wolf">
> <persistence>
> <file-store shared="false" fetch-state="true" relative-to="my.dir"/>
> </persistence>
> </distributed-cache>
> {code}
> If relative-to is set to a real path or env variable the server start will fail with
> {code}
> ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.datagrid-infinispan.clustered.wolf.config: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan.clustered.wolf.config: Failed to start service
> ...
> Caused by: java.lang.IllegalArgumentException: WFLYCTL0256: Could not find a path called '/MyCacheStore'
> at org.jboss.as.controller.services.path.PathManagerService.resolveRelativePathEntry(PathManagerService.java:110)
> at org.jboss.as.clustering.infinispan.subsystem.CacheConfigurationAdd$5.inject(CacheConfigurationAdd.java:765)
> at org.jboss.as.clustering.infinispan.subsystem.CacheConfigurationAdd$5.inject(CacheConfigurationAdd.java:760)
> at org.jboss.msc.inject.CastingInjector.inject(CastingInjector.java:58)
> at org.jboss.msc.service.ServiceControllerImpl.inject(ServiceControllerImpl.java:1517)
> at org.jboss.msc.service.ServiceControllerImpl.inject(ServiceControllerImpl.java:1503)
> at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:55)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1699)
> ... 6 more
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (ISPN-10428) 7.3 Docs: Document declarative configuration of file-stores
by Donald Naro (Jira)
[ https://issues.redhat.com/browse/ISPN-10428?page=com.atlassian.jira.plugi... ]
Donald Naro reopened ISPN-10428:
--------------------------------
> 7.3 Docs: Document declarative configuration of file-stores
> -----------------------------------------------------------
>
> Key: ISPN-10428
> URL: https://issues.redhat.com/browse/ISPN-10428
> Project: Infinispan
> Issue Type: Enhancement
> Components: Documentation
> Environment: XSD
> jboss-infinispan-core*.xsd
> infinispan-config*.xsd
> Reporter: Wolf-Dieter Fink
> Assignee: Donald Naro
> Priority: Minor
>
> Embedded and server mode are using a different configuration for file-store
> embedded : infinispan-config*
> {code}
> </xs:attribute>
> <xs:attribute name="relative-to" type="xs:string">
> <xs:annotation><xs:documentation>Unused XML attribute</xs:documentation></xs:annotation>
> </xs:attribute>
> <xs:attribute name="path" type="xs:string">
> <xs:annotation>
> <xs:documentation>
> The path within "relative-to" in which to store the cache state.
> If undefined, the path defaults to the cache container name.
> </xs:documentation>
> </xs:annotation>
> </xs:attribute>
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
> {code}
> Here the relative-to is not used but referenced for path.
> But path is used relative to PWD if it is not an absolute one, also if defaults to 'Infinispan-SingleFileStore' if not set.
> For the server configuration it is
> {code}
> <xs:attribute name="relative-to" type="xs:string" default="jboss.server.data.dir">
> <xs:annotation>
> <xs:documentation>The base directory in which to store the cache state.</xs:documentation>
> </xs:annotation>
> </xs:attribute>
> <xs:attribute name="path" type="xs:string">
> <xs:annotation>
> <xs:documentation>
> The path within "relative-to" in which to store the cache state.
> If undefined, the path defaults to the cache container name.
> </xs:documentation>
> </xs:annotation>
> </xs:attribute>
> {code}
> But relative-to is a reference to a path declaration like this
> {code}
> <paths>
> <path name="my.dir" path="/MyCacheStore"/>
> </paths>
> ...
> <distributed-cache name="wolf">
> <persistence>
> <file-store shared="false" fetch-state="true" relative-to="my.dir"/>
> </persistence>
> </distributed-cache>
> {code}
> If relative-to is set to a real path or env variable the server start will fail with
> {code}
> ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.datagrid-infinispan.clustered.wolf.config: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan.clustered.wolf.config: Failed to start service
> ...
> Caused by: java.lang.IllegalArgumentException: WFLYCTL0256: Could not find a path called '/MyCacheStore'
> at org.jboss.as.controller.services.path.PathManagerService.resolveRelativePathEntry(PathManagerService.java:110)
> at org.jboss.as.clustering.infinispan.subsystem.CacheConfigurationAdd$5.inject(CacheConfigurationAdd.java:765)
> at org.jboss.as.clustering.infinispan.subsystem.CacheConfigurationAdd$5.inject(CacheConfigurationAdd.java:760)
> at org.jboss.msc.inject.CastingInjector.inject(CastingInjector.java:58)
> at org.jboss.msc.service.ServiceControllerImpl.inject(ServiceControllerImpl.java:1517)
> at org.jboss.msc.service.ServiceControllerImpl.inject(ServiceControllerImpl.java:1503)
> at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:55)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1699)
> ... 6 more
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (ISPN-11639) [9.4.x] CLI Start/Stop Endpoint Connectors
by Donald Naro (Jira)
Donald Naro created ISPN-11639:
----------------------------------
Summary: [9.4.x] CLI Start/Stop Endpoint Connectors
Key: ISPN-11639
URL: https://issues.redhat.com/browse/ISPN-11639
Project: Infinispan
Issue Type: Enhancement
Components: Documentation
Affects Versions: 9.4.17.Final
Reporter: Donald Naro
Assignee: Donald Naro
Update User Guide with clear examples for file-store and explain that relative-to is ignored with embedded but takes effect in server.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (ISPN-11638) [9.4.x] File Store Examples
by Donald Naro (Jira)
Donald Naro created ISPN-11638:
----------------------------------
Summary: [9.4.x] File Store Examples
Key: ISPN-11638
URL: https://issues.redhat.com/browse/ISPN-11638
Project: Infinispan
Issue Type: Enhancement
Components: Documentation
Affects Versions: 9.4.17.Final
Reporter: Donald Naro
Assignee: Donald Naro
Several minor/trivial documentation updates for issues in downstream 7.3.6:
- Update User Guide troubleshooting to include details on running under Security Manager
- Typo in CLI script in User Guide
- Server Guide mentions websocket endpoint
- Rocks DB example causes harmless WARN messages in server logs
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (ISPN-11638) [9.4.x] File Store Examples
by Donald Naro (Jira)
[ https://issues.redhat.com/browse/ISPN-11638?page=com.atlassian.jira.plugi... ]
Donald Naro updated ISPN-11638:
-------------------------------
Description: Update User Guide with clear examples for file-store and explain that relative-to is ignored with embedded but takes effect in server. (was: Several minor/trivial documentation updates for issues in downstream 7.3.6:
- Update User Guide troubleshooting to include details on running under Security Manager
- Typo in CLI script in User Guide
- Server Guide mentions websocket endpoint
- Rocks DB example causes harmless WARN messages in server logs)
> [9.4.x] File Store Examples
> ---------------------------
>
> Key: ISPN-11638
> URL: https://issues.redhat.com/browse/ISPN-11638
> Project: Infinispan
> Issue Type: Enhancement
> Components: Documentation
> Affects Versions: 9.4.17.Final
> Reporter: Donald Naro
> Assignee: Donald Naro
> Priority: Major
>
> Update User Guide with clear examples for file-store and explain that relative-to is ignored with embedded but takes effect in server.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (ISPN-11637) [9.4.x] Documentation Updates
by Donald Naro (Jira)
Donald Naro created ISPN-11637:
----------------------------------
Summary: [9.4.x] Documentation Updates
Key: ISPN-11637
URL: https://issues.redhat.com/browse/ISPN-11637
Project: Infinispan
Issue Type: Enhancement
Components: Documentation
Affects Versions: 9.4.17.Final
Reporter: Donald Naro
Assignee: Donald Naro
Several minor/trivial documentation updates for issues in downstream 7.3.6:
- Update User Guide troubleshooting to include details on running under Security Manager
- Typo in CLI script in User Guide
- Server Guide mentions websocket endpoint
- Rocks DB example causes harmless WARN messages in server logs
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (ISPN-11609) StateTransferOverwritingValueTest.testBackupOwnerJoiningDuringPut[SCATTERED_SYNC] random failures
by Will Burns (Jira)
[ https://issues.redhat.com/browse/ISPN-11609?page=com.atlassian.jira.plugi... ]
Will Burns updated ISPN-11609:
------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 11.0.0.Dev05
(was: 11.0.0.Final)
Resolution: Done
> StateTransferOverwritingValueTest.testBackupOwnerJoiningDuringPut[SCATTERED_SYNC] random failures
> -------------------------------------------------------------------------------------------------
>
> Key: ISPN-11609
> URL: https://issues.redhat.com/browse/ISPN-11609
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite
> Affects Versions: 11.0.0.Dev03
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.0.Dev05
>
>
> {noformat}
> java.util.concurrent.TimeoutException: Timed out waiting for event pre_rebalance_confirmation_2_from_StateTransferOverwritingValueTest-NodeB
> at org.infinispan.test.fwk.CheckPoint.awaitStrict(CheckPoint.java:50)
> at org.infinispan.test.fwk.CheckPoint.awaitStrict(CheckPoint.java:40)
> at org.infinispan.distribution.rehash.StateTransferOverwritingValueTest.doTest(StateTransferOverwritingValueTest.java:201)
> at org.infinispan.distribution.rehash.StateTransferOverwritingValueTest.testBackupOwnerJoiningDuringPut(StateTransferOverwritingValueTest.java:96)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months