OpenOffice disconnected unexpectedly

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
dirkjo
Posts: 2
Joined: Tue Apr 12, 2022 6:24 pm

OpenOffice disconnected unexpectedly

Post by dirkjo »

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 3.1 on Linux
User avatar
Hagar Delest
Moderator
Posts: 32865
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: OpenOffice disconnected unexpectedly

Post by Hagar Delest »

Hi and welcome to the forum!

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
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: OpenOffice disconnected unexpectedly

Post by John_Ha »

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.
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)
That suggests there is something different between the two systems. Try to identify the difference.
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.
dirkjo
Posts: 2
Joined: Tue Apr 12, 2022 6:24 pm

Re: OpenOffice disconnected unexpectedly

Post by dirkjo »

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.
OpenOffice 3.1 on Linux
Post Reply