I am trying to get record management to work with my alfresco.war on Fedora Core 6 Linux (I have alfresco 2.1 latest release working)
I did the following. 1. Downloaded the alfresco-recordsmanagement-2.1.0.amp 2. Downloaded mmt - alfresco-mmt-2.1.0.jar 3. created the new .war file as indicated in the readme file
Then on deploying the same, I see that it gets deployed but does not start. I tried all the means given in the forum(for RM) but no success. I see that issue RM16 indicates the same error as I am seeing. But I also see it marked as fixed in v1.3. So I don't know why I am getting this error. javascript:emoticon('')
I tried the latest nightly release for recordmanagement.amp, but still the same.
Please let me know if I am missing something.
Thanks, Hema
This is the catalina.out log I see.
INFO: Deploying web application archive alfresco.war 10:25:30,170 WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one 10:25:47,903 INFO [domain.schema.SchemaBootstrap] No changes were made to the schema. 10:25:52,448 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. 10:25:52,448 INFO [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data 10:25:52,765 INFO [admin.patch.PatchExecuter] Checking for patches to apply … 10:25:53,060 INFO [repo.module.ModuleServiceImpl] Found 1 module(s). 10:25:54,133 INFO [repo.module.ModuleServiceImpl] Installing module 'org.alfresco.module.RecordsManagement' version 1.3. 10:26:10,792 ERROR [web.context.ContextLoader] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: Failed to start modules at org.alfresco.repo.module.ModuleComponentHelper.startModules(ModuleComponentHelper.java:240) at org.alfresco.repo.module.ModuleServiceImpl.startModules(ModuleServiceImpl.java:132) 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:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210) at $Proxy45.startModules(Unknown Source) at org.alfresco.repo.module.ModuleStarter.onBootstrap(ModuleStarter.java :54) 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:241) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: org.alfresco.error.AlfrescoRuntimeException: A module component 'org_alfresco_module_RecordsManagement_bootstrapSpaces' failed to execute: Bootstrap failed at org.alfresco.error.AlfrescoRuntimeException.create(AlfrescoRuntimeException.java:54) at org.alfresco.repo.module.AbstractModuleComponent.execute(AbstractModuleComponent.java:348) at org.alfresco.repo.module.ModuleComponentHelper.executeComponent(ModuleComponentHelper.java:579) at org.alfresco.repo.module.ModuleComponentHelper.startModule(ModuleComponentHelper.java:498) at org.alfresco.repo.module.ModuleComponentHelper.access$000(ModuleComponentHelper.java:62) at org.alfresco.repo.module.ModuleComponentHelper$1.doWork(ModuleComponentHelper.java:222) at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:189) at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:127) at org.alfresco.repo.module.ModuleComponentHelper.startModules(ModuleComponentHelper.java:226) … 47 more Caused by: org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:444) at org.alfresco.repo.module.ImporterModuleComponent.executeInternal(ImporterModuleComponent.java:113) at org.alfresco.repo.module.AbstractModuleComponent.execute(AbstractModuleComponent.java:344) … 54 more Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 1539; column 21 due to error: Association {http://www.alfresco.org/model/record/1.0}filePlan is not valid for node {http://www.alfresco.org/model/content/1.0}folder at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:189) at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:360) at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:235) at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:430) … 56 more
I checked out the latest version from SVN and then built the record management module (amp) and the used it with my .war file and now it is working fine.
But just check the version of java, you are using. (You need jdk 1.5.x), if you are not(just in case), it is worth trying once with jdk1.5.x.