cancel
Showing results for 
Search instead for 
Did you mean: 

Records Management in Alfresco 2.0 final

evdgeest
Champ in-the-making
Champ in-the-making
I installed the alfresco community edition 2.0 on a windows 2003 server, I want to use the Records Management module.

I read a couple of threads in this forum but still not managed to activate/install the Records Management module. I also read the Records Management User Guide on the Wiki, but that did not tell how to install the module.

So can someone help me how to activate/install the Records Management module.

Many thanks.

Best regards
Edwin
21 REPLIES 21

evdgeest
Champ in-the-making
Champ in-the-making
I've got the same output from install.

But while starting alfresco I get a message:
08:52:01,160 [repo.module.ModuleServiceImpl] Found 0 module(s).

Assuming that the recordsManagement.amp is not correctly installed into the alfresco.war I reinstalled it. But when I reinstall recordsManagement.amp I get a message that its allready installed.

What should I do now?

Thanks in advance!
Edwin

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

The output you are seeing is correct so it means that the WAR has been updated correctly.

Assuming you have now placed this updated WAR in the correct place, you may need to also delete the old expanded WAR contents for the changes in the updated WAR to take effect.

With the old expanded WAR contents removed, when restatrted Tomcat will unpack the modified WAR and the repository should see the RM module and install it.  Certainly this is the case for Tomcat on Windows.

Cheers,
Roy

evdgeest
Champ in-the-making
Champ in-the-making
Thank you very much! That was the solution i was looking for!

kbpair
Champ in-the-making
Champ in-the-making
After deleting the alfresco directory under webapps and restarting I am seeing some of the Records Management module. However any changes made to file-servers.xml are gone and must be re-applied.

miguel_gil_mart
Champ in-the-making
Champ in-the-making
How to in a "Linux" + "Wizard installation (Tomcat)" .

My Alfresco is installed in /opt/Alfresco. I used wizard to install it. I did not modify anything… next….next….next. … 😄 (HSQLDB)
First, I shutdown Tomcat.
I use the script "ModuleManager.sh" rewritten by Aborba (thanks!!!) in this post. It worked fine.
I mv (rename)  /opt/Alfresco/tomcat/webapps/alfresco/ to /opt/Alfresco/tomcat/webapps/alfrescoOLD/ (backup).
Restart Tomcat (/opt/Alfresco/alf_start.sh)
Now, we have to add an administrator to Tomcat. Add this line to /opt/Alfresco/tomcat/conf/tomcat-users.xml
<user username="admin" password="yourultrasecretpassword" roles="standard,manager"/>
Go to http://localhost:8080/manager/html and log as admin…
Deploy the new alfresco.war file using Tomcat web interface.

Right!!! You now have two alfresco instances.
Now log on Alfresco as Admin and you have a new "Records Space"
I hope it is useful.

aborba
Champ in-the-making
Champ in-the-making
Thanks kevinr, rwetherall and miguel.gil.martinez. IT WORKED!!!!

derek
Star Contributor
Star Contributor
Hi, kbpair

You need to use the configuration extension mechanism to change config in the repo.  That was part of the point of modifying the WAR using the .amp file.  If you make your changes in the contents of the expanded WAR, then you're going to have issues with your customizations going missing everytime you upgrade as well.  And keeping track of which files you modified will be difficult enough even if you do remember.

Regards

askrates1
Champ in-the-making
Champ in-the-making
Could some of the people that have been clever enough to get this to work in windows please cupy-paste the contents of their ModuleManager.bat here?

I keep getting the @%('$"!! "Exception in thread "main" java.lang…" error.  :x

Thanks

evdgeest
Champ in-the-making
Champ in-the-making
I have got that error as well, I installed Java Runtime Environment and after that the bat file works fine.

My bat file looks like this:
@echo off
rem Install an AMP file into an Alfresco WAR

rem set the LIB_DIR value to point to the Alfresco lib directory
SET LIB_DIR=C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib

SET TEMP_CLASS_PATH=%LIB_DIR%\repository.jar;%LIB_DIR%\core.jar;%LIB_DIR%\truezip.jar;%LIB_DIR%\log4j-1.2.8.jar;%LIB_DIR%\spring.jar;%LIB_DIR%\commons-logging.jar

java -cp "%TEMP_CLASS_PATH%" org.alfresco.repo.module.tool.ModuleManagementTool "%1" "%2" "%3" "%4" "%5" "%6" "%7"

fschnell
Champ in-the-making
Champ in-the-making
After deleting the alfresco directory under webapps and restarting I am seeing some of the Records Management module. However any changes made to file-servers.xml are gone and must be re-applied.

Don't change that file. Put local customisation into file
tomcat\shared\classes\alfresco\extension\file-servers-custom.xml

This file will not be updated when deploying a new version of alfresco.war

Frank