cancel
Showing results for 
Search instead for 
Did you mean: 

Share 3.3 login with e-mail address like username

louise
Champ in-the-making
Champ in-the-making
Unable to show dashboard for users including special characters (like ".") in username with Share 3.3 (dev r19624), see following result (missing ".hu" in name to resolve) after login. Alfresco explorer and mobile login works.

Username: louise@louise.hu

URL: https://localhost/share/page/user/louise%40louise.hu/dashboard


javax.servlet.ServletException: Could not resolve view with name 'user/louise@louise' in servlet with name 'Spring Surf Dispatcher Servlet'
   org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Username: louise.hu

URL: https://localhost/share/page/user/louise.hu/dashboard


javax.servlet.ServletException: Could not resolve view with name 'user/louise' in servlet with name 'Spring Surf Dispatcher Servlet'
   org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
27 REPLIES 27

mikeh
Star Contributor
Star Contributor
Pretty sure that's all been fixed in 3.3G - but if you're still seeing it, please raise a JIRA ticket.

Thanks,
Mike

louise
Champ in-the-making
Champ in-the-making
Dear Mike!

Yes, it's fixed in 3.3G but only for newly created users (created in 3.3G installation), and not for previously (exists in a 3.2 installation), see migration/upgrade between 3.2 and 3.3.

mikeh
Star Contributor
Star Contributor
…then please raise in JIRA!

Thanks,
Mike

louise
Champ in-the-making
Champ in-the-making

jamied66
Champ in-the-making
Champ in-the-making
Moving back to the actual login problem, I'm seeing the same error with a username that doens't have a dot or other special character in it.  Using this version of Alfresco:

Alfresco Community v3.3.0
(g 2860) schema 4100
Spring Surf and Spring WebScripts - v1.0.0
(Milestone 3 357)

javax.servlet.ServletException: Could not resolve view with name
'user/ggurley/dashboard' in servlet with name 'Spring Surf Dispatcher
Servlet'

08:46:30,580 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 07050002 Login failed
org.springframework.extensions.webscripts.WebScriptException: 07050002 Login failed
        at org.alfresco.repo.web.scripts.bean.AbstractLoginBean.login(AbstractLoginBean.java:75)
        at org.alfresco.repo.web.scripts.bean.LoginPost.executeImpl(LoginPost.java:73)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:231)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
        at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:367)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:417)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:434)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:257)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:319)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:177)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        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:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        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:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:636)

Not easily tying the various releases back to an SVN number, my question is should I simply upgrade, or could there be some other cause in this case?

tdent
Champ in-the-making
Champ in-the-making
I'm also seeing the same issue as jamied66 reported.  No special characters in the username (first initial, last name) but when clicking on 'My Dashboard' after logging in, I get the following error:

HTTP Status 500 -

type: Exception report

Exception: javax.servlet.ServletException: Could not resolve view with name 'user/tdent/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
   org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)

Using Alfresco 3.3.0 (g 2860) schema 4100

Spring Surf and Spring Webscrips - v1.0.0

womer
Champ in-the-making
Champ in-the-making
I'm seeing the same error, very similar symptoms, so it may or may not be related.  My users don't have any special characters, but all works fine in alfresco, but trying to display dashboard get this error:

javax.servlet.ServletException: Could not resolve view with name 'page' in servlet with name 'Spring Surf Dispatcher Servlet'
   org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:67)
   org.alfresco.web.site.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:190)


I don't know who 'page' is, it's not the user name.  In further testing, it only shows up when using Windows7 with IE8.  Windows7 with Firefox and Windows XP with EI7 & EI8 all work fine.  No errors are generated in catalina.out

kevinr
Star Contributor
Star Contributor
Can you guys provide any more info on your setup? Any custom configuration or authentication stacks? Which OS etc.? Did a simple reinstall fix the issue?