Hi Kai,
Kai Sommerfeld wrote:
A quick look into the implementation tells me that it is supposed to
close an existing connection. If the behavior is different, it is a bug.
Can you please tell us what makes you say that the connection will not
be closed.
This integration test I was trying to write to check that my connection
class automatically reconnects to OOo if for any reasons it gets
disconnected
public void testAutoReconnectAfterForcedDisconnection() throws
Exception {
openOfficeProcess.accept(ACCEPT_STRING);
OpenOfficeConnection connection = new
SocketOpenOfficeConnection(PORT);
connection.connect();
assertTrue(connection.isConnected());
assertNotNull(connection.getDesktop());
openOfficeProcess.unaccept(ACCEPT_STRING);
//FIXME: fails at the next line; unaccept doesn't seem to close
opened connections
assertFalse(connection.isConnected());
...
}
I've also tried manually. I can provide more info later (i.e. on Monday
;-) if you like.
I'm running OOo 2.0.4 on Ubuntu Linux 6.10 (the version packaged by Ubuntu).
Best regards
Mirko
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]