Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Open Office BootstrapException in Web Application

843830Oct 30 2007 — edited Oct 31 2007
I'm trying to get a web app (web service, to be specific) to bootstrap Open Office, but I'm getting errors:
com.sun.star.comp.helper.BootstrapException: no office executable found!
at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:253)
I looked at the server.log output (Sun Java System App Server), and -Djava.library.path does contain C:\Program Files\OpenOffice.org 2.2\program

I've also tried with:
C:\Program Files\OpenOffice.org 2.2\program
C:\Program Files\OpenOffice.org 2.2\program\classes
C:\Program Files\OpenOffice.org_2.2_SDK\classes
Taking things a little further doesn't yield any new results:


Adding the following to Native Library Path Prefix:
C:\Program Files\OpenOffice.org 2.2\program\juh.jar
C:\Program Files\OpenOffice.org 2.2\program\jurt.jar
C:\Program Files\OpenOffice.org 2.2\program\ridl.jar
C:\Program Files\OpenOffice.org 2.2\program\unoil.jar
C:\Program Files\OpenOffice.org 2.2\program\sandbox.jar
C:\Program Files\OpenOffice.org 2.2\program
Adding the following under "JVM Options" causes the server to hang:
-Dcom.sun.star.lib.loader.unopath="C:\Program Files\OpenOffice.org 2.2\program"
java.lang.NoClassDefFoundError: Files\OpenOffice/org
Exception in thread "main"
I also tried without the quotes:
-Dcom.sun.star.lib.loader.unopath=C:\Program Files\OpenOffice.org 2.2\program
Nothing seems to work.

Anyone work with OOo on the server?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2007
Added on Oct 30 2007
1 comment
1,562 views