This link has been bookmarked by 1 people . It was first bookmarked on 30 Jan 2009, by Stefan Thull.
-
30 Jan 09
-
Re: Alfresco Labs 3 / Share login
by quesadam on 11 Dec 2008, 13:39
My "Share login" problems were a bit different than yours but it might be relevant to mention it here. They were related to the fact that I did not expose the "alfresco" application via the default Tomcat virtual host "localhost". As a result the "Share" application was not able to find the Alfresco urls correctly because by default all the configuration files under the "Share" application point to Alfresco resources assuming that it lives under the default Tomcat virtual host "localhost" . Most people who use the Alfresco/Tomcat bundle don't have to deal with this but I chose to deploy the "alfresco.war" file under an existing Tomcat server. I like having more control of the Tomcat server. This is an installation of "alfresco-labs-war-3c" under Ubuntu Server 8.10 with Tomcat 6. The database server is MySQL 5.0.51a-3ubuntu5.4 hosted in a separate Ubuntu Server 8.10.
Anyway, here's the story: If you are not exposing your Alfresco application via the Tomcat default virtual host "localhost" but instead you are using a more formal virtual host like "www.mydomain.com"; then, in order to get the "Share" application to work (<!-- m -->http://www.mydomain.com:8080/share<!-- m -->) ALL the configuration files under "$TOMCAT-INSTALL-PATH/webapps/$ALFRESCO-PATH/share" MUST be changed to replace any references to "localhost" to the more formal "www.mydomain.com" virtual host. That's because, if Alfresco was declared to live as a resource under the virtual directory "www.mydomain.com" Tomcat will not serve or resolve the url "http://localhost:8080/alfresco" to anything it knows and your "Share" application will give you "login" errors. Your "Share" application must point to "http://www.mydomain.com:8080" (or whatever other port you are using for Tomcat) so that it can successfully link and integrate with the "Alfresco" resources.
-
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.