how to start openoffice.org

2,435 views
Skip to first unread message

rama

unread,
Aug 18, 2009, 2:26:44 PM8/18/09
to JODConverter
Hi ,
iam getting the following exception:

connection failed: socket,host=localhost,port=8100,tcpNoDelay=1:
java.net.ConnectException: Connection refused: connect

i have written a simple java class to convert the .doc file to .pdf ,
and before running the java application , i have downloaded
openoffice.org for windows and installed it .In order to start the
openoffice.org , i followed the simple process of starting it from the
cmd prompt by typing int he following command :

soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -
nofirststartwizard

but i still get the same error of connection refused, am i doing
anything wrong,how can i test whether my openoffice server is actually
running.

please give me some inputs in this regard.

Thanks,
Rama.

Mirko Nasato

unread,
Aug 19, 2009, 8:32:28 AM8/19/09
to jodcon...@googlegroups.com
You're using "localhost" in one place and "127.0.0.1" in the other...
try using the same in both places, in case "localhost" is not mapped
to "127.0.0.1" on your machine for some weird reasons.

Kind regards

Mirko

2009/8/18 rama <rsayya...@gmail.com>:

rama

unread,
Aug 31, 2009, 11:47:08 AM8/31/09
to JODConverter
Thank you Mirko , it worked.

On Aug 19, 6:32 am, Mirko Nasato <mirko.nas...@gmail.com> wrote:
> You're using "localhost" in one place and "127.0.0.1" in the other...
> try using the same in both places, in case "localhost" is not mapped
> to "127.0.0.1" on your machine for some weird reasons.
>
> Kind regards
>
> Mirko
>
> 2009/8/18 rama <rsayyapar...@gmail.com>:

sri reddy

unread,
Aug 26, 2012, 3:01:40 AM8/26/12
to jodcon...@googlegroups.com
Hey I am having the same problem while running a simple program which converts .doc to pdf.I didn't exactly get "You're using "localhost" in one place and "127.0.0.1" in the other...
try using the same in both places, in case "localhost" is not mapped to "127.0.0.1" on your machine for some weird reasons".
Can you please explain?

Rafael Henrique

unread,
Sep 14, 2012, 4:34:48 PM9/14/12
to jodcon...@googlegroups.com
my english is not the best, but i'll try to answer this for you.

ex:
jodconverter uses "localhost" and you uses "127.0.0.1"

Ankit Kapur

unread,
Nov 19, 2012, 8:27:16 AM11/19/12
to jodcon...@googlegroups.com
Hi,

Is it possible for me to call an OpenOffice instance without downloading it? I mean, instead of making a connection to localhost, is there an instance running on a server at the OpenOffice team's site, whose IP and port no. I can use to make a call.

Regards,
Ankit Kapur

Julien Lherondelle

unread,
May 7, 2013, 10:15:38 AM5/7/13
to jodcon...@googlegroups.com
Hi,

I just fix this,  in the command :  [soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard], the methods "-headless" "-accept" "-nofirststartwizard" are deprecated.

Use : [soffice --headless --accept=\"socket,host=127.0.0.1,port=8100;urp;\" --nofirststartwizard]  without "[" and "]"

It works for me :). I expect the same for you, or for the next people who have the same problem !

Julien.

Rams B

unread,
May 8, 2013, 12:13:28 AM5/8/13
to jodcon...@googlegroups.com
If you use jodconverter beta version, no need to start manually plugin itself will start and stop and automatically........If you know about this just ignore this reply.


--
You received this message because you are subscribed to the Google Groups "JODConverter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jodconverter...@googlegroups.com.

To post to this group, send email to jodcon...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Thanks & Regards,
B. Ramesh Kumar,
Reply all
Reply to author
Forward
0 new messages