cancel
Showing results for 
Search instead for 
Did you mean: 

Can Share and Alfresco be depolyed to different tomcat?

kerby
Champ in-the-making
Champ in-the-making
If yes, how can Share communicate with Alfresco?
4 REPLIES 4

mikeh
Star Contributor
Star Contributor
Absolutely - this is how we develop with it in-house to ensure no code is assuming the same server.

Take a look at webscript-framework-config-custom.xml.sample

Thanks,
Mike

kerby
Champ in-the-making
Champ in-the-making
Hi Mike, Thanks for your help~
But  documents uploaded cannot be previewed when deployed to different tomcat.
When deployed to one tomcat,  preview functions work well.
This document can't be previewed.
Click here to download it.
Do you know where the problem is ?

mikeh
Star Contributor
Star Contributor
View the HTML source of the page and look near the top to see if
Alfresco.constants.PROXY_URI
looks correct.

Mike

kerby
Champ in-the-making
Champ in-the-making
View the HTML source of the page and look near the top to see if
Alfresco.constants.PROXY_URI
looks correct.

Mike

 Alfresco.constants.PROXY_URI = window.location.protocol + "//" + window.location.host + "/share/proxy/alfresco/";
Alfresco.constants.PROXY_URI_RELATIVE = "/share/proxy/alfresco/";

Is that right?
Does the preview functions have something to do with ImageMagick? Should I install ImageMagick in Linux platform?