Forums

Home » Liferay Portal » Français

Combination View Flat View Tree View
Threads [ Previous | Next ]
faissal faissal
Problème connexion Alfresco 4.x et Liferay 6.1 via CMIS
December 29, 2013 6:57 AM
Answer

faissal faissal

Rank: New Member

Posts: 3

Join Date: December 29, 2013

Recent Posts

Bonjour les amis ,

Depuis 2 jours j'essaye de connecter Liferay à Alfresco via le protocole CMIS en suivant la publication
https://www.liferay.com/fr/web/jonas.yuan/blog/-/blogs/integrating-alfresco-through-cmis-in-liferay .

voici ma config :

session.store.password=true
dl.hook.impl=com.liferay.documentlibrary.util.CMISHook
dl.store.impl=com.liferay.portlet.documentlibrary.store.CMISStore
cmis.credentials.username=admin
cmis.credentials.password=admin
cmis.repository.url=http://localhost:8082/alfresco/service/cmis
cmis.repository.version=1.0
cmis.system.root.dir=Liferay Home


néanmoins quand j'essaye d'uploader un fichier sur mon portail j'ai l'erreur suivante :
 1
 2java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portlet.documentlibrary.store.CMISStore$SessionHolder
 3    at com.liferay.portlet.documentlibrary.store.CMISStore.<init>(CMISStore.java:63)
 4    at java.lang.Class.newInstance(Class.java:374)
 5    at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:63)
 6    at com.liferay.portal.kernel.util.InstanceFactory.newInstance(InstanceFactory.java:27)
 7    at com.liferay.portlet.documentlibrary.store.StoreFactory._getInstance(StoreFactory.java:132)
 8    at com.liferay.portlet.documentlibrary.store.StoreFactory.getInstance(StoreFactory.java:105)
 9    at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.hasFile(StoreProxyImpl.java:224)
10    at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.hasFile(SafeFileNameStoreWrapper.java:347)
11    at com.liferay.portlet.documentlibrary.store.DLStoreImpl.hasFile(DLStoreImpl.java:342)
12    at com.liferay.portlet.documentlibrary.store.DLStoreUtil.hasFile(DLStoreUtil.java:544)
13    at com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor.hasThumbnail(DLPreviewableProcessor.java:944)
14    at com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor.hasThumbnails(DLPreviewableProcessor.java:958)
15    at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl.hasImages(ImageProcessorImpl.java:146)
16    at com.liferay.portlet.documentlibrary.util.ImageProcessorUtil.hasImages(ImageProcessorUtil.java:149)
17    at com.liferay.portlet.documentlibrary.util.DLImpl.getThumbnailSrc(DLImpl.java:927)
18    at com.liferay.portlet.documentlibrary.util.DLUtil.getThumbnailSrc(DLUtil.java:310)
19    at org.apache.jsp.html.portlet.document_005flibrary.view_005ffile_005fentry_005ficon_jsp._jspService(view_005ffile_005fentry_005ficon_jsp.java:737)
20    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
21    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
22    at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)


NB : j'ai testé par 2 version 6.1 et 6.2 au vin .

Merci de m'aider sur ce problème je suis vraiment bloqué .

Faissal