Hi,
For ADF to work, as I use both adf and share module, I enabled cors by copying enablecors-1.0.jar to my tomcat server in tomcat/lib folder and I can now login from ADF without worrying about cors.
But after enabling cors, my share module at /share is returning a 404 page. My /alfresco page is still working.
I'm using Alfresco 5.2.7 Enterprise.
Any idea why this is happening and how to fix it?
You should probably not put this JAR on the global classpath, and instead put it into the webapps/alfresco/WEB-INF/lib/ or - if that is enabled/present in your deployment - the modules/platform/ folder which is meant for simple JAR extension modules for ACS. To be fair though, I never use the CORS enabler on the server side as I consider it to be a hack that can easily be avoided by using a proper proxy setup which exposes the ACS APIs under the same DNS name as your client app - so my recommendation does not come from direct experience with this JAR, only from general experience dealing with customers having put JARs in places where they do not belong and breaking their system that way.
Thank's for this answer, I will try that !
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.