news.gmane.org wrote:

> Hello,
> I have a complex java application using the officebean.
> Almost everything works fine, but I have a problem:
> my application is made up of several separated java programs which are 
> launched separately using:
>   Runtime.getRuntime().exec(ExecString);
> 
> One of these programs uses a socket on port 1893 to exchange some 
> internal control data and commands.
> When the officebean is started in one of these programs and then the 
> application is closed, the socket hangs and the application does not 
> quit until i terminate the soffice.bin process in the task manager.
> I can't post the application because it's really too much complex.
> 
> Have you got any ideas? Maybe 1893 is a reserved port for openoffice?
> Is there a tool to check which java metod or thread is keeping the 
> socket? The YourKit Java Profiler did not help.

OOo does not have reserved ports. Perhaps the application is waiting for
something that OOo should do? Perhaps a deadlock? You should try to find
out where your application hangs.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to