Not a James question, so off topic! But it sounds like your JSP is
incorrectly trying to use the session data from your first test on the
second occasion. You can prove this by trying the second test from another
machine. It should work as this won't be holding the session data from the
first test.

I suggest you post the JBoss groups for more info. on how to configure JSPs
and session beans.

-- Steve

> -----Original Message-----
> From: Satish [mailto:[EMAIL PROTECTED]
> Sent: 09 July 2003 13:15
> To: 'James Users List'
> Subject: Access to default session denied
>
>
> 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]
>


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

Reply via email to