This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Although, trying to get the default mail session in a web application doesn't seem to be the right thing to do, for some reason which I don't understand. However the problem is easily fixed by not trying to get the default session.