Christian Junker wrote:
The SimpleBootstrap is for people that want to start the office
quickly and get connected to the language-appropriate UNO Runtime at
the same time. All it really does is to apply a search algorithm for
your office executable launch it with a random pipe name and hook up
to that pipe.
The secure way is that you start your OOo server manually and connect
to it via TCP/IP and the specified socket. It is recommended to use
this way if you want to develop something serious.

sorry but that is wrong, the simple bootstrap mechanism is serious even if it has some problems on systems where special scripts are used around the normal binaries or default scripts. But you can always start your client application with the right parameter to specify exactly the office you want to start. Your client code looks simpler and easier using the simple bootstrap mechanism and will most often fulfill your needs.

e.g.

java -Dcom.sun.star.lib.loader.unopath="D:\staroffice8\program" client.jar

When you know which office you want to use, it is the same as starting this office in listen mode.

Juergen



2006/2/4, JJCIII (sent by Nabble.com) <[EMAIL PROTECTED]>:
I cannot connect to OO from a JSP under Tomcat.
Using the bootstrap call:

            xContext = com.sun.star.comp.helper.Bootstrap.bootstrap();

I receive the following error:
com.sun.star.comp.helper.BootstrapException: no office executable found!


--
Best Regards
Christian Junker

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to