Upgrading Weld in JBoss AS
The Liferay Portal 6.1 JBoss AS bundle ships with JBoss AS 7.1.1 which comes with Weld 1.1.5.Final in the global classpath. In order to upgrade Weld in JBoss AS, you will need to download a newer version of the weld-core.jar artifact.
1. Download weld-core-1.1.10.Final.jar and simply copy it to the following location:
2. Edit the following file:
3. Comment-out the reference to the version of the jar that comes with the server, and add a reference to the new one:
<!-- <resource-root path="weld-core-1.1.5.AS71.Final.jar"/> --> <resource-root path="weld-core-1.1.10.Final.jar"/>