添加Alfresco 5存储库作为外部liferay 6.2存储库

时间:2015-02-16 09:56:32

标签: liferay alfresco cmis

我会在我的liferay系统中使用Alfresco存储库。 我使用了这个信息Liferay wiki about CMIS repository integration

Liferay和Alfresco都使用相同的LDAP。 我在我的生活中创建了一个自定义文档和媒体portlet,显示外部Alfresco存储库。 但是id作为admin注销并以用户身份登录,portlet不显示外部存储库。 此外,在一些登录和注销后,管理员也无法看到外部存储库,并且portlet(必须显示露天用户主文件夹)现在显示错误:找不到该文件夹​​。 我在Liferay日志中看到错误如

 No channel exists with user id 11439

或喜欢

08:59:01,255 ERROR [RuntimePageImpl-15][render_portlet_jsp:132] null
com.liferay.portal.NoSuchRepositoryEntryException: No RepositoryEntry exists with the primary key 14723
        at com.liferay.portal.service.persistence.RepositoryEntryPersistenceImpl.findByPrimaryKey(RepositoryEntryPersistenceImpl.java:2678)
        at com.liferay.portal.service.persistence.RepositoryEntryPersistenceImpl.findByPrimaryKey(RepositoryEntryPersistenceImpl.java:2696)
        at com.liferay.portal.service.impl.RepositoryLocalServiceImpl.createRepositoryImpl(RepositoryLocalServiceImpl.java:418)
        at com.liferay.portal.service.impl.RepositoryLocalServiceImpl.getRepositoryImpl(RepositoryLocalServiceImpl.java:367)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
        at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        at com.liferay.portal.service.impl.RepositoryServiceImpl.getRepositoryImpl(RepositoryServiceImpl.java:140)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
        at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.getFolderRepository(DLAppServiceImpl.java:3412)

此外,如果我重新启动两个系统错误仍然存​​在。 我可以再次创建外部存储库...但是在一些登录注销后我又遇到了同样的问题! 提前谢谢!

0 个答案:

没有答案