cancel
Showing results for 
Search instead for 
Did you mean: 

Removing guest user breaks alfresco on Jboss

creative77
Champ in-the-making
Champ in-the-making
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.alfresco.error.AlfrescoRuntimeException: Failed to authenticate as Guest user.
   org.alfresco.web.app.servlet.AuthenticationHelper.authenticate(AuthenticationHelper.java:209)
   org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:67)
   org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.


Is there a way to fix this, I have redeployed this several times and still get the same error.
4 REPLIES 4

andy
Champ on-the-rise
Champ on-the-rise
Hi

Are you trying to login as guest at the login prompt?

This is currently not supported.

Regards

Andy

creative77
Champ in-the-making
Champ in-the-making
No, when I deleted the guest user from the database. I know this is not the correct practice, I now get a nasty exception saying no guest user account when I enter the URL.

Somehow it knows that the guest account is no longer in the database and it must require it to be there. I have tried to recreate the account to no avail, I still get the exception.

I guess my question is how to resolve this problem because I can no longer bring up alfresco. Seems odd that the code would even be checking this before an authentication attempt, also where else would the users accounts or references to users be stored.

When I first saw Alfresco I was impressed but, the more I find out about the difficulties in customization, documentation, supporting community I have lost alot of the excitement.

andy
Champ on-the-rise
Champ on-the-rise
Hi

If you use

http://localhost:8080/alfresco

It will try and authenticate as guest.


Try,

http://localhost:8080/alfresco/faces/jsp/login.jsp

which should give you the login prompt.

Regards

Andy

steve
Champ in-the-making
Champ in-the-making
Hello,

You can disable guest access - this is the recommended way of stopping people connecting as guest.

More info here: http://forums.alfresco.com/viewtopic.php?t=1096

Steve