cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 3.2 and Record Management Module Explosions!

craigt
Champ in-the-making
Champ in-the-making
Hi Everyone,

I've setup Alfresco 3.2 with CAS SSO & MySQL, on Centos 5.3 x64bit.
Everything was working fine until I installed the "Records Management Module".
download: http://process.alfresco.com/ccdl/?file=release/community/build-2039/alfresco-recordsmanagement-unsup...

Question 1) Is the Records Management Module not needed in v3.2?
From our reading, Alfresco 3.2 now contains a number of Record Management features automatically.  (Ref: http://newton.typepad.com/content/2009/07/new-alfresco-32-was-designed-for-the-credit-crunch.html). However User Guide, appears to still talk about installing the module, Ref: http://wiki.alfresco.com/wiki/Records_Management_User_Guide, is it possible this just hasn't been updated yet for v3.2?

Question 2) If answer to question 1 is "yes the module is still needed". Then any advice the on below errors would be much appreciated,

Regards,
Craig

——————
Module 'org.alfresco.module.RecordsManagement' installed in '/opt/Alfresco/tomcat/webapps/alfresco.war'
   -    Title:        Records Management (UNSUPPORTED)
   -    Version:      1.3
   -    Install Date: Wed Jul 08 16:34:15 EST 2009
   -    Desription:   Alfresco Record Management Extension
[cht@safevm-alfresco-3-2 bin]$ sudo /etc/init.d/alfresco restart
——————–Cut from alfresco.log file———————
16:35:28,004 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
16:35:28,320 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Installing module 'org.alfresco.module.RecordsManagement' version 1.3.
16:35:36,085 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 06080002 Failed to start modules
        at org.alfresco.repo.module.ModuleComponentHelper$1.doWork(ModuleComponentHelper.java:308)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:489)
        at org.alfresco.repo.module.ModuleComponentHelper.startModules(ModuleComponentHelper.java:202)
        at org.alfresco.repo.module.ModuleServiceImpl.startModules(ModuleServiceImpl.java:143)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy70.startModules(Unknown Source)
        at org.alfresco.repo.module.ModuleStarter$1.execute(ModuleStarter.java:70)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:252)
        at org.alfresco.repo.module.ModuleStarter.onBootstrap(ModuleStarter.java:74)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 06080001 A module component 'org_alfresco_module_RecordsManagement_bootstrapGroups' failed to execute: 06080000 Bootstrap failed
        at org.alfresco.error.AlfrescoRuntimeException.create(AlfrescoRuntimeException.java:57)
        at org.alfresco.repo.module.AbstractModuleComponent.execute(AbstractModuleComponent.java:363)
        at org.alfresco.repo.module.ModuleComponentHelper.executeComponent(ModuleComponentHelper.java:651)
        at org.alfresco.repo.module.ModuleComponentHelper.startModule(ModuleComponentHelper.java:570)
        at org.alfresco.repo.module.ModuleComponentHelper.access$400(ModuleComponentHelper.java:63)
        at org.alfresco.repo.module.ModuleComponentHelper$1$1.execute(ModuleComponentHelper.java:245)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:233)
        at org.alfresco.repo.module.ModuleComponentHelper$1.doWork(ModuleComponentHelper.java:266)
        … 53 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 06080000 Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:352)
        at org.alfresco.repo.module.ImporterModuleComponent.executeInternal(ImporterModuleComponent.java:113)
        at org.alfresco.repo.module.AbstractModuleComponent.execute(AbstractModuleComponent.java:359)
        … 60 more
Caused by: org.alfresco.service.cmr.view.ImporterException: Path /sys:system/sys:authorities within node user://alfrescoUserStore/bb6e0ce9-110a-4e89-ae04-d1b98476e7d5 does not exist - the path must resolve to a valid location
        at org.alfresco.repo.importer.ImporterComponent.getNodeRef(ImporterComponent.java:267)
        at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:222)
        at org.alfresco.repo.importer.ImporterBootstrap.doImport(ImporterBootstrap.java:466)
        at org.alfresco.repo.importer.ImporterBootstrap.access$000(ImporterBootstrap.java:75)
        at org.alfresco.repo.importer.ImporterBootstrap$1$1.execute(ImporterBootstrap.java:341)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
        at org.alfresco.repo.importer.ImporterBootstrap$1.doWork(ImporterBootstrap.java:345)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:489)
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:348)
        … 62 more
——————–Cut from alfresco.log file———————
5 REPLIES 5

mikeh
Star Contributor
Star Contributor
We (the Engineering Team) thought there might be some confusion around RM following the recent press releases. That (unsupported) RM amp is for the JSF client and - as you've found out - has some problems. I recommend you replace the alfresco.war with the backup to get your system working again.

The DoD 5015.2 certification work that's currently in progress is for the Share web client. It's not complete, but there's some groundwork in-place in 3.2 to enable it to be delivered in September.

From a end-user point of view, you should ignore the RM part of the press release and look to September for the new RM module.

Thanks,
Mike

craigt
Champ in-the-making
Champ in-the-making
ok well, question answered.
Thanks,

Craig

luckyo
Champ in-the-making
Champ in-the-making
Thank you for your nice. I have the same problem like you ^0^.

I am waiting for new RM module.  Smiley Very Happy

ale_carraro
Champ in-the-making
Champ in-the-making
I've the same problem, but caused in a different way, so I'm not sure if I should write here or open a new thread.
I've the same problem as the error is being thrown by the groups bootstrap, and I copied - Smiley Surprisedops: I mean - was inspired by Record Management for my own group import.

The main problem is that the authorities container appears to be moved from the userStrore the the spacesStore, is this a mistake or is intentional? Because IMHO it made more sense in the user store than in the current position.

So when importing a group into /sys:system/sys:authorities you get
Caused by: org.alfresco.service.cmr.view.ImporterException: Path /sys:system/sys:authorities within node user://alfrescoUserStore/bb6e0ce9-110a- … b98476e7d5 does not exist - the path must resolve to a valid location
Because user://alfrescoUserStore/ node is there but /sys:system/sys:authorities is not there any more!

uasy
Champ in-the-making
Champ in-the-making
Thank you ale_carraro Smiley Happy
The main problem is that the authorities container appears to be moved from the userStrore the the spacesStore, is this a mistake or is intentional? Because IMHO it made more sense in the user store than in the current position.

sorry for english Smiley Sad

repack alfresco-recordsmanagement-unsupported.amp with changes…

\config\alfresco\module\org.alfresco.module.RecordsManagement\bootstrap\rm_groups.xml

<!–     
      <usr:authorityContainer view:childName="usr:GROUP_Record Managers">
        <view:aspects>
          <sys:referenceable></sys:referenceable>
        </view:aspects>
        <viewSmiley Tongueroperties>
          <sys:store-protocol>user</sys:store-protocol>
          <cm:name>GROUP_Record Managers</cm:name>
          <sys:node-uuid>GROUP_Record Managers</sys:node-uuid>
          <usr:authorityName>GROUP_Record Managers</usr:authorityName>
          <sys:store-identifier>alfrescoUserStore</sys:store-identifier>
        </viewSmiley Tongueroperties>
        <view:associations></view:associations>
      </usr:authorityContainer>
–>
      <cm:authorityContainer view:childName="cm:GROUP_Record Managers">
        <view:aspects>
          <sys:referenceable></sys:referenceable>
        </view:aspects>
        <viewSmiley Tongueroperties>
          <sys:store-protocol>user</sys:store-protocol>
          <cm:name>GROUP_Record Managers</cm:name>
          <sys:node-uuid>GROUP_Record Managers</sys:node-uuid>
          <cm:authorityName>GROUP_Record Managers</cm:authorityName>
          <sys:store-identifier>alfrescoUserStore</sys:store-identifier>
        </viewSmiley Tongueroperties>
        <view:associations></view:associations>
      </cm:authorityContainer>

\config\alfresco\module\org.alfresco.module.RecordsManagement\context\bootstrap-context.xml

<!– <property name="importer" ref="userBootstrap"/> –>
<property name="importer" ref="spacesBootstrap"/>