如果报如下异常可能是服务器没有安装VC++ 2008运行时的原因
[BPM] 2013-11-04 08:40:00 ERROR DocConvertJob : ***** 异常信息 ***** 方法:switchDocToSwf at switch office to pdf
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:64)
at org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:101)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:62)
at com.muduo.core.job.DocConvertJob.execute(DocConvertJob.java:69)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:62)
... 5 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:142)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(ManagedOfficeProcess.java:31)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOfficeProcess.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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:662)
Caused by: java.io.IOException: Cannot run program "C:\dev\main\apache-tomcat-6.0.35\webapps\ROOT\include\OpenOffice\program\soffice.bin": CreateProcess error=14001, ӦÓóÌÐòΨÆô¶¯£¬ÒòΪӦÓóÌÐòµIJ¢ÐÐÅäÖò»Õýȷ¡£ÓйØÏêϸÐÅϢ£¬Çë²ÎÔÄӦÓóÌÐòʼþÈÕ־£¬»òʹÓÃÃüÁîÐ
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:93)
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:60)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:119)
... 8 more
Caused by: java.io.IOException: CreateProcess error=14001, ӦÓóÌÐòΨÆô¶¯£¬ÒòΪӦÓóÌÐòµIJ¢ÐÐÅäÖò»Õýȷ¡£ÓйØÏêϸÐÅϢ£¬Çë²ÎÔÄӦÓóÌÐòʼþÈÕ־£¬»òʹÓÃÃüÁîÐ
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)
... 11 more
[BPM] 2013-11-04 08:40:00 ERROR DocConvertJob : ***** 异常信息 ***** 方法:DocConvertJob execute
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.stopAndWait(ManagedOfficeProcess.java:77)
at org.artofsolving.jodconverter.office.PooledOfficeManager.stop(PooledOfficeManager.java:108)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.stop(ProcessPoolOfficeManager.java:91)
at com.muduo.core.job.DocConvertJob.execute(DocConvertJob.java:84)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not terminate process
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.stopAndWait(ManagedOfficeProcess.java:75)
... 5 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not terminate process
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doTerminateProcess(ManagedOfficeProcess.java:174)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStopProcess(ManagedOfficeProcess.java:154)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$100(ManagedOfficeProcess.java:31)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$2.run(ManagedOfficeProcess.java:71)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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:662)
Caused by: java.lang.NullPointerException
at org.artofsolving.jodconverter.process.PureJavaProcessManager.kill(PureJavaProcessManager.java:28)
at org.artofsolving.jodconverter.office.OfficeProcess.forciblyTerminate(OfficeProcess.java:207)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doTerminateProcess(ManagedOfficeProcess.java:171)
... 9 more
[BPM] 2013-11-04 09:51:45 ERROR DocConvertJob : ***** 异常信息 ***** 方法:switchDocToSwf at switch office to pdf
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:64)
at org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:101)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:62)
at com.muduo.core.job.DocConvertJob.execute(DocConvertJob.java:69)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:62)
... 5 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:142)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(ManagedOfficeProcess.java:31)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOfficeProcess.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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:662)
Caused by: java.io.IOException: Cannot run program "C:\dev\main\apache-tomcat-6.0.35\webapps\ROOT\include\OpenOffice\program\soffice.bin": CreateProcess error=14001, ӦÓóÌÐòΨÆô¶¯£¬ÒòΪӦÓóÌÐòµIJ¢ÐÐÅäÖò»Õýȷ¡£ÓйØÏêϸÐÅϢ£¬Çë²ÎÔÄӦÓóÌÐòʼþÈÕ־£¬»òʹÓÃÃüÁîÐ
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:93)
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:60)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:119)
... 8 more
Caused by: java.io.IOException: CreateProcess error=14001, ӦÓóÌÐòΨÆô¶¯£¬ÒòΪӦÓóÌÐòµIJ¢ÐÐÅäÖò»Õýȷ¡£ÓйØÏêϸÐÅϢ£¬Çë²ÎÔÄӦÓóÌÐòʼþÈÕ־£¬»òʹÓÃÃüÁîÐ
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)
... 11 more
[BPM] 2013-11-04 09:51:45 ERROR DocConvertJob : ***** 异常信息 ***** 方法:DocConvertJob execute
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.stopAndWait(ManagedOfficeProcess.java:77)
at org.artofsolving.jodconverter.office.PooledOfficeManager.stop(PooledOfficeManager.java:108)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.stop(ProcessPoolOfficeManager.java:91)
at com.muduo.core.job.DocConvertJob.execute(DocConvertJob.java:84)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not terminate process
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.stopAndWait(ManagedOfficeProcess.java:75)
... 5 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not terminate process
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doTerminateProcess(ManagedOfficeProcess.java:174)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStopProcess(ManagedOfficeProcess.java:154)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$100(ManagedOfficeProcess.java:31)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$2.run(ManagedOfficeProcess.java:71)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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:662)
Caused by: java.lang.NullPointerException
at org.artofsolving.jodconverter.process.PureJavaProcessManager.kill(PureJavaProcessManager.java:28)
at org.artofsolving.jodconverter.office.OfficeProcess.forciblyTerminate(OfficeProcess.java:207)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doTerminateProcess(ManagedOfficeProcess.java:171)
... 9 more
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:64)
at org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:101)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:62)
at com.muduo.core.job.DocConvertJob.execute(DocConvertJob.java:69)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:62)
... 5 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:142)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(ManagedOfficeProcess.java:31)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOfficeProcess.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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:662)
Caused by: java.io.IOException: Cannot run program "C:\dev\main\apache-tomcat-6.0.35\webapps\ROOT\include\OpenOffice\program\soffice.bin": CreateProcess error=14001, ӦÓóÌÐòΨÆô¶¯£¬ÒòΪӦÓóÌÐòµIJ¢ÐÐÅäÖò»Õýȷ¡£ÓйØÏêϸÐÅϢ£¬Çë²ÎÔÄӦÓóÌÐòʼþÈÕ־£¬»òʹÓÃÃüÁîÐ
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:93)
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:60)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:119)
... 8 more
Caused by: java.io.IOException: CreateProcess error=14001, ӦÓóÌÐòΨÆô¶¯£¬ÒòΪӦÓóÌÐòµIJ¢ÐÐÅäÖò»Õýȷ¡£ÓйØÏêϸÐÅϢ£¬Çë²ÎÔÄӦÓóÌÐòʼþÈÕ־£¬»òʹÓÃÃüÁîÐ
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)
... 11 more
[BPM] 2013-11-04 08:40:00 ERROR DocConvertJob : ***** 异常信息 ***** 方法:DocConvertJob execute
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.stopAndWait(ManagedOfficeProcess.java:77)
at org.artofsolving.jodconverter.office.PooledOfficeManager.stop(PooledOfficeManager.java:108)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.stop(ProcessPoolOfficeManager.java:91)
at com.muduo.core.job.DocConvertJob.execute(DocConvertJob.java:84)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not terminate process
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.stopAndWait(ManagedOfficeProcess.java:75)
... 5 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not terminate process
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doTerminateProcess(ManagedOfficeProcess.java:174)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStopProcess(ManagedOfficeProcess.java:154)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$100(ManagedOfficeProcess.java:31)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$2.run(ManagedOfficeProcess.java:71)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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:662)
Caused by: java.lang.NullPointerException
at org.artofsolving.jodconverter.process.PureJavaProcessManager.kill(PureJavaProcessManager.java:28)
at org.artofsolving.jodconverter.office.OfficeProcess.forciblyTerminate(OfficeProcess.java:207)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doTerminateProcess(ManagedOfficeProcess.java:171)
... 9 more
[BPM] 2013-11-04 09:51:45 ERROR DocConvertJob : ***** 异常信息 ***** 方法:switchDocToSwf at switch office to pdf
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:64)
at org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:101)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:62)
at com.muduo.core.job.DocConvertJob.execute(DocConvertJob.java:69)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:62)
... 5 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:142)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(ManagedOfficeProcess.java:31)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOfficeProcess.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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:662)
Caused by: java.io.IOException: Cannot run program "C:\dev\main\apache-tomcat-6.0.35\webapps\ROOT\include\OpenOffice\program\soffice.bin": CreateProcess error=14001, ӦÓóÌÐòΨÆô¶¯£¬ÒòΪӦÓóÌÐòµIJ¢ÐÐÅäÖò»Õýȷ¡£ÓйØÏêϸÐÅϢ£¬Çë²ÎÔÄӦÓóÌÐòʼþÈÕ־£¬»òʹÓÃÃüÁîÐ
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:93)
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:60)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:119)
... 8 more
Caused by: java.io.IOException: CreateProcess error=14001, ӦÓóÌÐòΨÆô¶¯£¬ÒòΪӦÓóÌÐòµIJ¢ÐÐÅäÖò»Õýȷ¡£ÓйØÏêϸÐÅϢ£¬Çë²ÎÔÄӦÓóÌÐòʼþÈÕ־£¬»òʹÓÃÃüÁîÐ
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)
... 11 more
[BPM] 2013-11-04 09:51:45 ERROR DocConvertJob : ***** 异常信息 ***** 方法:DocConvertJob execute
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.stopAndWait(ManagedOfficeProcess.java:77)
at org.artofsolving.jodconverter.office.PooledOfficeManager.stop(PooledOfficeManager.java:108)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.stop(ProcessPoolOfficeManager.java:91)
at com.muduo.core.job.DocConvertJob.execute(DocConvertJob.java:84)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not terminate process
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.stopAndWait(ManagedOfficeProcess.java:75)
... 5 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not terminate process
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doTerminateProcess(ManagedOfficeProcess.java:174)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStopProcess(ManagedOfficeProcess.java:154)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$100(ManagedOfficeProcess.java:31)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$2.run(ManagedOfficeProcess.java:71)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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:662)
Caused by: java.lang.NullPointerException
at org.artofsolving.jodconverter.process.PureJavaProcessManager.kill(PureJavaProcessManager.java:28)
at org.artofsolving.jodconverter.office.OfficeProcess.forciblyTerminate(OfficeProcess.java:207)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doTerminateProcess(ManagedOfficeProcess.java:171)
... 9 more
相关推荐
在Java中,我们可以利用JODConverter库,这是一个基于OpenOffice的文档转换工具,它可以轻松地将Office文档转换成其他格式,如PDF。 首先,你需要在你的项目中引入JODConverter依赖。如果你使用Maven,可以在pom....
ubuntu openoffic安装,系统文件管理,java开发 文件上传,文件在线编辑等工作。
- **服务器集成**:在服务器环境中部署OpenOffice API,用于无头渲染、文档转换或自动化办公流程。 - **协同工作**:利用API实现多人协作,跟踪修订,管理版本,提高团队工作效率。 在实际开发过程中,开发者可以...
在IT领域,文档转换是一项常见的任务,而JODConverter作为一款开源的Java库,广泛用于自动化转换各种文档格式,如.doc、.pdf、.odt等。然而,在实际应用中,正确配置并连接到OpenOffice服务可能会遇到一些挑战。本文...
在这个特定的问题"Java调用Linux CentOS系统安装的OpenOffice4报错"中,开发者可能在尝试使用Java来自动化处理文档,如转换Office格式,而OpenOffice4提供了一个开源的解决方案,可以将Microsoft Office文档转换为...
跨平台支持doc,docx,rtf的图片插入,不是生成文档,而是在现有文档上追加后生成新文档。 另外需要安装OpenOffic,并且启动服务,详情见jodconverter的官网。 使用到的技术有iText,poi,jodconverter 使用方法: 1、...
OpenOffice 4 不同操作系统兼容性启动命令。 升级版本启动命令。 之前缺少主引导,现在添加主引导。可支持window xp 、win7 等操作系统。
关于"在线预览"功能,Apache OpenOffice允许用户在Web浏览器中预览文档,但此功能可能需要额外的配置。你可以参考"安装流程.txt"文件中的指导,或访问Apache OpenOffice的官方网站获取更详细的在线预览设置步骤。 ...
下载日期2022年8月8日,真的是费了很大的劲下载的。 PS:我下载了2天,第一天下载到一半中断...本人最初用的是腾讯云的在线文档预览。后面遇到客户不想把资料传到腾讯云,所以找了很久,选择的openoffice进行在线预览。
在开发过程中,遇到“Visual Studio 未能加载文件或程序集解决方案”的问题,通常是由于多种...如果问题仍然存在,建议查阅官方文档或在线开发者社区(如Stack Overflow)寻求帮助,通常能在那里找到更具体的解决方案。
aarch64架构的,openoffice...这里提供相关的文件,启动方式和openoffice是一样的,解压即可使用。 这里提供相关的docker制作所需的文件资源。 文档说明,可以参考这里:https://juejin.cn/post/7264920384901808184
openoffice cmd启动命令 通过cmd来启动openoffic服务
这个文件是为那些在64位Linux环境下使用中文界面的用户设计的,它采用了RPM(Red Hat Package Manager)格式,这是Linux发行版中常见的软件包管理方式。 Apache OpenOffice是一款开源的办公软件套件,与Microsoft ...
1. Writer:文本编辑器,可以创建、编辑和格式化文档,支持各种复杂的排版和样式设置。 2. Calc:电子表格工具,类似于Excel,支持复杂的公式计算和数据分析。 3. Impress:演示文稿制作工具,用于创建动态的幻灯片...
OpenOffice与微软的Microsoft Office兼容性良好,使得文件格式转换变得更加便捷。 在下载的压缩包"ApacheOpenOffice4.1.6.tar.gz.zip"中,主要包含的是Apache OpenOffice 4.1.6的所有安装文件。这个压缩文件采用了...
首先,用户需要使用命令行工具如`tar`来解压文件,然后使用`yum`或`dnf`(取决于Linux发行版)来安装RPM包。安装完成后,用户可以在应用程序菜单中找到Apache OpenOffice并启动。 在使用Apache OpenOffice时,用户...
OpenOffice支持多种语言,可在所有常用计算机上使用,并以ODF(国际开放标准格式)存储数据,并且能够以其他格式(包括最常见的Office套件使用的格式)读写文件。OpenOffice还可以导出PDF格式的文件。OpenOffice支持...
Apache_OpenOffice_incubating_3.4.0_Win_x86_install_zh-CNApache_OpenOffice_incubating_3.4.0_Win_x86_install_zh-CNApache_OpenOffice_incubating_3.4.0_Win_x86_install_zh-CNApache_OpenOffice_incubating_...
安装版本Apache_OpenOffice_4.1.2,64位,OpenOffice.org 是一套跨平台的办公室软件套件,能在Windows、Linux、MacOS X (X11)和 Solaris 等操作系统上执行。它与各个主要的办公室软件套件兼容
Apache_OpenOffice最新版本Windows安装包和Linux安装包,linux包含rpm和deb安装包