Share errors: Could not resolve view with name...

cancel
Showing results for 
Search instead for 
Did you mean: 
fedorow
Senior Member

Share errors: Could not resolve view with name...

What is it? How to resolve it?

Have got a warnings on Share 7.0.0 startup and an errors of Share 6.2.0/7.0.0 during browsing UI pages.

Test machine: Google Cloud Platform e2-custom (8 vCPUs, 16 GB memory)
OS: Ubuntu 20.04 LTS server
Docker version: 20.10.6
Docker-compose version: 1.29.2

7.0 configuration

Which ACS version do you want to use? 7.0
How may GB RAM are available for Alfresco (12 is minimum required)? 16
Do you want to use HTTPs for Web Proxy? No
What is the name of your server? my.domain.com
What HTTP port do you want to use (all the services are using the same port)? 11001
Do you want to use FTP (port 2121)? No
Do you want to use MariaDB instead of PostgreSQL? No
Are you using different languages (this is the most common scenario)? Yes
Do you want to create an internal SMTP server? No
Do you want to create an internal LDAP server? No
Select the addons to be installed: Google Docs 3.1.0, JavaScript Console 0.6, Order of the Bee Support Tools 1.0.0.0
Are you using a Windows host to run Docker? No
Do you want to use a start script? No

Logs
share_1 | 25-May-2021 12:42:27.815 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/alfresco/messages/slingshot_ru.properties] to the cache for web application [/share] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
share_1 | 25-May-2021 12:42:27.819 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/alfresco/messages/slingshot_ja.properties] to the cache for web application [/share] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
...
share_1 | 2021-05-25 10:33:26,861 ERROR [alfresco.web.site] [http-nio-8080-exec-6] javax.servlet.ServletException: Could not resolve view with name 'context/shared/url("/share/res/components/documentlibrary/documentlist_v2_f5' in servlet with name 'Spring Surf Dispatcher Servlet'
share_1 | 2021-05-25 11:08:50,670 ERROR [alfresco.web.site] [http-nio-8080-exec-2] javax.servlet.ServletException: Could not resolve view with name 'url("/share/res/components/preview/Pd' in servlet with name 'Spring Surf Dispatcher Servlet'
share_1 | 2021-05-25 12:51:18,682 ERROR [alfresco.web.site] [http-nio-8080-exec-5] javax.servlet.ServletException: Could not resolve view with name 'site/test/url("/share/res/yui/columnbrowser/assets/columnbrows' in servlet with name 'Spring Surf Dispatcher Servlet'
...

6.2 configuration

Which ACS version do you want to use? 6.2
How may GB RAM are available for Alfresco (12 is minimum required)? 16
Do you want to use HTTPs for Web Proxy? No
What is the name of your server? my.domain.com
What HTTP port do you want to use (all the services are using the same port)? 11001
Do you want to use FTP (port 2121)? No
Do you want to use MariaDB instead of PostgreSQL? No
Are you using different languages (this is the most common scenario)? Yes
Do you want to create an internal SMTP server? No
Do you want to create an internal LDAP server? No
Select the addons to be installed: Google Docs 3.1.0, JavaScript Console 0.6, Order of the Bee Support Tools 1.0.0.0
Are you using a Windows host to run Docker? No
Do you want to use a start script? No

Logs

...
share_1 | 2021-05-25 12:36:42,336 ERROR [alfresco.web.site] [http-nio-8080-exec-10] javax.servlet.ServletException: Could not resolve view with name 'context/mine/url("/share/res/modules/cloud/cloud-folder' in servlet with name 'Spring Surf Dispatcher Servlet'
share_1 | 2021-05-25 12:36:44,368 ERROR [alfresco.web.site] [http-nio-8080-exec-6] javax.servlet.ServletException: Could not resolve view with name 'context/mine/u' in servlet with name 'Spring Surf Dispatcher Servlet'
share_1 | 2021-05-25 12:37:46,818 ERROR [alfresco.web.site] [http-nio-8080-exec-2] javax.servlet.ServletException: Could not resolve view with name 'site/test/url("/share/res/modules/create-site_a38bada01786d' in servlet with name 'Spring Surf Dispatcher Servlet'
...

5 Replies
fedorow
Senior Member

Re: Share errors: Could not resolve view with name...

share_1               | 25-May-2021 19:39:02.966 SEVERE [http-nio-8080-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Could not resolve view with name 'site/url("/share/res/components/form/form_2912bd6700da67b8ca697' in servlet with name 'Spring Surf Dispatcher Servlet'] with root cause
share_1               | 	javax.servlet.ServletException: Could not resolve view with name 'site/url("/share/res/components/form/form_2912bd6700da67b8ca697' in servlet with name 'Spring Surf Dispatcher Servlet'
share_1               | 		at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1373)
share_1               | 		at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1138)
share_1               | 		at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1077)
share_1               | 		at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962)
share_1               | 		at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
share_1               | 		at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
share_1               | 		at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
share_1               | 		at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
share_1               | 		at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1               | 		at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1               | 		at org.springframework.extensions.webscripts.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:177)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1               | 		at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:355)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1               | 		at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:479)
share_1               | 		at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:423)
share_1               | 		at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1               | 		at org.alfresco.web.site.servlet.AIMSFilter.doFilter(AIMSFilter.java:145)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1               | 		at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:76)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1               | 		at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1               | 		at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
share_1               | 		at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
share_1               | 		at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
share_1               | 		at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
share_1               | 		at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
share_1               | 		at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
share_1               | 		at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
share_1               | 		at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
share_1               | 		at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
share_1               | 		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:888)
share_1               | 		at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597)
share_1               | 		at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
share_1               | 		at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
share_1               | 		at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
share_1               | 		at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
share_1               | 		at java.base/java.lang.Thread.run(Thread.java:834)
share_1               |  2021-05-25 19:39:02,968  ERROR [alfresco.web.site] [http-nio-8080-exec-3] javax.servlet.ServletException: Could not resolve view with name 'site/url("/share/res/components/form/form_2912bd6700da67b8ca697' in servlet with name 'Spring Surf Dispatcher Servlet'
abhinavmishra14
Moderator
Moderator

Re: Share errors: Could not resolve view with name...

If you see any warning in logs such as "org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/classes/alfresco/templates/org/alfresco/dashboard.ftl] to the cache for web application [/share] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache" or "org.apache.catalina.webresources.Cache.backgroundProcess The background cache eviction process was unable to free [10] percent of the cache for Context [/share] - consider increasing the maximum size of the cache. After eviction approximately [9,411] KB of data remained in the cache." then you can increase the resource case of disable resource caching. Follow the below given steps if you see these warnings:

    • By default value for resource caching is 10240 kbytes, so either increase it until you stop seeing the warning or disable it completely:
    • Edit $ALF_INSTALLATION/tomcat/conf/context.xml
<Resources cacheMaxSize="51200" cachingAllowed="true"/>

Or disable it: 

<Resources cachingAllowed="false" />

For the second error, its not much clear what has happened. Can you check the full log and see if you can observe any errors? It looks like share did not start properly for some reasons. 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)
fedorow
Senior Member

Re: Share errors: Could not resolve view with name...

Thank you! Cache was extended, and warnings gone.

It's an intresting errors, I spend all day testing differant version of docker-compose, change two servers, reinstall docker and every time have got this errors.

Even a clear github version of docker-compose.yml without any changers give me errors. Just do:

 

wget https://raw.githubusercontent.com/Alfresco/acs-deployment/master/docker-compose/community-docker-compose.yml
mv community-docker-compose.yml docker-compose.yml sudo docker-compose up -d

 

After browsing couple of share pagers got an errors.

The 7.0 community-docker-compose.yml.
The 6.2.1-A8 community-docker-compose.yml.

This is docker log from my pre-production configuration. (can't find how to attach files...)

share_1 | /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
share_1 | Replace 'REPO_HOST' with 'alfresco' and 'REPO_PORT' with '8080'
share_1 | NEW -csrf.filter.referer is 'http://192.168.0.4/.*'
share_1 | NEW -csrf.filter.origin is 'http://192.168.0.4'
share_1 | bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
share_1 | bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
share_1 | NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
share_1 | 25-May-2021 21:04:19.703 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.41
share_1 | 25-May-2021 21:04:19.711 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Dec 3 2020 11:43:00 UTC
share_1 | 25-May-2021 21:04:19.711 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.41.0
share_1 | 25-May-2021 21:04:19.712 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
share_1 | 25-May-2021 21:04:19.712 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.4.0-73-generic
share_1 | 25-May-2021 21:04:19.712 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
share_1 | 25-May-2021 21:04:19.713 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/java/openjdk-11.0.10_9
share_1 | 25-May-2021 21:04:19.713 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.10+9
share_1 | 25-May-2021 21:04:19.713 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
share_1 | 25-May-2021 21:04:19.713 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /usr/local/tomcat
share_1 | 25-May-2021 21:04:19.714 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/local/tomcat
share_1 | 25-May-2021 21:04:22.079 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.25] using APR version [1.6.3].
share_1 | 25-May-2021 21:04:22.079 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
share_1 | 25-May-2021 21:04:22.079 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
share_1 | 25-May-2021 21:04:23.084 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1g FIPS 21 Apr 2020]
share_1 | 25-May-2021 21:04:24.180 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
share_1 | 25-May-2021 21:04:24.937 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [7857] milliseconds
share_1 | 25-May-2021 21:04:25.205 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
share_1 | 25-May-2021 21:04:25.206 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.41]
share_1 | 25-May-2021 21:04:25.382 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/share]
share_1 | 25-May-2021 21:04:58.851 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
share_1 | 25-May-2021 21:04:58.868 INFO [main] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath
share_1 | 25-May-2021 21:04:58.894 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
share_1 | 2021-05-25 21:05:08,160 INFO [config.packaging.ModulePackageManager] [main] Found 4 module package(s)
share_1 | 2021-05-25 21:05:08,166 INFO [config.packaging.ModulePackageManager] [main] Alfresco Share JAR Module, 1.0, Sample Share JAR Module (to be included in the share.war) - part of AIO - SDK 4.2
share_1 | Alfresco / Google Docs Share Module, 3.2.1, The Share side artifacts of the Alfresco / Google Docs Integration.
share_1 | OOTBee Support Tools - Share Module, 1.1.0.0.9999999999, Addon to enhance the Repository and Share Admin Console/Tools with new tools and make tools previously exclusive to the Enterprise Edition addon Alfresco Support Tools available in Community Edition
share_1 | Alfresco Share JAR Module, 1.0, Sample Share JAR Module (to be included in the share.war) - part of AIO - SDK 4.2
share_1 |
share_1 | 2021-05-25 21:05:10,150 INFO [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
share_1 | 2021-05-25 21:05:10,159 INFO [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
share_1 | 2021-05-25 21:05:10,160 INFO [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
share_1 | 2021-05-25 21:05:10,164 INFO [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
share_1 | 2021-05-25 21:05:14,761 INFO [extensions.webscripts.DeclarativeRegistry] [main] Registered 403 Web Scripts (+0 failed), 424 URLs
share_1 | 2021-05-25 21:05:14,769 INFO [extensions.webscripts.DeclarativeRegistry] [main] Registered 8 Package Description Documents (+0 failed)
share_1 | 2021-05-25 21:05:14,770 INFO [extensions.webscripts.DeclarativeRegistry] [main] Registered 0 Schema Description Documents (+0 failed)
share_1 | 2021-05-25 21:05:14,994 INFO [extensions.webscripts.AbstractRuntimeContainer] [main] Initialised Surf Container Web Script Container (in 4813.4014ms)
share_1 | 2021-05-25 21:05:14,997 INFO [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
share_1 | 2021-05-25 21:05:14,999 INFO [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
share_1 | 2021-05-25 21:05:15,081 INFO [site.servlet.AIMSFilter] [main] Initializing the AIMS filter.
share_1 | 2021-05-25 21:05:15,091 INFO [site.servlet.AIMSFilter] [main] AIMS filter initialized.
share_1 | 25-May-2021 21:05:15.178 INFO [main] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
share_1 | 25-May-2021 21:05:15.249 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'Spring Surf Dispatcher Servlet'
share_1 | 25-May-2021 21:05:15.341 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/share] has finished in [49,956] ms
share_1 | 25-May-2021 21:05:15.352 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
share_1 | 25-May-2021 21:05:15.395 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [50457] milliseconds
share_1 | 2021-05-25 21:11:04,894 INFO [web.site.EditionInterceptor] [http-nio-8080-exec-1] Successfully retrieved edition information from Alfresco.
share_1 | 25-May-2021 21:11:10.308 SEVERE [http-nio-8080-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [Spring Surf Dispatcher Servlet] in context with path [/share] threw exception [Could not resolve view with name 'url' in servlet with name 'Spring Surf Dispatcher Servlet'] with root cause
share_1 | javax.servlet.ServletException: Could not resolve view with name 'url' in servlet with name 'Spring Surf Dispatcher Servlet'
share_1 | at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1373)
share_1 | at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1138)
share_1 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1077)
share_1 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:962)
share_1 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
share_1 | at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
share_1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
share_1 | at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
share_1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1 | at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1 | at org.springframework.extensions.webscripts.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:177)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1 | at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:364)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1 | at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:479)
share_1 | at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:423)
share_1 | at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1 | at org.alfresco.web.site.servlet.AIMSFilter.doFilter(AIMSFilter.java:145)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1 | at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:76)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
share_1 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
share_1 | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
share_1 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
share_1 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
share_1 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
share_1 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
share_1 | at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
share_1 | at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
share_1 | at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:888)
share_1 | at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597)
share_1 | at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
share_1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
share_1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
share_1 | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
share_1 | at java.base/java.lang.Thread.run(Thread.java:834)
share_1 | 2021-05-25 21:11:10,334 INFO [web.site.EditionInterceptor] [http-nio-8080-exec-4] Unable to retrieve License information from Alfresco: 401
share_1 | 2021-05-25 21:11:10,609 ERROR [alfresco.web.site] [http-nio-8080-exec-3] javax.servlet.ServletException: Could not resolve view with name 'url' in servlet with name 'Spring Surf Dispatcher Servlet'

 

abhinavmishra14
Moderator
Moderator

Re: Share errors: Could not resolve view with name...

I tried these docker-compose files for 6.x and 7.x community versions. I can't see any errors though.

acs7.JPG

7.x: https://raw.githubusercontent.com/Alfresco/acs-deployment/master/docker-compose/community-docker-com...

6.x: https://raw.githubusercontent.com/Alfresco/acs-deployment/c5d77c6e468d059b5428034dbfcae323e62978da/d...

These are plain vanilla docker-compose files.

I do notice in your logs that you have installed some custom modules. Can you try the URLs i have given and see if you find the same errors? 

You can also try this project: https://github.com/abhinavmishra14/change-acs-share-port-demo

https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml

https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/.env

It has latest community version of ACS6 and allows you deploying custom modules, update configs and change ports etc. 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)
abhinavmishra14
Moderator
Moderator

Re: Share errors: Could not resolve view with name...

If you have made any config changes to share-config-custom.xml file, missing url issue could be due to any typo as well. 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)