cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to configure openSocial with a different nuxeo context Path

ftorchet_
Champ in-the-making
Champ in-the-making

nuxeo-update-5.5.0-HF-02 with Tomcat 6

  1. I've changed org.nuxeo.ecm.contextPath in nuxeo.conf (nuxeo.url either) : org.nuxeo.ecm.contextPath=/nxcollab
  2. I've changed templates/default/conf/Catalina/localhost/nuxeo.xml to nxcollab.xml

OK : nuxeo works quite fine except... OpenSocial Dashboard... each gadget sends "No Data received from server :404"

in the logs : HTTP Error 404 fetching service methods from endpoint http://localhost:8080/nuxeo/opensocial/gadgets/api/rpc

N.B : I attempted to alter nuxeo-opensocial-server/src/main/resources/opensocial/containers/opensocial-container.js with /nxcollab insted of /nuxeo... It works...

Is there a solution using a configuration file ?

1 ACCEPTED ANSWER

Julien_Carsique
Elite Collaborator
Elite Collaborator

You did it the right way.
Please fill a Jira issue about opensocial-container.js: the script should not use a hardcoded contextPath. If you know how to fix it, feel free to patch it on GitHub and send us a pull-request. See how to contribute.
Thanks.

View answer in original post

3 REPLIES 3

Julien_Carsique
Elite Collaborator
Elite Collaborator

You did it the right way.
Please fill a Jira issue about opensocial-container.js: the script should not use a hardcoded contextPath. If you know how to fix it, feel free to patch it on GitHub and send us a pull-request. See how to contribute.
Thanks.

Jira issue created (https

Ticket is fixed and deliver on HF02 for Nuxeo 5.5 and built-in for the next release (5.6)

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.