Joined: 06 Aug 2008
|Posted: Wed Aug 06, 2008 4:51 am Post subject: Multiple instance of OOo
I'm using JODConverter (http://www.artofsolving.com/opensource/jodconverter) to convert file from ODT to PDF. I'm launching OpenOffice in command line for it toaccept socket connection.
This works pretty fine, but require the launch of OpenOffice. Since this step is quite heavy, I start openoffice with my app and close it only when exiting, leaving the socket open for the time the application is running.
Now my question is : how can I open another instance of openoffice ? So my users can still use their OpenOffice ? I tried the -env:UserInstallation parameters but when used (and I don't know why) OpenOffice seems to stop listenning on the specified port.
The command line I use is : /Applications/OpenOffice.org.app/Contents/MacOS/soffice.bin -env:UserInstallation=test -headless -accept="socket,host=127.0.0.1,port=8100,tcpNoDelay=1;urp"
I'm running OO.o 3Beta 2 on MAc os X 10.5, any thoughts are welcome.