Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache Native objects clean up not work properly #991

Closed
yurem opened this issue Jan 26, 2019 · 2 comments

Comments

@yurem
Copy link
Contributor

commented Jan 26, 2019

This conditions in CleanUp service returns always false:

            if (cacheService.getCacheProvider() instanceof NativePersistenceCacheProvider) {

cacheService.getCacheProvider() here is org.xdi.service.cache.NativePersistenceCacheProvider$Proxy$_$$_WeldSubclass@f59f084. Hence it's proxy of NativePersistenceCacheProvider.

Also according to this report in 3.1.4 (I think in 3.1.5 too) in VM customers are getting this:

This is the exception: java.lang.ClassCastException: org.xdi.service.cache.CacheProvider$Proxy$_$$_WeldClientProxy cannot be cast to org.xdi.service.cache.NativePersistenceCacheProvider

This stop clean up process of all objects due to this exception in 3.1.4.

@yurem yurem added the bug label Jan 26, 2019

@yurem yurem added this to the 3.1.6 milestone Jan 26, 2019

@yurem

This comment has been minimized.

Copy link
Contributor Author

commented Jan 26, 2019

yurem added a commit to GluuFederation/oxCore that referenced this issue Jan 26, 2019

yurem added a commit to GluuFederation/oxTrust that referenced this issue Jan 26, 2019

yurem added a commit to GluuFederation/oxCore that referenced this issue Jan 26, 2019

yurem added a commit to GluuFederation/oxTrust that referenced this issue Jan 26, 2019

yurem added a commit to GluuFederation/oxTrust that referenced this issue Jan 26, 2019

yurem added a commit to GluuFederation/oxTrust that referenced this issue Jan 26, 2019

@yurem

This comment has been minimized.

Copy link
Contributor Author

commented Jan 26, 2019

Fixed

@yurem yurem closed this Jan 26, 2019

yurem added a commit to GluuFederation/oxCore that referenced this issue Feb 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.