Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Liferay S
Unable to upload file in document library folder
3 décembre 2013 09:29
Réponse

Liferay S

Rang: Junior Member

Publications: 53

Date d'inscription: 11 avril 2012

Publications Récentes

Hi Experts

I uploaded some of the files in document and media (6.1 GA2) they correctly uploaded but after that I am unable to upload the files. Even the server restart didn't help

The error that I encountered is below..

19:37:56,730 ERROR [http-bio-8080-exec-41][render_portlet_jsp:154] com.liferay.portal.kernel.util.TempFileNameException
at com.liferay.portal.kernel.util.TempFileUtil.validateFileName(TempFileUtil.java:203)
at com.liferay.portal.kernel.util.TempFileUtil.getTempFileName(TempFileUtil.java:163)
at com.liferay.portal.kernel.util.TempFileUtil.addTempFile(TempFileUtil.java:67)
at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.addTempFileEntry(DLAppServiceImpl.java:358)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at com.liferay.portlet.documentlibrary.service.DLAppServiceUtil.addTempFileEntry(DLAppServiceUtil.java:286)
at com.liferay.portlet.documentlibrary.action.EditFileEntryAction.addTempFileEntry(EditFileEntryAction.java:416)
at com.liferay.portlet.documentlibrary.action.EditFileEntryAction.processAction(EditFileEntryAction.java:135)
at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:169)

Scheduler has been started; value is: 7
19:38:04,320 ERROR [http-bio-8080-exec-42][render_portlet_jsp:154] com.liferay.portlet.documentlibrary.NoSuchFileException: /liferay_portal/liferay-portal-6.1.20-ee-ga2/data/document_store/0/0/liferay_temp/com.liferay.portlet.documentlibrary.action.EditFileEntryAction/10501/005-DustingProcedure.flv_temp.tmp
at com.liferay.portlet.documentlibrary.store.FileSystemStore.deleteFile(FileSystemStore.java:146)
at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.deleteFile(StoreProxyImpl.java:96)
at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.deleteFile(SafeFileNameStoreWrapper.java:134)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.deleteFile(DLStoreImpl.java:207)
at com.liferay.portlet.documentlibrary.store.DLStoreUtil.deleteFile(DLStoreUtil.java:274)
at com.liferay.portal.kernel.util.TempFileUtil.deleteTempFile(TempFileUtil.java:106)
at com.liferay.portlet.documentlibrary.action.EditFileEntryAction.addMultipleFileEntries(EditFileEntryAction.java:395)
at com.liferay.portlet.documentlibrary.action.EditFileEntryAction.addMultipleFileEntries(EditFileEntryAction.java:313)
at com.liferay.portlet.documentlibrary.action.EditFileEntryAction.processAction(EditFileEntryAction.java:132)
at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:169)
at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:212)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:548)
at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:579)
at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:294)
at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:944)
at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:688)
at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

Thanks in advance,
Sam
Pankaj Kathiriya
RE: Unable to upload file in document library folder
4 décembre 2013 07:37
Réponse

Pankaj Kathiriya

Rang: Liferay Master

Publications: 697

Date d'inscription: 4 août 2010

Publications Récentes

Based on exception stacktrace it seems that your file name is failing against validation method validateFileName of TempFileUtil.java. Try renaming documents and upload again.