AnsweredAssumed Answered

Can not import record_space.acp into Alfresco 1.4

Question asked by why1525 on Nov 8, 2006
Latest reply on Nov 23, 2006 by why1525
Hi,

I got a problem when i want to import the record_space.acp into Company Home. I follow the wiki guideline but still fail. According to wiki, if successful import the file then a Record Space will appear right? But when I import, the Tomcat console show error and the record_space.acp go into the Company Home content item.

This is the log file that i found:
    00:08:21,437 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script: C:\Program Files\Alfresco ECMS Community Network\tomcat\temp\Alfresco\AlfrescoSchemaCreate-org.hibernate.dialect.HSQLDialect-54975.sql
    00:08:21,890 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script: classpath:alfresco/dbscripts/create/1.4/${db.script.dialect}/post-create-indexes.sql
    00:09:02,109 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
    00:09:02,421 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506.313MB
    00:09:02,421 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 1.4.0 (build-105) schema 21 - Installed version 1.4.0 (build-105) schema 21
    00:22:30,937 ERROR [org.alfresco.repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'import'.
    org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 84; column 48 due to error: Namespace URI http://www.alfresco.org/model/record/1.0 has not been defined in the Repository dictionary
       at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:171)
       at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:344)
       at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:222)
       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:335)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
       at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:32)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:41)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:210)
       at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:156)
       at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:61)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
       at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
       at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
       at $Proxy53.importView(Unknown Source)
       at org.alfresco.repo.action.executer.ImporterActionExecuter.executeImpl(ImporterActionExecuter.java:121)
       at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:112)
       at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:524)
       at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:456)
       at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:296)
       at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:168)
       at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:108)
       at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:286)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
    Caused by: org.alfresco.service.cmr.view.ImporterException: Namespace URI http://www.alfresco.org/model/record/1.0 has not been defined in the Repository dictionary
       at org.alfresco.repo.importer.view.ViewParser.getName(ViewParser.java:890)
       at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewParser.java:192)
       at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:157)
       … 34 more
I hope someone who experience this will help me…

Thanks you.

Outcomes