SMA Declarative Page Cache Management in 7.1.9
In 7.1.5 I used to be able to click Advanced > Declarative Page Cache Management > Node Pages: Clear and this would clear all node level pages on a node.
In 7.1.9 I try this and I am presented this:
When I select a node page key (of which there are more than 100) I get this:
Exception during engine invocation: com.pega.pegarules.management.internal.DeclarativePageCacheManagementAPI.ClearSharedPages
java.lang.ArrayIndexOutOfBoundsException: 1
at com.pega.pegarules.management.internal.DeclarativePageCacheManagementAPI.ClearSharedPages(DeclarativePageCacheManagementAPI.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.management.internal.MB2EngineAccess.invoke(MB2EngineAccess.java:169)
In 7.1.5 I used to be able to click Advanced > Declarative Page Cache Management > Node Pages: Clear and this would clear all node level pages on a node.
In 7.1.9 I try this and I am presented this:
When I select a node page key (of which there are more than 100) I get this:
Exception during engine invocation: com.pega.pegarules.management.internal.DeclarativePageCacheManagementAPI.ClearSharedPages
java.lang.ArrayIndexOutOfBoundsException: 1
at com.pega.pegarules.management.internal.DeclarativePageCacheManagementAPI.ClearSharedPages(DeclarativePageCacheManagementAPI.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.management.internal.MB2EngineAccess.invoke(MB2EngineAccess.java:169)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invoke_privact(EngineImpl.java:364)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.run(EngineImpl.java:349)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1259)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:828)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:795)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:323)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:240)
at com.pega.pegarules.management.internal.MBeanHelper.invokeOperation(MBeanHelper.java:77)
at com.pega.pegarules.management.internal.DeclarativePageCacheManagement.ClearSharedPages(DeclarativePageCacheManagement.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
....
The desired behavior is to click Advanced > Declarative Page Cache Management > Node Pages: Clear and have these rows show 0:
Number of Node Pages
Total Node Page Size
The alternative for us is to open each D_xx data page on each node, click Load Management, then click Clear Data Page. Because we have 8 nodes and 3 data pages this take a lot of time; if we could just use SMA to clear all Node Level Pages as we did in 7.1.5 it would greatly help us.