Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,

When I try to connect to libreoffice over a uno socket 
(com.sun.star.bridge.UnoUrlResolver) in most cases I need to try at least two 
times because the socket is not (yet) open:

Cannot establish a connection using 
'uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager': Connector 
: couldn't connect to socket (Erfolg)

At least this is what I would interpret into this error message. Is this 
correct? Then the solution would be to wait a little bit longer until I try to 
connect to libreoffice if this helps...


Now the document loader example mentions another uno mechanism:

NOTE: This example does not use the new UNO bootstrap mechanism, it uses still 
a socket connection.

Does this mean the socket connection is deprecated? And if so - what's the new 
way and can someone give me an example? :-)


Thx,
Christian Ehrlicher

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.