cancel
Showing results for 
Search instead for 
Did you mean: 

Repository drive

sgaucho
Champ in-the-making
Champ in-the-making
Hi,

I have installed Alfresco community version v3.4 in my C: drive and would like to have the repository in the 😧 drive. Is this possible?

Further, I tried to change the Login page logo by altering /projects/web-client/source/web/jsp/login.jsp, restarted tomcat, deleted the catalina folder but to no avail.
Is there somewhere else that I need to change?

tx,
sg
18 REPLIES 18

mrogers
Star Contributor
Star Contributor
Yes you can easily move your repository.

There's a property in alfresco-global.properties called dir.root that says where the repo is.

Shut down alfresco.
Copy the content.
Cange dir.root to point to the new location.
Start Alfresco.
After it starts up successfully, delete the old content.

As for the second part of your question - you need to give more details.  For example which catalina files did you delete and how and where did you change a JSP?

luyanda
Champ in-the-making
Champ in-the-making
Hi,

In which drive do you have to delete the old content, is it the C:/alfresco/alf_data or the the one you pointing the content to?

sgaucho
Champ in-the-making
Champ in-the-making
Yes you can easily move your repository.

There's a property in alfresco-global.properties called dir.root that says where the repo is.

Shut down alfresco.
Copy the content.
Cange dir.root to point to the new location.
Start Alfresco.
After it starts up successfully, delete the old content.

As for the second part of your question - you need to give more details.  For example which catalina files did you delete and how and where did you change a JSP?

Hi,

Thanks for the quick answers!

I removed the entire Catalina folder and restarted Alfresco. Regarding the JSP, I edited the Login.jsp located under C:\Alfresco\tomcat\webapps\alfresco\jsp

I edited the line -> "<body bgcolor="#ffffff" style="background-image: url(<%=request.getContextPath()%>/images/logo/ic.gif); background-repeat: no-repeat; background-attachment: fixed">
" And "<img src='<%=request.getContextPath()%>/images/logo/ic.gif' width=300 height=53 alt="Alfresco" title="Alfresco">"

Substituted the PNG image with ic.gif.

tx

mrogers
Star Contributor
Star Contributor
You probably need to put tomcat into "development mode" to get it to reload your JSPs.    You should turn that off for production.

sgaucho
Champ in-the-making
Champ in-the-making
You probably need to put tomcat into "development mode" to get it to reload your JSPs.    You should turn that off for production.

Not sure what you mean by Development mode. Do I need to edit the WAR file?

Shouldnt this be a simple task? All I am trying to do is change the logo!

sgaucho
Champ in-the-making
Champ in-the-making
Now, I cam really in trouble. Edited the WAR file and tried deploying again. Now, not only has the logo still not changed, I cant login anymore. I get a message "The remote server may be unavailable or your authentication details have not been recognized." and in the log I see "WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Not Found"

Never thought changing a logo would give me so much headache Smiley SadSmiley Sad

Any last ideas before I reintall everything? Still hv no clue on how to change the logo.

sgaucho
Champ in-the-making
Champ in-the-making
What site?

tx

sgaucho
Champ in-the-making
Champ in-the-making
Haleluiah! Found the solution.

Other than editing JSP pages, the new logo should be placed under share\themes\default\images directory and voila..

Nothing like spending 5 hours to change a logo Smiley Happy

monadev
Champ in-the-making
Champ in-the-making
please i have a problem when i change the root.dir it says no repository found so please can anyone help
i installed the alfresco in c:\Alfresco and want to change the root.dir form c:/alfresco/alf_data to g:/alfresco/af_data  and i'm using community version 3.4 d
thanks