05-25-2021 02:48 PM
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'
...
08-20-2021 10:53 AM
@cristinamr wrote:@fedorowwe have 6.2 in different clients and I could not see those errors. In our case, we have https for all of them configured. IMO there must be something "outside of the box". Did you try to install one of them in a different machine in order to see if you have them?
Thanks for the answer.
Yes, I have some customizations, but as in the case of @fedorow even without any customization, the aforementioned error occurs, it seems that when Share mounts the url, something goes wrong, for example, ".../sites/swsdp/url(.. ..."
I've tried several images from 7.0.0 to 7.1.0-M2, and on different machines.
Sometimes the page is loaded and another one has a white screen.
08-20-2021 02:07 PM
@cristinamr yes, I try to test it on differant machines without any changers in image or docker-compose.yml.
Again:
Test machine: Google Cloud Platform e2-custom (8 vCPUs, 16 GB memory)
OS: Ubuntu 20.04 LTS server from GCP image.
Docker version: 20.10.6 installed accoding docs.docker.com documentation from repository.
Docker-compose version: 1.29.2 installed by curl accoding official docs.docker.com documentation.
Run this commands:
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
and i'v got errors like this one:
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 '<different names>' in servlet with name 'Spring Surf Dispatcher Servlet'
Also in the wget command was tested this files:
08-20-2021 02:18 PM
@cristinamr Here is an example of what happens:
A native import when its url is wrongly mounted.
This is variable, every few updates of the page, one or another file generates a similar error, be it a css, js or image.
When it happens to a higher level object such as a page, the container actually dies.
08-20-2021 04:49 PM
2021-08-20 17:41:57,180 ERROR [org.alfresco.web.site] [http-nio-8080-exec-6] javax.servlet.ServletException: Could not resolve view with name 'site/swsdp/url("/share/res/rm/modules/documentlibrary/hold/hold_4b' in servlet with name 'Spring Surf Dispatcher Servlet' 2021-08-20 17:42:36,673 ERROR [org.alfresco.web.site] [http-nio-8080-exec-2] javax.servlet.ServletException: Could not resolve view with name 'site/swsdp/url("/sha' in servlet with name 'Spring Surf Dispatcher Servlet' 2021-08-20 17:42:42,197 ERROR [org.alfresco.web.site] [http-nio-8080-exec-2] javax.servlet.ServletException: Could not resolve view with name 'site/swsdp/url("/share/res/rm/modules/documentlibrary/hold/hold_4b' in servlet with name 'Spring Surf Dispatcher Servlet' 2021-08-20 17:43:04,898 ERROR [org.alfresco.web.site] [http-nio-8080-exec-9] javax.servlet.ServletException: Could not resolve view with name 'site/swsdp/url("/sha' in servlet with name 'Spring Surf Dispatcher Servlet' 2021-08-20 17:45:27,508 ERROR [org.alfresco.web.site] [http-nio-8080-exec-2] javax.servlet.ServletException: Could not resolve view with name 'site/swsdp/url("/share/res/yui/columnbrowse' in servlet with name 'Spring Surf Dispatcher Servlet' 2021-08-20 17:45:39,701 ERROR [org.alfresco.web.site] [http-nio-8080-exec-6] javax.servlet.ServletException: Could not resolve view with name 'site/swsdp/url("/share/res/googledocs/components/documentlibrary/googledocs-actions_bfd9a7ccb68a36e0948c6e56' in servlet with name 'Spring Surf Dispatcher Servlet'
Explore our Alfresco products with the links below. Use labels to filter content by product module.