You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Rainer Schöpf <ra...@gmx.net> on 2010/11/19 18:37:32 UTC

Error during login

Has anybody seen this error message when trying to login to lenya:

org.apache.lenya.ac.AccessControlException: The session does not contain the identity!
         at org.apache.lenya.ac.impl.UserAuthenticator.authenticate(UserAuthenticator.java:79)
          ...

Lenya 2.02 running under Tomcat 5.5.  This happens only rarely; I haven't been 
able to reproduce the error at will.

Could it be a cache corruption?

    Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Error during login

Posted by Markus Angst <ma...@inventec.ch>.
Thanks, Rainer and Richard. Your comments are very much appreciated. We will
investigate in this direction on the client's site and see what we can find...

Thanks again
Markus Angst



On 12.07.2011 21:43, Rainer Schöpf wrote:
> Hi RIchard,
> 
>  > On Fri, Nov 19, 2010 at 11:37 AM, Rainer Schöpf <ra...@gmx.net>wrote:
>  > 
>  > > Has anybody seen this error message when trying to login to lenya:
>  > >
>  > > org.apache.lenya.ac.**AccessControlException: The session does not contain
>  > > the identity!
>  > >        at org.apache.lenya.ac.impl.**UserAuthenticator.**authenticate(**
>  > > UserAuthenticator.java:79)
>  > >         ...
>  > >
>  > > Lenya 2.02 running under Tomcat 5.5.  This happens only rarely; I haven't
>  > > been able to reproduce the error at will.
>  > >
>  > > Could it be a cache corruption?
>  > >
>  > >   Rainer
>  > >
>  > >
>  > There is a race condition that kicks in occasionally. I think that's the
>  > problem. I'm guessing it only happens after a restart?
>  > 
> 
> No, it seems to happen occasionally if you go directly to some page in the 
> authoring area.  If it happens, it is persistent, ie. it happens again, even 
> after you restart your browser and go to the page you want to edit.
> 
> However, if you start from the lenya toplevel page, select a publication for 
> editing, login and go to the page you want to edit, it works fine.
> 
> I suspect that there is some invalid or timed out session object hanging around 
> and being reused, but I haven't been able to track this down.
> 
>   Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Error during login

Posted by Rainer Schöpf <ra...@gmx.net>.
Hi RIchard,

 > On Fri, Nov 19, 2010 at 11:37 AM, Rainer Sch�pf <ra...@gmx.net>wrote:
 > 
 > > Has anybody seen this error message when trying to login to lenya:
 > >
 > > org.apache.lenya.ac.**AccessControlException: The session does not contain
 > > the identity!
 > >        at org.apache.lenya.ac.impl.**UserAuthenticator.**authenticate(**
 > > UserAuthenticator.java:79)
 > >         ...
 > >
 > > Lenya 2.02 running under Tomcat 5.5.  This happens only rarely; I haven't
 > > been able to reproduce the error at will.
 > >
 > > Could it be a cache corruption?
 > >
 > >   Rainer
 > >
 > >
 > There is a race condition that kicks in occasionally. I think that's the
 > problem. I'm guessing it only happens after a restart?
 > 

No, it seems to happen occasionally if you go directly to some page in the 
authoring area.  If it happens, it is persistent, ie. it happens again, even 
after you restart your browser and go to the page you want to edit.

However, if you start from the lenya toplevel page, select a publication for 
editing, login and go to the page you want to edit, it works fine.

I suspect that there is some invalid or timed out session object hanging around 
and being reused, but I haven't been able to track this down.

  Rainer


Re: Error during login

Posted by Richard Frovarp <rf...@apache.org>.
On Fri, Nov 19, 2010 at 11:37 AM, Rainer Schöpf <ra...@gmx.net>wrote:

> Has anybody seen this error message when trying to login to lenya:
>
> org.apache.lenya.ac.**AccessControlException: The session does not contain
> the identity!
>        at org.apache.lenya.ac.impl.**UserAuthenticator.**authenticate(**
> UserAuthenticator.java:79)
>         ...
>
> Lenya 2.02 running under Tomcat 5.5.  This happens only rarely; I haven't
> been able to reproduce the error at will.
>
> Could it be a cache corruption?
>
>   Rainer
>
>
There is a race condition that kicks in occasionally. I think that's the
problem. I'm guessing it only happens after a restart?

Re: Error during login

Posted by Markus Angst <ma...@inventec.ch>.
Hi Rainer,

> Has anybody seen this error message when trying to login to lenya:
> 
> org.apache.lenya.ac.AccessControlException: The session does not contain the identity!
>          at org.apache.lenya.ac.impl.UserAuthenticator.authenticate(UserAuthenticator.java:79)
>           ...
> 
> Lenya 2.02 running under Tomcat 5.5.  This happens only rarely; I haven't been 
> able to reproduce the error at will.
> 
> Could it be a cache corruption?

We seem to have a similar problem (Jetty, not Tomcat, though). Did you get an
answer (i couldn't find any) or have you found a solution for this?

Thanks
Markus Angst

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org