cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Record Management V2.1 module

normaf
Champ in-the-making
Champ in-the-making
I have installed a trial version of Alfresco Enterprise V2.2 on Windows XP, and have been trying to add  Record Management module V2.1.  I have tried to add it by entering the following on the cmd line 
C:\Alfresco\java\bin\java -jar C:\Alfresco\bin\alfresco-mmt.jar install C:\Alfresco\amps\alfresco-recordsmanagement-2.1.0  C:\Alfresco\tomcat\webapps\alfresco.war -directory -force
and by running apply_amps.bat, as suggested in a previous posting. I am running JRE V6. In either case it appears to install without incident but when I bring up the server I still don't see evidence of the RM module. Any ideas? I don't see much posted on RM and the documentation is practically non-existent. :cry:
7 REPLIES 7

jbarmash
Champ in-the-making
Champ in-the-making
I just confirmed that it installs fine with 2.2 (using apply_amps.bat). 

When you install it, you should see a new space called Records Space.  After you install it, you should see messages related to bootsrapping the RecordsManagement amp in the log files. 

Did you clear out the exploded alfresco directory from tomcat?   That could be an issue.

normaf
Champ in-the-making
Champ in-the-making
Okay after trying the install without the -directory option I finally loaded the module. When I run "list" it is there:

C:\Alfresco>C:\Alfresco\java\bin\java -jar C:\Alfresco\bin\alfresco-mmt.jar list
C:\Alfresco\tomcat\webapps\alfresco.war
Module 'org.alfresco.module.RecordsManagement' installed in 'C:\Alfresco\tomcat\
webapps\alfresco.war'
   -    Title:        Records Management
   -    Version:      1.3
   -    Install Date: Wed Jun 04 14:50:07 EDT 2008
   -    Desription:   Alfresco Record Management Extension


However on the Alfresco Web Client under COMPANY HOME I still don't see "Records Space" or any trace of the RM being loaded. Any hints?

derek
Star Contributor
Star Contributor
There should be message in the startup logs saying which and how many modules were installed.  What module details show up in your log files?

brianz
Champ in-the-making
Champ in-the-making
Hi,

System:
  • Windows XP

  • Alfresco 2.1

  • Tomcat

  • MySQL
I'm also having the same problems - with this and another amp (emailListener.amp).  They seem to be added to the alfresco.war file correctly - see:

=========================================================
The following modules have been indtalled in the alfresco.war file in C:\Alfresco\tomcat\webapps
Press control-c to stop this script . . .
Module 'org.alfresco.module.RecordsManagement' installed in 'C:\Alfresco\tomcat\webapps\alfresco.war'
   -    Title:        Records Management
   -    Version:      1.3
   -    Install Date: Mon Jun 30 12:30:15 BST 2008
   -    Desription:   Alfresco Record Management Extension
Module 'emailListener' installed in 'C:\Alfresco\tomcat\webapps\alfresco.war'
   -    Title:        EmailListener
   -    Version:      2.1
   -    Install Date: Mon Jun 30 12:04:02 BST 2008
   -    Desription:   EmailListener Module
=========================================================

But I see no other evidence of the modules being installed - not in the client or in the webapps file system.

I feel as though there is someting fundamental that I don't understand, but not sure what!

Thanks,

Brian

brianz
Champ in-the-making
Champ in-the-making
By the way, my startup log thinks that no modules are installed:



INFO: Deploying web application archive alfresco.war
13:07:48,281 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
13:07:57,359 INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
13:08:08,437 INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
13:08:13,593 WARN  [repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
13:08:13,593 INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: .\alf_data
13:08:14,625 INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
13:08:15,671 INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
13:08:18,031 INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_06-b02; maximum heap size 506.313MB
13:08:18,031 INFO  [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (482) schema 64 - Installed version 2.1.0 (482) schema 64

INFO: Server startup in 90797 ms

brianz
Champ in-the-making
Champ in-the-making
OK, I have found out what I have been doing wrong.  After applying the amp, I needed to delete the /tomcat/webapps/alfresco folder.  This forces a re-loading of the Alfresco modules, including the two that I added on.

Thanks to Mayfied for this message with the information I needed:

http://forums.alfresco.com/en/viewtopic.php?f=8&t=8377

mindthegab
Champ in-the-making
Champ in-the-making
BTW,
now adding RM AMP, as well as any other AMP, to an Alfresco webapp can be as easy as adding a Maven dependency to your build, using http://wiki.alfresco.com/wiki/Managing_Alfresco_Lifecyle_with_Maven. It provides Maven2 archetypes and plugins to manage AMPs.

Thought maybe could help Smiley Wink