pgallego7
6th March 2002, 11:31
Hi,
When all the licenses are used and you are using BOI to connect, the system returns "-1", the same message that you are getting when you connect to the server and get a license.

The system, after didn't find any license hangs.

~Vamsi
2nd June 2002, 19:50
Jeyaseelan or others?

Jeyaseelan
4th June 2002, 08:48
whenever u try to connect to a BOI from Javaclient or VBClient it occupies one license. If all the licenses are occupied obviously JavaClient hangs.

But u can handle this problem programmatically by pooling the IBaanFactoryJava class. I have written connection manager that will wait till some license is freed and as soon as its gets connection, it will keep the connection till all the BOI calls are made. I attach the java code of the connection manager.