Thanks for the help. I did use the command to run openoffice in
background. but no use.
On Oct 19, 3:00 pm, Richard Gathogo <
muraguri2...@gmail.com> wrote:
> Hi Jerry,
> I have never used jodconverter 3 beta version, but I have used jodconverter
> 2.2.2. One I suggest you need to confirm if the connection exists. I will
> share with you the code hoping it helps you out.
>
> private OpenOfficeConnection openOfficeConnection=new
> SocketOpenOfficeConnection(8100);
> openOfficeConnection.connect();
>
> Of course this is with openoffice running in the background using this
> command soffice
> "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager"
> -nologo -headless
>
> To use the connection I always test if connected i.e.
> openOfficeConnection.isConnected(). This will return true if connected and
> false otherwise. I would advice you to put the open office connection in
> such a way that the connection will be reused. Please try something close to
> that and tell me what happens.
> Regards Richard Gathogo.
>