Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
overridden persistence defaults still being displayed

I believe the values in bold below are the default paths. I have overridden those using -D<blah> and my overrides are working but still the defaults get displayed here.
Cache Configuration: orders
SchemeName: orders-scheme
AutoStart: true
ServiceName: DistributedOrdersCacheService
ServiceDependencies
EventDispatcherThreadPriority: 10
ThreadPriority: 10
WorkerThreadsMax: 2147483647
WorkerThreadsMin: 1
WorkerPriority: 5
ActionPolicyBuilder
RulesArray (ArrayList of QuorumRule)
[0]
RuleElementName: distribution-quorum
RuleMask: 1
[1]
RuleElementName: restore-quorum
RuleMask: 2
[2]
RuleElementName: recover-quorum
RuleMask: 16
[3]
RuleElementName: read-quorum
RuleMask: 4
[4]
RuleElementName: write-quorum
RuleMask: 8
Backups: 1
DistributionAggressiveness: 20
DistributionSynchronized: true
Partitions: 257
BldrsPartitionListener
AssignmentStrategyBuilder
Strategy: simple
TransferThreshold: 524288
DepsPersistence
PersistenceBuilder: Mode: active
Active Location: /home/andrew/coherence/active
Snapshot Location:/home/andrew/coherence/snapshots
Trash Location:/home/andrew/coherence/trash
FailureMode: 1
StrictPartitioning: true
ListenerBuilder (ClassScheme)
CustomBuilder
FactoryClassName: OrderAddTrigger
FactoryMethodName: createTriggerListener
MethodParametersList
BackingMapScheme
InnerScheme (LocalScheme)
UnitFactor: 1
Best Answer
-
Make sure you set those properties in your client as well.
I think it is just the client displaying the default values, but they are not used as its storage-dsiabled.
Please confirm.
Thanks
Answers
-
Would you mind confirming the properties you used?
-
in the cache-config's <distributed-scheme> I have:
<persistence>
<environment>default-active</environment>
<active-failure-mode>stop-persistence</active-failure-mode>
</persistence>
default-active provides the following, which I set and I know they're working because the files are written to these paths
-Dcoherence.distributed.persistence.active.dir=/opt/coherence/store/active/"
-Dcoherence.distributed.persistence.snapshot.dir=/opt/coherence/store/snapshot"
-Dcoherence.distributed.persistence.trash.dir=/opt/coherence/store/trash"
Seems like the cache status display that's shown when coherence-console selects a cache is just showing the defaults which I've overridden successfully. Nothing is being written in those default paths (/home/$USER/coherence/*). The paths don't even get created now that I overrode their values.
-
Make sure you set those properties in your client as well.
I think it is just the client displaying the default values, but they are not used as its storage-dsiabled.
Please confirm.
Thanks
-
Yes that was it. Thanks!