cancel
Showing results for 
Search instead for 
Did you mean: 

Unexpected logout after a few clicks (Alfresco 2.0 Preview)

mruflin
Champ in-the-making
Champ in-the-making
I tried to install the Alfresco 2.0 Preview (zip version as well as bundled windows installer), but face a rather strange problem:

After clicking through a couple of pages (1 .. 4), I get directly redirected to the login page. Trying to relogin with admin:admin, I get a "Unable to login - unknown username/password." message.

Then, if I try to go back to the main url (http://localhost:8080/alfresco/), I get following exception:

net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureContext was not provided in the RequestContext
at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:477)
at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:355)
at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:41)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:211)
at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:157)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:61)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy14.getProperty(Unknown Source)
at org.alfresco.web.bean.repository.Preferences.getValue(Preferences.java:67)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:84)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:390)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:619)

I'm using the Jan 19. release, in the zip archive version with MySQL, in the  installer version HSQL.

I'm wondering if somebody else experienced this problem or could give me some hints how to fix it.

Thanks a lot,

Michael

Update: Similar behaviour with the linux alfresco 2.0 preview installer on a different machine, but far less often.
21 REPLIES 21

steve
Champ in-the-making
Champ in-the-making
Hi,

I have done an upgrade from Alf 1.4 community (I chucked a fair amount of stuff in it inc extra users, groups and categories) to 2.0 community and did not encounter this issue.

As Kevinr mentioned, did you clean out your Temp, Work and webapps\alfresco folders to eliminate any old 1.4 files?

If you have any further information about your set-up and how you reproduced this bug that would be useful.

Thanks,

Steve

cj_deb
Champ in-the-making
Champ in-the-making
Kevin, Steve,

nice, many thanks ! Seems your right and something went wrong during upgrade.

Checked the version and still had
Version: Community Network - v2.0.0 (Preview build-167)

Just did a clean Install on this test box (not so many data yet)
And seems fine
Version: Community Network - v2.0.0 (build-185)

After I proceed further with testing, you will most likely hear from me again 😉

Cheers
Christian