[
https://issues.apache.org/jira/browse/ISIS-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16283014#comment-16283014
]
Andi Huber commented on ISIS-1756:
----------------------------------
We have a solution now, but it requires reflection to access a private field of
DataNucleus' EnhancementHelper class.
Anyway, I do believe, that I have found the root cause of any class-loading
issues I had on Payara. Ultimately the problem seems, that EnhancementHelper
keeps static references to domain classes which survive deploy/undeploy cycles.
But it provides no means of clearing its state. Hence we have to resort to
reflection. (yet)
> JEE Support - IsisContext requires proper lifecycling.
> ------------------------------------------------------
>
> Key: ISIS-1756
> URL: https://issues.apache.org/jira/browse/ISIS-1756
> Project: Isis
> Issue Type: Improvement
> Affects Versions: 1.15.1
> Reporter: Dan Haywood
> Assignee: Andi Huber
> Fix For: 2.0.0
>
>
> as per
> https://lists.apache.org/thread.html/a815c6d3e50c02111d0cd3df93b70b529c18193f321e613b116119b4@%3Cdev.isis.apache.org%3E
> The isis-context needs a proper lifecycling, meaning a deploy/undeploy cycle
> should properly invalidate any state. (e.g meta model validation is currently
> not cleared after an undeploy, in my case after calling
> IsisContext.testReset())
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)