[ http://jira.codehaus.org/browse/JIBX-108?page=all ] Dennis Sosnoski closed JIBX-108: --------------------------------
> wrong Classloader used > ---------------------- > > Key: JIBX-108 > URL: http://jira.codehaus.org/browse/JIBX-108 > Project: JiBX > Type: Bug > Versions: JiBX 1.0.1 > Environment: JBoss 4.0.4cr2 > Reporter: Bernhard Neuhauser > Assignee: Dennis Sosnoski > > > 1) deploy ear using jibx deserialisation inside > 2) undeploy the ear > 3) deploy the same ear again > Now BindingDirectory.getFactory(class) leads to the following Exception: > "java.lang.ClassNotFoundException: Invalid use of destroyed classloader" > Jibx tries to load classes from the classloader used in 1) but this > classloader is no longer valid. > The problem is a blocker for hot deployment, because the whole server needs > to be restarted to be able to deploy the ear again. > Look at jaxb2; it seems like they had the same issue: > https://jaxb.dev.java.net/faq/index.html > (Q. Why can't I cast the unmarshalled object into the generated type) > thx, > Bernhard -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ jibx-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-devs
