OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Running soffice -invisible "-accept..." - process

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
Bennyh
Newbie
Newbie


Joined: 29 May 2003
Posts: 3
Location: Israel

PostPosted: Mon Jun 02, 2003 6:01 am    Post subject: Running soffice -invisible "-accept..." - process Reply with quote

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
View user's profile Send private message
maggus
General User
General User


Joined: 04 Apr 2003
Posts: 9
Location: Germany

PostPosted: Tue Jun 03, 2003 1:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Bennyh
Newbie
Newbie


Joined: 29 May 2003
Posts: 3
Location: Israel

PostPosted: Tue Jun 03, 2003 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Tue Jun 03, 2003 10:42 am    Post subject: I had the same problem Reply with quote

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
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Wed Jun 04, 2003 10:47 am    Post subject: Reply with quote

What is the -plugin option to soffice? I haven't seen that one before.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group