Updating Weld (http://delabassee.com/blog/?p=286):

  1. Grab the Weld 2.0.5 OSGi bundle and copy it to the GF modules directory:

    cp weld-osgi-bundle-2.0.5.Final.jar glassfish/modules/
    
  2. Restart GlassFish:

    glassfish/bin/asadmin restart-domain domain1
    
  3. You check which version is now installed by issuing:

    glassfish/bin/asadmin osgi lb | grep 'Weld OSGi'