throw new AuthorizationFailedException("Email- getMailMessage");
MailMessage mailmessage = null;
try
{
InitialContext ic = CVUtility.getInitialContext();
GetMailLocalHome home = (GetMailLocalHome)ic.lookup("local/GetMail");
GetMailLocal remote = home.create();
remote.setDataSource(this.dataSource);
mailmessage = (MailMessage)remote.getMailMessage(userId , preference );
}
catch(Exception e)