Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
behnaz eslami
preview videos in Document Library-Liferay 6.1.1 CE/GA2
27 de Junho de 2013 21:52
Resposta

behnaz eslami

Ranking: Junior Member

Mensagens: 53

Data de entrada: 13 de Novembro de 2011

Mensagens recentes

In Liferay 6.1.1 CE/GA2 I want to enable xuggler, and I did :

1- I downloaded "xuggle-xuggler-arch-i686-w64-mingw32.jar" from this link "http://xuggle.googlecode.com/svn/trunk/repo/share/java/xuggle/xuggle-xuggler/5.4/"

2- I copied it (xuggle-xuggler-arch-i686-w64-mingw32.jar) into this path WEB-INF/lib
3- Also I set xuggle.enable = true in portal-ext.properties
4- I restart the server.
5- finally it installed successfully. (I checked it in manager panel -> server administration->external-services)

but after each time that I add a video I have a lot of error in my liferay log file.

These are my errors in my log file:


06:51:27,966 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:509] com.liferay.portal.kernel.process.ProcessException: java.io.IOExcept
ion: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
com.liferay.portal.kernel.process.ProcessException: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:98)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:473)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:504)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:407)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:53)
... 12 more
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 13 more
06:51:27,971 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:340] com.liferay.portal.kernel.process.ProcessException: java.io.IOExcept
ion: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
com.liferay.portal.kernel.process.ProcessException: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:98)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:325)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:419)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:53)
... 11 more
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 12 more
06:51:28,022 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:425] com.liferay.portal.kernel.exception.SystemException: com.liferay.por
tlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
com.liferay.portal.kernel.exception.SystemException: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:352)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:419)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
at com.liferay.portlet.documentlibrary.store.BaseStore.addFile(BaseStore.java:108)
at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.addFile(StoreProxyImpl.java:52)
at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.addFile(SafeFileNameStoreWrapper.java:70)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.addFile(DLStoreImpl.java:100)
at com.liferay.portlet.documentlibrary.store.DLStoreUtil.addFile(DLStoreUtil.java:123)
at com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor.addFileToStore(DLPreviewableProcessor.java:218)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.storeThumbnailImages(VideoProcessorImpl.java:243)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:343)
... 10 more
06:51:29,417 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:509] com.liferay.portal.kernel.process.ProcessException: java.io.IOExcept
ion: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
com.liferay.portal.kernel.process.ProcessException: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:98)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:473)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:504)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:407)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:53)
... 12 more
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 13 more
06:51:29,430 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:340] com.liferay.portal.kernel.process.ProcessException: java.io.IOExcept
ion: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
com.liferay.portal.kernel.process.ProcessException: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:98)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:325)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:419)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:53)
... 11 more
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 12 more
06:51:29,475 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:425] com.liferay.portal.kernel.exception.SystemException: com.liferay.por
tlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
com.liferay.portal.kernel.exception.SystemException: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:352)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:419)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
at com.liferay.portlet.documentlibrary.store.BaseStore.addFile(BaseStore.java:108)
at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.addFile(StoreProxyImpl.java:52)
at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.addFile(SafeFileNameStoreWrapper.java:70)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.addFile(DLStoreImpl.java:100)
at com.liferay.portlet.documentlibrary.store.DLStoreUtil.addFile(DLStoreUtil.java:123)
at com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor.addFileToStore(DLPreviewableProcessor.java:218)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.storeThumbnailImages(VideoProcessorImpl.java:243)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:343)
... 10 more
06:51:32,353 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:509] com.liferay.portal.kernel.process.ProcessException: java.io.IOExcept
ion: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
com.liferay.portal.kernel.process.ProcessException: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:98)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:473)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:504)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:407)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:53)
... 12 more
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 13 more
06:51:32,355 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:340] com.liferay.portal.kernel.process.ProcessException: java.io.IOExcept
ion: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
com.liferay.portal.kernel.process.ProcessException: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:98)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:325)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:419)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:53)
... 11 more
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 12 more
06:51:32,357 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:425] com.liferay.portal.kernel.exception.SystemException: com.liferay.por
tlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
com.liferay.portal.kernel.exception.SystemException: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:352)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:419)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
at com.liferay.portlet.documentlibrary.store.BaseStore.addFile(BaseStore.java:108)
at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.addFile(StoreProxyImpl.java:52)
at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.addFile(SafeFileNameStoreWrapper.java:70)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.addFile(DLStoreImpl.java:100)
at com.liferay.portlet.documentlibrary.store.DLStoreUtil.addFile(DLStoreUtil.java:123)
at com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor.addFileToStore(DLPreviewableProcessor.java:218)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.storeThumbnailImages(VideoProcessorImpl.java:243)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:343)
... 10 more
06:51:32,744 WARN [http-bio-8085-exec-10][PDFProcessorImpl:210] Liferay is not configured to use ImageMagick. For better quality document and image preview
s, install ImageMagick and enable it in portal-ext.properties or in the Server Administration control panel at: http://<server>/group/control_panel/manage/-
/server/external-services
07:09:20,948 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:509] com.liferay.portal.kernel.process.ProcessException: java.io.IOExcept
ion: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
com.liferay.portal.kernel.process.ProcessException: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:98)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:473)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:504)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:407)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:53)
... 12 more
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 13 more
07:09:20,951 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:340] com.liferay.portal.kernel.process.ProcessException: java.io.IOExcept
ion: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
com.liferay.portal.kernel.process.ProcessException: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:98)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:325)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:419)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:53)
... 11 more
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 12 more
07:09:20,952 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:425] com.liferay.portal.kernel.exception.SystemException: com.liferay.por
tlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
com.liferay.portal.kernel.exception.SystemException: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:352)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:419)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
at com.liferay.portlet.documentlibrary.store.BaseStore.addFile(BaseStore.java:108)
at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.addFile(StoreProxyImpl.java:52)
at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.addFile(SafeFileNameStoreWrapper.java:70)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.addFile(DLStoreImpl.java:100)
at com.liferay.portlet.documentlibrary.store.DLStoreUtil.addFile(DLStoreUtil.java:123)
at com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor.addFileToStore(DLPreviewableProcessor.java:218)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.storeThumbnailImages(VideoProcessorImpl.java:243)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:343)
... 10 more
07:09:26,724 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:509] com.liferay.portal.kernel.process.ProcessException: java.io.IOExcept
ion: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
com.liferay.portal.kernel.process.ProcessException: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:98)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:473)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideoXuggler(VideoProcessorImpl.java:504)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:407)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:53)
... 12 more
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 13 more
07:09:26,740 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:340] com.liferay.portal.kernel.process.ProcessException: java.io.IOExcept
ion: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
com.liferay.portal.kernel.process.ProcessException: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:98)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:325)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:419)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot run program "java": CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.liferay.portal.kernel.process.ProcessExecutor.execute(ProcessExecutor.java:53)
... 11 more
Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 12 more
07:09:26,743 ERROR [liferay/document_library_video_processor-1][VideoProcessorImpl:425] com.liferay.portal.kernel.exception.SystemException: com.liferay.por
tlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
com.liferay.portal.kernel.exception.SystemException: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:352)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateVideo(VideoProcessorImpl.java:419)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.generateVideo(VideoProcessorImpl.java:77)
at com.liferay.portlet.documentlibrary.util.VideoProcessorUtil.generateVideo(VideoProcessorUtil.java:30)
at com.liferay.portlet.documentlibrary.messaging.VideoProcessorMessageListener.doReceive(VideoProcessorMessageListener.java:37)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.liferay.portlet.documentlibrary.NoSuchFileException: document_thumbnail/10180/34/13602/13603.jpg
at com.liferay.portlet.documentlibrary.store.BaseStore.addFile(BaseStore.java:108)
at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.addFile(StoreProxyImpl.java:52)
at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.addFile(SafeFileNameStoreWrapper.java:70)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.addFile(DLStoreImpl.java:100)
at com.liferay.portlet.documentlibrary.store.DLStoreUtil.addFile(DLStoreUtil.java:123)
at com.liferay.portlet.documentlibrary.util.DLPreviewableProcessor.addFileToStore(DLPreviewableProcessor.java:218)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl.storeThumbnailImages(VideoProcessorImpl.java:243)
at com.liferay.portlet.documentlibrary.util.VideoProcessorImpl._generateThumbnailXuggler(VideoProcessorImpl.java:343)
... 10 more


Also I attached my .jar file for installing xuggler on liferay 6.1.1
How can I solve it????????
Anexos: xuggle-xuggler-arch-i686-w64-mingw32.jar (6.135,5k)
Juan Gonzalez
RE: preview videos in Document Library-Liferay 6.1.1 CE/GA2
28 de Junho de 2013 01:46
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 2947

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

Hi Behnaz,

Seems this is a problem with windows classppath being too long.

What is your enviroment? (Windows version and 32 or 64 bit)?

What is your application server?

How do you startup your server (via Eclipse or manually) ?

Do you use Java JDK or JRE? Is your "java" binary in your PATH?
Juan Gonzalez
RE: preview videos in Document Library-Liferay 6.1.1 CE/GA2
28 de Junho de 2013 03:07
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 2947

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

Hi again Behnaz,

I believe I have the solution. Because of windows classpath problem, the only workaround would be disabling the fork (hence no java process is created).

Try setting this property in your portal-ext.properties and restart:

1dl.file.entry.preview.fork.process.enabled=false


Realize that this workaround could cause a crash in your portal if so happens while generating previews.

Thanks.
Juan Gonzalez
RE: preview videos in Document Library-Liferay 6.1.1 CE/GA2
28 de Junho de 2013 03:22
Resposta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 2947

Data de entrada: 28 de Outubro de 2008

Mensagens recentes

Please confirm if solution above works.
Subhash Pavuskar
RE: preview videos in Document Library-Liferay 6.1.1 CE/GA2
28 de Junho de 2013 03:57
Resposta

Subhash Pavuskar

Ranking: Regular Member

Mensagens: 234

Data de entrada: 12 de Março de 2012

Mensagens recentes

Hi ,

Pls find below Link hope this may help you !!
Link
behnaz eslami
RE: preview videos in Document Library-Liferay 6.1.1 CE/GA2
29 de Junho de 2013 01:35
Resposta

behnaz eslami

Ranking: Junior Member

Mensagens: 53

Data de entrada: 13 de Novembro de 2011

Mensagens recentes

Juan Gonzalez:
Hi again Behnaz,

I believe I have the solution. Because of windows classpath problem, the only workaround would be disabling the fork (hence no java process is created).

Try setting this property in your portal-ext.properties and restart:

1dl.file.entry.preview.fork.process.enabled=false


Realize that this workaround could cause a crash in your portal if so happens while generating previews.

Thanks.


Thanks Juan, after set
11dl.file.entry.preview.fork.process.enabled=false
in portal-ext.properties. I could add video and see the video preview.