Community
Participate
Working Groups
Build Identifier: 20100917-0705 Thread synchronization is brocken in commonarchive. See Visual VM Thread dump waiting for org.eclipse.emf.ecore.plugin.RegistryReader$EPackageDescriptor.getEPackage(RegistryReader.java:274) but never coming back because of thread deadlock. Fix need to be analog to jst.j2ee https://bugs.eclipse.org/bugs/show_bug.cgi?id=315286 Reproducible: Always Steps to Reproduce: 1. Start an Eclipse with several EJB Projects 2. Sometimes Validators won't finish because they wait for each other.
Created attachment 181718 [details] Thread Dump from VisualVM
Seems unrelated to Eclipse's generic IDE support.
The commonarchive EMF model needs to access the legacy J2EE EMF models in the same way as bug 315286.
Created attachment 184295 [details] Same deadlock fix as j2ee models
This fix uses the J2EEInit.initEMFModels() to properly initialize the j2ee EMF models in order, and uses the same lock during initializePackageContents() to prevent re-entrance there. I have run the entire J2EE JUnit bucket against this fix.
Created attachment 184299 [details] Fix LooseconfigPackageImpl, too
approved
Committed to R3_2_maintenance and HEAD for WTP 3.2.3 and WTP 3.3