wuzhicms/jodconverter

Default to named pipes rather than sockets for OOo connections?

Closed this issue · 2 comments

With named pipes we don't need to take up TCP ports.

But named pipes require loading a native library, so only make them the
default if there's a way to have them work without manually setting
java.library.path when starting Java.

Original issue reported on code.google.com by mirko.na...@gmail.com on 18 Jan 2009 at 8:35

With OOo 3.0 the required native libs are in ure/lib, so e.g. on Linux the JVM 
needs
to be started with:

  -Djava.library.path=/opt/openoffice.org/ure/lib

Unfortunately the only way to manipulate java.library.path at runtime is by 
using
reflection in a way that is probably not portable across JVMs

  http://forums.sun.com/thread.jspa?threadID=707176

So I guess we'll need to keep using sockets by default, but maybe recommend 
using
pipes in the documentation where possible.

Original comment by mirko.na...@gmail.com on 25 Jan 2009 at 2:04

  • Changed state: Started

Original comment by mirko.na...@gmail.com on 25 Jan 2009 at 4:19

  • Changed state: WontFix