Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 228631

AccessControlException when running gemfire upgrade-disk-store

$
0
0
Hi,

We saw this warning in GF logs when trying to upgrade the disk store from 6.6.x to GF7.0.0.2:
java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register)        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)        at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1824)        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:310)        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)        at com.gemstone.gemfire.management.internal.MBeanJMXAdapter.registerMBean(MBeanJMXAdapter.java:103)        at com.gemstone.gemfire.management.internal.SystemManagementService.registerInternalMBean(SystemManagementService.java:384)        at com.gemstone.gemfire.management.internal.beans.ManagementAdapter.handleCacheCreation(ManagementAdapter.java:162)        at com.gemstone.gemfire.management.internal.beans.ManagementListener.handleEvent(ManagementListener.java:105)        at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.notifyResourceEventListeners(InternalDistributedSystem.java:2087)        at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.handleResourceEvent(InternalDistributedSystem.java:424)        at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.init(GemFireCacheImpl.java:819)        at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:609)        at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:182)        at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:161)        at com.gemstone.gemfire.internal.cache.DiskStoreImpl.createForOffline(DiskStoreImpl.java:5013)        at com.gemstone.gemfire.internal.cache.DiskStoreImpl.offlineCompact(DiskStoreImpl.java:5100)        at com.gemstone.gemfire.internal.SystemAdmin.upgradeDiskStore(SystemAdmin.java:442)        at com.gemstone.gemfire.internal.SystemAdmin.invoke(SystemAdmin.java:2139)        at com.gemstone.gemfire.internal.SystemAdmin.main(SystemAdmin.java:1960)

 

No other errors/warnings seen in logs and the disk store is not upgraded as the peer startup confirms:

java.lang.IllegalStateException: This disk store is still at version GFE pre-7.0.        at com.gemstone.gemfire.internal.cache.DiskStoreImpl.loadFiles(DiskStoreImpl.java:2121)

I'm not sure if disk store upgrade fails because of this or not.
Are we supposed to mock around with security policy? Is this known issue?

 

Thanks


Viewing all articles
Browse latest Browse all 228631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>