cancel
Showing results for 
Search instead for 
Did you mean: 

AlfrescoRuntimeException: 05120023 Failed to process ZIP fil

bwakkie
Champ in-the-making
Champ in-the-making
I have 1.5 Gb in pdf documents with utf-8 file names (mixed file names: Russian, English, Finnish, Chinese etc.) after I upload them via a zip I expect them to be extracted but it didn't. In the alfresco.log file i found the below error. Could this be the problem? The file name is too long. What is the minimum length?? (I suspect it is the Chinese file name because of the characters take more bytes and apparently Alfresco translates the file name into something else? The file length in the DB could cause this? I use PostgreSQL 8.4 and Alfresco Com. 3.3)

If it is the file length on just one file casing this it is just silly to stop processing a whole zip just for one file within, why not at least process the rest??

cheers,
Bastiaan

11:54:44,039 ERROR [org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl] Failed to execute asynchronous action: Action[ id=18ba5207-8ca5-4d25-8fcc-cb19acca75d3, node=null ]
org.alfresco.error.AlfrescoRuntimeException: 05120023 Failed to process ZIP file.
   at org.alfresco.repo.action.executer.ImporterActionExecuter.extractFile(ImporterActionExecuter.java:355)
   at org.alfresco.repo.action.executer.ImporterActionExecuter.executeImpl(ImporterActionExecuter.java:210)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:133)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:726)
   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:658)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:490)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:228)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:499)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:502)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException: /home/me/Alfresco/tomcat/temp/Alfresco/16f87ba3-8738-46e1-951f-559b76c96c43/ИКОРИСТАННЯ КОРЕЛЯЦІЙНОГО АНАЛІЗУ ВІДНОСНИХ ЧАСТОТ ЗУСТРІЧІ ФЕНІВ.pdf (File name too long)
   at java.io.FileOutputStream.open(Native Method)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
   at org.alfresco.repo.action.executer.ImporterActionExecuter.extractFile(ImporterActionExecuter.java:333)
   … 13 more
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
One thing to check: make sure your database is configured for UTF-8.

Thanks,
Mike

gyro_gearless
Champ in-the-making
Champ in-the-making
Another thing to check is if your underlying filesystem is Unicode-aware: i can remember some strange problems on Solaris when the filesystem was configured for plain ASCII  :wink:

So in doubt try unzipping your import files to some location and see if it looks OK….

HTH
Gyro