openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wentao Liu" <cscmu...@aliyun.com>
Subject How to set JOD convert timeout value
Date Wed, 04 Feb 2015 14:49:01 GMT
Hello,

 

I used OM 2.0 incubator to upload a 20M .ppt file in public conference room. It takes about
one minute to upload file and then takes a long time to convert file, finally I got an error
message as bellow. Looked like the timeout value is 2 minutes. 

 

But When I manually convert the .ppt file to .pdf and get a 4.5M file, then I  did the same
upload and it works. So Can anybody help to set the timeout parameter to allow upload large
size files or any good methods. Please help. Thanks.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Name: out

Value: 

Name: exitValue

Value: 1

Name: command

Value: [java, -Doffice.home=D:\Program Files (x86)\OpenOffice 4, -cp, C:\red5\webapps\onemeeting\jodconverter-core-3.0-beta-4\lib\commons-cli-1.1.jar,
-cp, C:\red5\webapps\onemeeting\jodconverter-core-3.0-beta-4\lib\commons-io-1.4.jar, -cp,
C:\red5\webapps\onemeeting\jodconverter-core-3.0-beta-4\lib\jodconverter-core-3.0-beta-4.jar,
-cp, C:\red5\webapps\onemeeting\jodconverter-core-3.0-beta-4\lib\json-20090211.jar, -cp, C:\red5\webapps\onemeeting\jodconverter-core-3.0-beta-4\lib\juh-3.2.1.jar,
-cp, C:\red5\webapps\onemeeting\jodconverter-core-3.0-beta-4\lib\jurt-3.2.1.jar, -cp, C:\red5\webapps\onemeeting\jodconverter-core-3.0-beta-4\lib\ridl-3.2.1.jar,
-cp, C:\red5\webapps\onemeeting\jodconverter-core-3.0-beta-4\lib\unoil-3.2.1.jar, -jar, C:\red5\webapps\onemeeting\jodconverter-core-3.0-beta-4\lib\jodconverter-core-3.0-beta-4.jar,
C:\red5\webapps\onemeeting\uploadtemp\files\199b4f79dd5ec917df85d22df617aff6.ppt, C:\red5\webapps\onemeeting\upload\files\199b4f79dd5ec917df85d22df617aff6\199b4f79dd5ec917df85d22df617aff6.pdf]

Name: error

Value: ���� 04, 2015 10:44:26 ���� org.artofsolving.jodconverter.office.ProcessPoolOfficeManager


��Ϣ: ProcessManager implementation is PureJavaProcessManager

���� 04, 2015 10:44:26 ���� org.artofsolving.jodconverter.office.OfficeProcess
start

��Ϣ: starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
and profileDir 'C:\Users\ADMINI~1\AppData\Local\Temp\2\.jodconverter_socket_host-127.0.0.1_port-2002'

���� 04, 2015 10:44:26 ���� org.artofsolving.jodconverter.office.OfficeProcess
start

��Ϣ: started process

���� 04, 2015 10:44:27 ���� org.artofsolving.jodconverter.office.OfficeConnection
connect

��Ϣ: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'

���� 04, 2015 10:46:27 ���� org.artofsolving.jodconverter.office.ProcessPoolOfficeManager
stop

��Ϣ: stopping

���� 04, 2015 10:46:27 ���� org.artofsolving.jodconverter.office.OfficeProcess
forciblyTerminate

��Ϣ: trying to forcibly terminate process: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'

���� 04, 2015 10:46:27 ���� org.artofsolving.jodconverter.office.OfficeConnection$1
disposing

��Ϣ: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'

���� 04, 2015 10:46:27 ���� org.artofsolving.jodconverter.office.ManagedOfficeProcess
doTerminateProcess

��Ϣ: process forcibly terminated with code 1

���� 04, 2015 10:46:27 ���� org.artofsolving.jodconverter.office.OfficeProcess
forciblyTerminate

��Ϣ: trying to forcibly terminate process: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'

���� 04, 2015 10:46:27 ���� org.artofsolving.jodconverter.office.ManagedOfficeProcess
doTerminateProcess

��Ϣ: process forcibly terminated with code 1

���� 04, 2015 10:46:27 ���� org.artofsolving.jodconverter.office.ManagedOfficeProcess
doEnsureProcessExited

��Ϣ: process exited with code 1

���� 04, 2015 10:46:27 ���� org.artofsolving.jodconverter.office.ProcessPoolOfficeManager
stop

��Ϣ: stopped

Exception in thread "main" org.artofsolving.jodconverter.office.OfficeException: task did
not complete within timeout

            at org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:88)

            at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(ProcessPoolOfficeManager.java:78)

            at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)

            at org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)

            at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:118)

Caused by: java.util.concurrent.TimeoutException

            at java.util.concurrent.FutureTask.get(FutureTask.java:201)

            at org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:85)

            ... 4 more

 

Name: process

Value: doJodConvert

Name: exitValue

Value: 0

Name: command

Value: 

Name: completeName

Value: C:\red5\webapps\onemeeting\uploadtemp\files\199b4f79dd5ec917df85d22df617aff6

Name: error

Value: 

Name: fileExplorerItemId

Value: 28

Name: process

Value: 

Name: exitValue

Value: 0

Name: process

Value: generateXMLDocument

Name: exitValue

Value: 0

Name: command

Value: [Ljava.lang.String;@143c4ad

Name: error

Value: 

Name: process

Value: processImageWindows

Name: exitValue

Value: 0

Name: process

Value: processPDF

Name: out

Value: 

Name: exitValue

Value: 1

Name: command

Value: [D:\Program Files (x86)\SWFTools\pdf2swf.exe, -s, insertstop, -s, poly2bitmap, -i,
-j, 85, -s, zoom=72, C:\red5\webapps\onemeeting\upload\files\199b4f79dd5ec917df85d22df617aff6\199b4f79dd5ec917df85d22df617aff6.pdf,
C:\red5\webapps\onemeeting\upload\files\199b4f79dd5ec917df85d22df617aff6\199b4f79dd5ec917df85d22df617aff6.swf]

Name: error

Value: Error: Couldn't open file 'C:\red5\webapps\onemeeting\upload\files\199b4f79dd5ec917df85d22df617aff6\199b4f79dd5ec917df85d22df617aff6.pdf'

 

Name: process

Value: generateSwf

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message