[MGNLMSHAPE-12] Anonymous user does not exist after first restart Created: 02/Mar/11  Updated: 27/Jul/15  Resolved: 27/Jul/15

Status: Closed
Project: Modeshape Provider (closed)
Component/s: None
Affects Version/s: 1.0
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Jozef Chocholacek Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Tomcat, MySQL


Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

After installation and restart, Magnolia is unusable - both author and public instance display login screen, but user is unable to log in, and there is following message in the log:

ERROR info.magnolia.cms.security.SystemUserManager : Failed to login as anonymous user
javax.security.auth.login.AccountNotFoundException: User account anonymous not found.

The situation is the same even without restart if magnolia.update.auto is set to true.



 Comments   
Comment by Jan Haderka [ 02/Mar/11 ]

SystemUserManager.getRequiredSystemUser() is likely the culprit. It needs to refresh and retry after getting ItemNotFoundException instead of failing immediately.

Generated at Mon Feb 12 10:19:45 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.