@Unwrap causes LocalURLClassLoader leak when re-deploying Seam projection using
Nuxeo IDE
-----------------------------------------------------------------------------------------
Key: NXIDE-122
URL: https://jira.nuxeo.com/browse/NXIDE-122
Project: Nuxeo ECM IDE
Issue Type: Bug
Reporter: Olivier Grisel
Assignee: Bogdan Stefanescu
Priority: Major
Steps to reproduce:
- create a new seam project using the IDE
- wrap a Nuxeo service as a Seam component using the @Unwrap / @Destroy
annotations
- start nuxeo server and re-deploy
Observed: do a heap dump with JVisualVM: you will see two instances of
LocalURLClassLoader instead of one
Expected: only one instance: otherwise class definitions can be
Derived problems: ClassCastException in the getAdapter method of Runtime
components that are loaded by the "wrong" classloader.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets