Hello,
we have a Java application, which uses OpenOffice for migration Word documents into PDF files. This app gives now the message:
2022-04-08 01:07:54,406 SEVERE [com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection] (MessageDispatcher) disconnected unexpectedly
2022-04-08 01:07:54,409 ERROR [org.jboss.ejb.plugins.LogInterceptor] (http-185.15.247.198-443-4) RuntimeException in method: public abstract net.java.dev.strutsejb.dto.ResultDTO net.java.dev.strutsejb.ejb.StatelessFacade.execute(net.java.dev.strutsejb.EJBCommand) throws net.java.dev.strutsejb.AppLevelException:
com.artofsolving.jodconverter.openoffice.connection.OpenOfficeException: connection failed: socket,host=127.0.0.1,port=8100,tcpNoDelay=1
at com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection.connect(AbstractOpenOfficeConnection.java:81)
at com.piramide.elwis.cmd.utils.OpenOfficeConverterUtil.wordToPdf(Unknown Source)
at com.piramide.elwis.cmd.financemanager.InvoiceDocumentCmd.executeInStateless(Unknown Source)
at net.java.dev.strutsejb.ejb.StatelessFacadeBean.execute(StatelessFacadeBean.java:38)
at sun.reflect.GeneratedMethodAccessor423.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
What could be the reason for disconnecting?
Some information:
- CentOS 7.3
- starting OpenOffice via: /opt/openoffice.org3/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard > /dev/null 2>&1 &
- the same is working fine with the same applicatiion (ear) on another server
- the same is working fine on this server since years with a previous version of the app (same JDK, same OpenOffice instance, same JBoss version but other installation)
OpenOffice disconnected unexpectedly
OpenOffice disconnected unexpectedly
OpenOffice 3.1 on Linux
- Hagar Delest
- Moderator
- Posts: 32865
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: OpenOffice disconnected unexpectedly
Hi and welcome to the forum!
Have you tried with LibreOffice? Its development is much more active, it may give better results.
Have you tried with LibreOffice? Its development is much more active, it may give better results.
LibreOffice 24.8 on Xubuntu 24.10 and 24.8 portable on Windows 10
Re: OpenOffice disconnected unexpectedly
Have you tried going back to an earlier restore point at a time you know it was working? If it then works it is a change made since then.
That suggests there is something different between the two systems. Try to identify the difference.dirkjo wrote: - the same is working fine with the same application (ear) on another server
- the same is working fine on this server since years with a previous version of the app (same JDK, same OpenOffice instance, same JBoss version but other installation)
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Re: OpenOffice disconnected unexpectedly
No, we haven't tried LibreOffice yet.
I assume that the difference is in JBoss configuration. But I tried a lot to find differences and tested a lot and did many Jboss installations and configurations. But always with the same result. That's the reason I posted here in the hope to get a hint.
I assume that the difference is in JBoss configuration. But I tried a lot to find differences and tested a lot and did many Jboss installations and configurations. But always with the same result. That's the reason I posted here in the hope to get a hint.
OpenOffice 3.1 on Linux