|CDO Repository Server Reconnect Failure [message #654310]
||Tue, 15 February 2011 04:33
| Nuno Santos
Registered: February 2011
If found a possible bug when testing an app.|
I Started the app and try to connect to a repository server that was down. It fails the connection with the timeout exception, but after i started the server and try to reconnect it still fails!
After a while i found the reason: it kept the connector in the repository plugin instance elements. It was necessary to manualy remove it from the instance elements to have it to work.
Something like this:
configuration = CDONet4jUtil.createSessionConfiguration();
PluginContainer.INSTANCE.removeElement(TCPConnectorFactory.PRODUCT_GROUP, TCPConnectorFactory.TYPE, host+":"+port);
[Updated on: Tue, 15 February 2011 04:34]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01468 seconds