Is there a way to configure openSocial with a different nuxeo context Path
nuxeo-update-5.5.0-HF-02 with Tomcat 6
- I've changed org.nuxeo.ecm.contextPath in nuxeo.conf (nuxeo.url either) : org.nuxeo.ecm.contextPath=/nxcollab
- 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 ?
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.