AnsweredAssumed Answered

could not resolve view with name '' in servlet with name

Question asked by aleks_sh on Nov 10, 2011
Latest reply on Nov 11, 2011 by aleks_sh
Hello All
After upgrade from 3.4d to 4.0b do not working site's dashboard.
When i click on site name in "My sites" dashlet i had that error:

A server error has occured.
There are a number of reasons why this could have happened:

    You have attempted to access a page that does not exist - check the URL in the address bar.
    You have attempted to access a page that is not accessable to you, such as a private Site dashboard.
    A valid page has been requested but the server was unable to render it due to an internal error - contact your administrator.

Return to your dashboard page

in catalina.out i see:
2011-11-10 11:51:42,805  DEBUG [web.servlet.DispatcherServlet] [http-8080-10] Could not complete request
javax.servlet.ServletException: Could not resolve view with name 'site/pzp/dash
board' in servlet with name 'Spring Surf Dispatcher Servlet'

with debug enabled:

2011-11-10 11:59:29,212  DEBUG [web.servlet.DispatcherServlet] [http-8080-5] Di
spatcherServlet with name 'Spring Surf Dispatcher Servlet' processing GET reques
t for [/share/page/site/itprojects/dashboard]
2011-11-10 11:59:29,212  DEBUG [servlet.handler.SimpleUrlHandlerMapping] [http-
8080-5] Mapping [/site/itprojects/dashboard] to HandlerExecutionChain with handl
er [org.springframework.extensions.surf.mvc.UrlViewController@7c36a291] and 1 in
terceptor
2011-11-10 11:59:29,212  DEBUG [web.servlet.DispatcherServlet] [http-8080-5] La
st-Modified value for [/share/page/site/itprojects/dashboard] is: -1
2011-11-10 11:59:29,212  DEBUG [surf.support.ThreadLocalRequestContext] [http-8
080-5] Setting RequestContext 108 on thread: http-8080-5
2011-11-10 11:59:29,212  DEBUG [surf.mvc.UrlViewController] [http-8080-5] Retur
ning view name 'site/itprojects/dashboard' for lookup path [/site/itprojects/das
hboard]
2011-11-10 11:59:29,212  DEBUG [surf.persister.MultiObjectPersister] [http-8080
-5] getObject attempting to load 'site/itprojects/dashboard' of type 'page' from
persister: webframework.slingshot.persister.remote
2011-11-10 11:59:29,212  DEBUG [surf.persister.MultiObjectPersister] [http-8080
-5] getObject attempting to load 'site/itprojects/dashboard' of type 'page' from
persister: webframework.sitedata.persister.classpath.alfresco-custom
2011-11-10 11:59:29,212  DEBUG [surf.persister.MultiObjectPersister] [http-8080
-5] getObject attempting to load 'site/itprojects/dashboard' of type 'page' from
persister: webframework.sitedata.persister.alfresco-classpath
2011-11-10 11:59:29,212  DEBUG [surf.persister.MultiObjectPersister] [http-8080-5] getObject attempting to load 'site/itprojects/dashboard' of type 'page' from persister: webframework.sitedata.persister.classpath
2011-11-10 11:59:29,212  DEBUG [surf.persister.MultiObjectPersister] [http-8080-5] getObject() unable to get object from any persisters
2011-11-10 11:59:29,212  DEBUG [surf.support.ThreadLocalRequestContext] [http-8080-5] Releasing RequestContext 108 from thread: http-8080-5
2011-11-10 11:59:29,212  DEBUG [web.servlet.DispatcherServlet] [http-8080-5] Could not complete request
javax.servlet.ServletException: Could not resolve view with name 'site/itprojects/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
        at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1029)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        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.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:307)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        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:619)
2011-11-10 11:59:29,214  ERROR [alfresco.web.site] [http-8080-5] javax.servlet.ServletException: Could not resolve view with name 'site/itprojects/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'



my alfresco-global.properties:

dir.root=/opt/Alfresco/alf_data

alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http

### database connection properties ###
#db.driver=org.postgresql.Driver
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://localhost:3306/alfresco?useUnicode=yes&characterEncoding=UTF-8
db.username=alfuser
db.password=XXXXXXXXX
db.name=alfresco


authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad,ldap1:ldap
user.name.caseSensitive=false

#synchronization.synchronizeChangesOnly=true # No deletions
synchronization.synchronizeChangesOnly=false
synchronization.syncOnStartup=true
#synchronization.import.cron=0 30 * * * ?
synchronization.syncWhenMissingPeopleLogIn=true
synchronization.autoCreatePeopleOnLogin=false

### LUCENE indexing ###
index.subsystem.name=lucene
#index.recovery.mode=FULL

### Solr indexing ###
#index.subsystem.name=solr
#dir.keystore=${dir.root}/keystore
#solr.port.ssl=8443

### BPM Engine ###
system.workflow.engine.jbpm.enabled=false

Backup is clean - it is working on 3.4d
I can open documents from any site's document library via "My activities" dashlet

please help!

Outcomes