Hello,
I am trying to use JODConverter with Java on Windows but I think the
service isn't being started properly.
I am trying something like that:
Runtime.getRuntime().exec("C:\Arquivos de programas\BrOffice.org
3\program\soffice.exe -
accept=socket,host=127.0.0.1,port=8100;urp;StarOffice.ServiceManager -
invisible -headless norestore -nofirststartwizard &");
But when I try to connect the OpenOfficeConnection I receive that
exception:
java.net.ConnectException: connection failed:
socket,host=localhost,port=8100,tcpNoDelay=1:
java.net.ConnectException: Connection refused: connect
at
com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection.connect(AbstractOpenOfficeConnection.java:
79)
If I run the same command directly in the Windows command prompt, the
exception is not thrown.
I don't know if the fact of the "soffice" is inside a folder that has
"spaces" on its name is preventing the service to start.
I hope someone can help me.
--
You received this message because you are subscribed to the Google Groups "JODConverter" group.
To post to this group, send email to
jodcon...@googlegroups.com.
To unsubscribe from this group, send email to
jodconverter...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/jodconverter?hl=en.