Forum Discussion
Closing iControl session using java
Hi
iControl.Interfaces iCtrlIntf = new iControl.Interfaces();
boolean bInit = iCtrlIntf.initialize(ipAddress, port, username, password);
if (bInit) {
long sessionIdentifier = iCtrlIntf.getSystemSession().get_session_identifier();
}
I am using above code to create an iControl Session. now i have reached the maximum limit of sessions and getting the below exception. Please help me how to close the session after use.
Exception caught in System::urn:iControl:System/Session::get_session_identifier()There are too many existing user sessions. Please try later.
Thanks,
Vinay.
2 Replies
- Ryan_Lamore_804
Nimbostratus
I'm very curious to what the answer is to this. I wish we could manually close these user sessions; although, it doesn't look like that is possible. Do you just set the timeout low and let it timeout? Do they automatically get closed on submit_transaction/rollback_transaction? Input greatly appreciated! - Kumar_107292
Nimbostratus
Hi Ryan,
As what I have observed both pratically and going through the documentation for iControl, the session does not get closed either by submitTransaction or RollBackTransaction. It has a timeout value. Now supposing that the timeout value is 300sec, if the session is used within this 300 secs after its last used time, the session remains in active mode. The session expires once this timeout value is passed and the session is idel through out this time.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com