soffice headless on server consumes 100% CPU

Manfred Rebentisch mrebentisch at
Thu May 23 15:18:31 UTC 2019


if I start soffice with


it runs normal.
But if I want to connect from client C++ programm:

sConnectionString =

xContextM = ::cppu::defaultBootstrap_InitialComponentContext();

xServiceManagerM = xContextM->getServiceManager();
xResolverM = Reference< XUnoUrlResolver > (xInterfaceM, UNO_QUERY);

xInterfaceM = Reference< XInterface >(
            xResolverM->resolve( sConnectionString ), UNO_QUERY );

it throws an exception with: "UNO URL does not start with "uno:" "

if I start soffice with


it runs normal. And if I use

sConnectionString = "socket,host=localhost,port=2083;urp";

from C++ program, I get the same exception.

I am on the beginning using libreoffice on this side. I missing
information about using this libraries.

I want to open existing documents, replace placeholders with values from
databases and generate output for Calc Documents, PDF and Excel.

Am 23.05.19 um 14:22 schrieb Jan-Marek Glogowski:
> Hi Manfred,
> Would be nice if you can file a bug report[1].

Never done this before for, have no account there...


COMPARAT Software-Entwicklungs-GmbH
Willy-Brandt-Allee 31a
23554 L├╝beck

More information about the LibreOffice mailing list