tomcatsolralfrescocmis

There is no port at rootFolderUrl and repoUrl in alfresco cmis browser api


I'm sending request to http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser address but there is no port in the response.

response:

.....
"repositoryUrl": "http://localhost:80/alfresco/api/-default-/public/cmis/versions/1.1/browser",
"rootFolderUrl": "http://localhost:80/alfresco/api/-default-/public/cmis/versions/1.1/browser/root"

Solution

  • The following properties should be added to JAVA_OPTS in compose.yml

    -Dopencmis.server.override=true
    -Dopencmis.server.value=http://localhost:8080