| View previous topic :: View next topic |
| Author |
Message |
emanuelbatera Newbie

Joined: 18 Dec 2008 Posts: 1
|
Posted: Thu Dec 18, 2008 10:12 am Post subject: Error JodConverter |
|
|
I need help to error in jodconverter:
conversion failed: could not save output document; OOo errorCode: 525
Any Idea?
Tanks. |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3533 Location: Hamburg, Germany
|
Posted: Thu Dec 18, 2008 12:15 pm Post subject: Re: Error JodConverter |
|
|
| emanuelbatera wrote: | | Any Idea? |
Oh, you already posted the same question in the JOD Converter forum. |
|
| Back to top |
|
 |
dula Newbie

Joined: 18 Nov 2010 Posts: 3
|
Posted: Sat Dec 18, 2010 9:53 pm Post subject: same problem here |
|
|
| I have got same problem. is anybody have idea about it? |
|
| Back to top |
|
 |
dula Newbie

Joined: 18 Nov 2010 Posts: 3
|
Posted: Sat Dec 18, 2010 9:55 pm Post subject: I got result like this |
|
|
Dec 19, 2010 10:45:26 AM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager <init>
INFO: ProcessManager implementation is WindowsProcessManager
Dec 19, 2010 10:45:26 AM org.artofsolving.jodconverter.office.OfficeProcess prepareInstanceProfileDir
WARNING: profile dir 'C:\DOCUME~1\Chamara\LOCALS~1\Temp\.jodconverter_socket_host-127.0.0.1_port-2002' already exists; deleting
Dec 19, 2010 10:45:27 AM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir 'C:\DOCUME~1\Chamara\LOCALS~1\Temp\.jodconverter_socket_host-127.0.0.1_port-2002'
Dec 19, 2010 10:45:27 AM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process
Dec 19, 2010 10:45:31 AM org.artofsolving.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
org.artofsolving.jodconverter.office.OfficeException: could not store document: file_format.pdf; errorCode: 525
at org.artofsolving.jodconverter.AbstractConversionTask.storeDocument(AbstractConversionTask.java:118)
at org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:63)
at org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOfficeManager.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.star.task.ErrorCodeIOException:
at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:182)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:313)
at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:101)Document Exception!org.artofsolving.jodconverter.office.OfficeException: could not store document: file_format.pdf; errorCode: 525
at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:652)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:154)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:136)
at $Proxy8.storeToURL(Unknown Source)
at org.artofsolving.jodconverter.AbstractConversionTask.storeDocument(AbstractConversionTask.java:116)
... 8 more |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3533 Location: Hamburg, Germany
|
|
| Back to top |
|
 |
dula Newbie

Joined: 18 Nov 2010 Posts: 3
|
Posted: Sun Dec 19, 2010 3:39 am Post subject: thank you |
|
|
thank you for the reply  |
|
| Back to top |
|
 |
anhvurz90 Newbie

Joined: 10 Jun 2012 Posts: 1
|
Posted: Sun Jun 10, 2012 7:37 pm Post subject: |
|
|
Hi all,
I meet the same problem as you mentioned above.
The problem only appears when :
1.I start the Office Service by java code, not manally like this:
OfficeManager officeManager = new
DefaultOfficeManagerConfiguration().buildOfficeManager();
officeManager.start();
OfficeDocumentConverter converter = new
OfficeDocumentConverter(officeManager);
converter.convert(new File("test.odt"), new File("test.pdf");
officeManager.stop();
or
OfficeManager officeManager = new
DefaultOfficeManagerConfiguration()
.setOfficeHome("/usr/lib/openoffice")
.setConnectionProtocol(OfficeConnectionProtocol.PIPE)
.setPipeNames("office1", "office2")
.setTaskExecutionTimeout(30000L)
.buildOfficeManager();
2.I run my application in Windows(xp or Win7 etc.). If I run my application in Ubuntu, everything is OK, JODConverter works well.
Can you help me please?
Regards,
Vu Nguyen
p/s: I use tomcat, and I already tried to set the permission of output and input files as 777.
It does not work, neither.
If I start Office service manually, (using /soffice.bin -headless -
nofirststartwizard -
accept="socket,host=localhost,port=8100;urp;StarOffice.Service" &), JODConverter works well in both Linux or Windows. |
|
| Back to top |
|
 |
|