Re: [dev] Error: no office executable found!

2006-02-08 Thread Christian Junker
Hi Jürgen,

2006/2/7, Jürgen Schmidt [EMAIL PROTECTED]:
  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.

we could debate here about what is serious and what not, however I
didn't talk about the SimpleBootstrap mechanism being not serious, I
said it would be better to set things up manually when you're
developing something 'serious' (== more secure, more control etc.).

Besides the problems there could be on some systems, it also has
limitations. For example you cannot hook up to a remote-machine OOo.
Thus if you're dealing with servers and you write code on a client
machine, you can only go by TCP/IP to connect to the Office (named
pipes work only on the same machine).


--
Best Regards
Christian Junker

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



Re: [dev] Error: no office executable found!

2006-02-08 Thread Jürgen Schmidt

Christian Junker wrote:

Hi Jürgen,

2006/2/7, Jürgen Schmidt [EMAIL PROTECTED]:

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.


we could debate here about what is serious and what not, however I
didn't talk about the SimpleBootstrap mechanism being not serious, I
said it would be better to set things up manually when you're
developing something 'serious' (== more secure, more control etc.).


it depends on your requirements. If you only need a connection to a 
running office (which of course can be specified) and no remote 
connection the simple bootstrap mechanism does fulfill your needs quite 
well and a named pipe connection is more secure than a socket connection.


My comment was related to your statement It is recommended to use
this way if you want to develop something serious. and that is from my 
point of view wrong. You can develop a serious program using the simple 
bootstrap mechanism, it depends on your requirements.


Excuse me if my last answer wasn't clear enough.

Juergen



Besides the problems there could be on some systems, it also has
limitations. For example you cannot hook up to a remote-machine OOo.
Thus if you're dealing with servers and you write code on a client
machine, you can only go by TCP/IP to connect to the Office (named
pipes work only on the same machine).


--
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]



Re: [dev] Error: no office executable found!

2006-02-05 Thread Tobias Krais
Hi J,

 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!
 
 I can run the same code directly, from a test main java application.
 
 Does anyone know what needs to be set for this to work from a servlet 
 container, specifically Tomcat?

I had the same problem with my Eclipse project. Try adding the folder
that contains the office executable to you classpath. That will help.

Greetings, Tobias

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



[dev] Error: no office executable found!

2006-02-04 Thread JJCIII (sent by Nabble.com)

Hi,

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!

I can run the same code directly, from a test main java application.

Does anyone know what needs to be set for this to work from a servlet 
container, specifically Tomcat?

Thanks,

J
--
View this message in context: 
http://www.nabble.com/Error%3A-no-office-executable-found%21-t1060712.html#a2760147
Sent from the openoffice - dev forum at Nabble.com.