Hi Tobias ,
I did what you said but doesn't work. I am using Eclipse to start the server and my application. I have set path and Classpath at Windows System. I am able to access soffice.exe by the prompt. But when I run my application the line Boostrap.getBootstrap() doesn't do anything. It's like a loop. Tobias Krais wrote: > > Hi aloizio, > >> The application will be located into Linux platform and Windows XP >> platform. >> First I am testing into Windows XP platform. I am using TomCat 5.5.9, >> Java >> SDK 1.4 and the OpenOffice 2.0. I am trying to execute a simple test >> where a >> web page is accessed and an user pressed a button. In this point, the >> application must retrieve a file as a byteStream from database and >> convert >> it to another format using OpenOffice API. >> >> When I am debugging the code I get error in the line that contains >> "com.sun.star.comp.helper.Bootstrap.bootstrap()". Another question, >> Should I >> put all OpenOffice file into the server? And last, It is necessary using >> the >> file soffice.exe to execute OpenOffice from Java? This doesn't sound good >> to >> me. > > Does this link help you? > http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOffice.snip > If this does not help, are the classpaths set correctly? > > Greetings, Tobias > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Problem-to-connect-openoffice-via-Tomcat-tf2292895.html#a6408616 Sent from the openoffice - api dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]