Hi,

I am using JBoss application server and running a JSP + EJB application
on that.
In my application, after a new user registers, an email should be sent
to the user with the password.
I used Java Mail API and tried to send that email through JAMES SMTP.

This works fine for the first time, but from second instance onwards,
I'm getting the following error:

java.lang.SecurityException: Access to default session denied

And if I restart JBoss server, it once agains works fine - but only the
first time.

What could be the reason? Any clue?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to