cancel
Showing results for 
Search instead for 
Did you mean: 

Correct url for Alfresco Community 5.2.0  + Drupal 7.54 with latest cmis modules ?

fathibn
Champ in-the-making
Champ in-the-making

Hello,
I found that my drupal is connecting to tomcat at url http://host:8080/-default-/public/cmis/versions/1.1/atom even if I have configured my alfresco url in settings.php to be http://host:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom

How can I configure alfresco to also use to the first url as an CMIS 1.1 AtomPub Service Document ?

TIA

Fathi B.N.

2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator

Is it connecting successfully or having an error?

Either way, this might be a Drupal specific issue that should be checked with a Drupal forum. The CMIS API should provide absolute URLs based on the URL being called and/or configured values (which by default include the /alfresco bit unless overriden), so by default I expect Alfresco to provide the correct URLs and assume Drupal is messing up some subsequent calls...

fathibn
Champ in-the-making
Champ in-the-making

It is having an error. Here after the log entry that shows it is making a call to a wrong url:

May 11 11:29:02 synergie synergie: https://synergie.sncft.com.tn|1494502142|cmis_browser|41.224.249.59|https://synergie.sncft.com.tn/cm... call to [https://docs.sncft.com.tn/-default-/public/cmis/versions/1.0/atom/path?path=/&filter=&includeAllowab...] returned [404]. Response: Apache Tomcat/7.0.x - Error report HTTP Status 404 - /-default-/public/cmis/versions/1.0/atom/pathtype Status reportmessage /-default-/public/cmis/versions/1.0/atom/pathdescription The requested resource is not available.Apache Tomcat/7.0.x

When I make a call to https://docs.sncft.com.tn/alfresco/api/-default-/public/cmis/versions/1.0/atom/path?path=/&filte... 

I get a authentication box and then an xml file. So Alfresco is working correctly. But, as i cloud not get cmis_api to check the correct url even with some redirection at the reverse proxy level, i am trying to get alfresco to respond on this "wrong" url.

TIA.