You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jonathan Pomes (Jira)" <ji...@apache.org> on 2019/12/30 12:25:00 UTC

[jira] [Commented] (OPENJPA-2767) Incomplete ValueMapDiscriminatorStrategy cache

    [ https://issues.apache.org/jira/browse/OPENJPA-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005285#comment-17005285 ] 

Jonathan Pomes commented on OPENJPA-2767:
-----------------------------------------

I confirm that our environment is now stable in QA (Websphere / 10+ ear / load balancing) and no issue occurs anymore. No performance issues have been noticed either.

> Incomplete ValueMapDiscriminatorStrategy cache 
> -----------------------------------------------
>
>                 Key: OPENJPA-2767
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2767
>             Project: OpenJPA
>          Issue Type: Bug
>            Reporter: Will Dazey
>            Assignee: Will Dazey
>            Priority: Minor
>             Fix For: 2.2.3, 3.1.1
>
>         Attachments: OJ2767_2.2.x_v4.patch, OJ2767_2.2.x_v4_p2.patch
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> There exists the possibility that the discriminator class cache in ValueMapDiscriminatorStrategy was originally created before the server fully loaded all classes. If this happens, the cache is incomplete and needs to be rebuilt. A simple enough strategy would be to just try rebuilding the cache, before giving up and throwing a CNFE, and check again.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)