users@glassfish.java.net

Re: Caused by: javax.ejb.AccessLocalException: Client not authorized for this i

From: Kumar Jayanti <Vbkumar.Jayanti_at_Sun.COM>
Date: Wed, 07 Jul 2010 12:34:46 +0530

glassfish_at_javadesktop.org wrote:
> Hello,
> I'm a new user of glassfish and I try to do and ear with one EJB module and one Web module.
> In my EJB module I've got a @Stateless EJB
> I call it from my Servlet by using @EJB
> but when I invoke a method on it an AccessLocalException occurred : Client not authorized for this invocation.
>
> I've try to add @PermitAll on the EJB method but with no success.
> I don't know what is missing, any idea ?
>
What version of V3 are you using. U should not see such problems unless
you have hit a bug. One thing to try is undeploy the EAR, make sure
{instanceroot}/generated/policy/<earname> is also cleaned up and try
again. Or send us the EAR.
> [Message sent by forum member 'zolive2']
>
> http://forums.java.net/jive/thread.jspa?messageID=476957
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>