smtp custom service problems

Posted by gionnyDeep75 on 16-Sep-2010 15:40

I ve done a custom service that send mail by smtp. When I test my sendMail methods outside the esb container it works!

But when i launch the service inside a esb container i got:

java.lang.SecurityException: Access to default session denied

Any idea?

Giovanni

All Replies

Posted by gionnyDeep75 on 16-Sep-2010 15:45

solved using java getInstance instead of getDefaultInstance.

Cheers

This thread is closed