[
https://jira.jboss.org/jira/browse/GTNPORTAL-126?page=com.atlassian.jira....
]
Trong Tran updated GTNPORTAL-126:
---------------------------------
Original Estimate: 2 hours
Remaining Estimate: 2 hours
Fix Version/s: 3.0.0-CR01
Labels: sprint_21 (was: )
first login fails withouy "Remember My Login" option
----------------------------------------------------
Key: GTNPORTAL-126
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-126
Project: GateIn Portal
Issue Type: Bug
Components: User Interface
Affects Versions: 3.0.0-Beta02
Environment: Mac OS X
Reporter: Patrice Lamarque
Fix For: 3.0.0-CR01
Original Estimate: 2 hours
Remaining Estimate: 2 hours
- Fresh unzip
- launch gatein-dev.sh run
- browse to
http://localhost:8080/portal
- Click Sign In
- enter login = root, pwd = gtn, DO NOT check "Remember My Login" checkbox.
- Click "Sign in" > Login Failed
note that from there I can log in by checking the box "Rememebr My login"
Console shows this :
WARNING: Login exception authenticating username "root"
javax.security.auth.login.LoginException: Login failed for root
at
org.exoplatform.services.security.jaas.DefaultLoginModule.login(DefaultLoginModule.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:363)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:258)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:637)
Oct 28, 2009 3:34:11 PM org.exoplatform.web.login.ErrorLoginServlet
unregisterTokenCookie
WARNING: Cannot delete the token 'rememberme2115598086'
javax.jcr.PathNotFoundException: No node exists at
/exo:registry/exo:services/jcr-token/rememberme2115598086
at
org.exoplatform.services.jcr.impl.core.SessionImpl.exportDocumentView(SessionImpl.java:288)
at
org.exoplatform.services.jcr.ext.registry.RegistryService.getEntry(RegistryService.java:145)
at
org.exoplatform.web.security.security.CookieTokenService.getToken(CookieTokenService.java:76)
at
org.exoplatform.web.security.security.CookieTokenService.deleteToken(CookieTokenService.java:88)
at
org.exoplatform.web.login.ErrorLoginServlet.unregisterTokenCookie(ErrorLoginServlet.java:92)
at org.exoplatform.web.login.ErrorLoginServlet.doGet(ErrorLoginServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at
org.exoplatform.container.web.AbstractHttpServlet.onService(AbstractHttpServlet.java:165)
at
org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:114)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at
org.apache.catalina.authenticator.FormAuthenticator.forwardToErrorPage(FormAuthenticator.java:337)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:260)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:417)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:637)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira