Error When Converting via LibreOffice

Error Message Could not bootstrap

Error message in the server log
INFO  [LibreOfficeInstancePool] Creating an instance
ERROR [ManagedLibreOfficeInstance] Could not bootstrap
com.sun.star.comp.helper.BootstrapException: no office executable found!
   at com.levigo.jadice.server.libreoffice.server.ManagedOOOInstance.launchOOOProcess(ManagedLibreOfficeInstance.java:102)
   at com.levigo.jadice.server.libreoffice.server.ManagedLibreOfficeInstance.<init>(ManagedLibreOfficeInstance.java:86) (…)
Cause

LibreOffice is not configured correctly.

Solution

Adjust the file server-config/jadice-server-local.options, see the section called “Configuring LibreOffice”

Error Message Could not initialize class

Environment

LibreOffice Portable Windows Server 2008

Error message in the server log
java.lang.NoClassDefFoundError: Could not initialize class com.sun.star.lib.connections.pipe.PipeConnection
        at com.sun.star.lib.connections.pipe.pipeConnector.connect(pipeConnector.java:110)
        at com.sun.star.comp.connections.Connector.connect(Connector.java:114)
        at  com.levigo.jadice.server.core.util.ManagedObjectPool.borrowObject(ManagedObjectPool.java:52) (…)
Cause

LibreOffice not configured correctly.

Solution

When using LibreOfficePortable the following path has to be entered into the system variable Path: <LibreOffice-Verzeichnis>/App/libreoffice/program/.

Dialog Displayed When an Error Occurs in Converting to PDF

Displayed Dialog Box

Figure 10.3. Error Message When Launching LibreOffice Manually

During PDF export the following problems occurred: PDF/A transparency

Cause

This dialog occurs if jadice server is running on a computer on which the client development takes place simultaneously and thus another instance of LibreOffice is open.

Solution

Terminate all instances of LibreOffice (soffice.exe / soffice.bin in the task manager) as well as the LibreOffice quick launcher. When converting again LibreOffice is launched as headless and the dialog should not occur any more.

[jadice server Version 5.8.7.0: Documentation for Developers and Administrators. Published: 2021-04-15]