Sun GlassFish Enterprise Server v3 Prelude Troubleshooting Guide

Solution

JavaMail resources are not supported by Enterprise Server v3 Prelude. The mail.jar and activation.jar files are bundled so that you can create and use mail sessions. However, you cannot obtain mail sessions from a predefined XML resource.