List Info

Thread: Problem to connect openoffice via Tomcat




Problem to connect openoffice via Tomcat
user name
2006-09-19 07:54:20
aloizio wrote:
> Hi everybody,
> 
> I am trying to load the OpenOffice using
> com.sun.star.comp.helper.Bootstrap.bootstrap(), frrom
web application. But I
> am get the error:
>  
> "no executable office found...."
> 
> What should I do?

you have to set the classpath to
<office>/program/classes or you have to 
  pack the necessary bootstrap glue code from the SDK to
your 
application and edit the manifest accordingly. But i am not
sure if it 
works in the case of your web app. It was more designed for
a Java 
client applications to simple bootstrap UNO.
Please let me know if it works.

Another way would be to implement your own classloader and
specify the 
path to the office. The classloader prepares the necessary
environment. 
It's more or less comparable with the bootstrap glue code.


Hope this helps

Juergen

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )