Created attachment 745732 [details] Server log Description of problem: CDI portable extensions fail to deploy if the extension class is invalid -- has a dependency on a class unavailable to the classloader. Note: In ER5, the extension would deploy with just a warning from Weld. Note: This commit https://github.com/weld/core/commit/34bcce3f does not fix the extension deployment error. The problem seems to be in the AS/Weld integration. Possible workaround is to catch the LinkageError in org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor, as in https://github.com/rsmeral/jboss-as/commit/014c5bbb. Version-Release number of selected component (if applicable): 6.1.0.ER6 How reproducible: Deploy the attached reproducer. Actual results: The deployment fails with an error (LinkageError). Expected results: The archive deploys with a warning.
Comment on attachment 745732 [details] Server log First AS run: ER7 Second run: ER7 patched: https://github.com/rsmeral/jboss-as/commit/014c5bbb
Created attachment 745734 [details] Reproducer
Pull Request: https://github.com/jbossas/jboss-eap/pull/147 Upstream PR: https://github.com/wildfly/wildfly/pull/4489
This one was missed in 6.1.1 planning, thus moving it to 6.2.0.
Verified on 6.2.0.ER1.