I'm trying to convert document to PDF using JOD converter + libraoffice. it seem to be working fine while it tested. but while 2 user trying to use it at same time it seems to be throwing the error.
Exception: \"InvokerInvocationException\", Message: \"org.jodconverter.core.office.OfficeException: Task
was cancelled: LocalConversionTask
LocalOfficeManager officeManager = LocalOfficeManager.builder()
.portNumbers(2002, 2003, 2004, 2005)
.officeHome("//opt//libreoffice7.5")
.maxTasksPerProcess(200)
.existingProcessAction(ExistingProcessAction.CONNECT)
.install()
.build();
do i need to check is my port open? bcoz i just copied the code of port from one of the website.
Please help me out.