|[CDO] IllegalStateException during attempts to reconnect [message #990258]
||Tue, 11 December 2012 11:03
| Jack Lechner
Registered: December 2012
I'm trying to use a CDOReconnectingSession to allow my client program to reconnect to the CDO Server if it gets disconnected. I have it set up as follows:
CDONet4jSessionConfiguration config = CDONet4jUtil.createReconnectingSessionConfiguration(server, REPOSITORY, PluginContainer.getInstance());
session = config.openNet4jSession();
When I shutdown and subsequently restart the CDO Server I receive the following errors:
java.lang.IllegalStateException: Not active: Transaction 1 [MAIN]
Is there something I need to specifically do to the transaction that was open during the disconnect? I've tried having the main thread sleep, but then I get an exception of the same type that states that the session wasn't deactivated.
The way I understand how this is working is that the transaction is still tied to the objects and they are trying to access it, hence this exception. If I am wrong, please correct me. Thanks in advance!
Powered by FUDForum
. Page generated in 0.08092 seconds