| View previous topic :: View next topic |
| Author |
Message |
Bennyh Newbie

Joined: 29 May 2003 Posts: 3 Location: Israel
|
Posted: Mon Jun 02, 2003 6:01 am Post subject: Running soffice -invisible "-accept..." - process |
|
|
Hello,
I run on Unix Solaris machine.
I would like to convert .doc files to .txt files, as follows:
1. soffice -invisible "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" &
2. run the "DocumentConverter" java example
As a result the files are converted OK, but the soffice process is ended.
Why, Is it a bug?, is there a work around solution?
Benny _________________ Benny |
|
| Back to top |
|
 |
maggus General User

Joined: 04 Apr 2003 Posts: 9 Location: Germany
|
Posted: Tue Jun 03, 2003 1:00 am Post subject: |
|
|
Hi,
i am not really sure because I didnīt tried out the program. But I suppose that the reason is in line 104: the document is disposed:
// Closing the converted document
xcomponent.dispose();
When it is the only open document, Writer will get finished. |
|
| Back to top |
|
 |
Bennyh Newbie

Joined: 29 May 2003 Posts: 3 Location: Israel
|
Posted: Tue Jun 03, 2003 1:21 am Post subject: |
|
|
I run the same under Win-XP.
In XP it run OK.
Also if I run soffice -plugin -quickstart "-accept....", and then run the DocumentServer sample, the server stay alive for about 3 more minutes.
Benny _________________ Benny |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Jun 03, 2003 10:42 am Post subject: I had the same problem |
|
|
| I had the same problem on Linux with the server quitting after converting files. My solution was to use Xvfb to run it in visible mode, but the graphics just rendering to nowhere. |
|
| Back to top |
|
 |
DannyB Moderator


Joined: 02 Apr 2003 Posts: 3991 Location: Lawrence, Kansas, USA
|
Posted: Wed Jun 04, 2003 10:47 am Post subject: |
|
|
| What is the -plugin option to soffice? I haven't seen that one before. |
|
| Back to top |
|
 |
|