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

cancel
Showing results for 
Search instead for 
Did you mean: 
filipehtf
Member II

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


@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? 


@cristinamr 

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.

fedorow
Senior Member II

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

@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:

 

filipehtf
Member II

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

@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.

 

Capturar.PNGCapturar1.PNG

filipehtf
Member II

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

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'