Author Topic: RFSDK 7.0 licensing & session cleanup  (Read 4145 times)

mharrod

  • Newbie
  • *
  • Posts: 20
    • View Profile
RFSDK 7.0 licensing & session cleanup
« on: October 05, 2005, 06:15:11 pm »
Hi,

We have recently upgraded one of our RFSDK 6.0 applications (DOS client) to RFSDK 7.0 (VT220 mode using Wavelink client) and have struck some problems.

Terminal users have an "Exit" option on their menu which calls RFSApplication1.RFEnd.  Under RFSDK 6.0 this would disconnect them and shut down the DOS client.  Under RFSDK 7.0 this disconnects them, but it doesn't appear to release the license (RFSController1.LicensesInUse doesn't decrement).

When the same terminal reconnects, it occupies another license.  As you can imagine it's not long before users start getting locked out.

After some testing, I noticed that after RFEnd was called, the SessionClosed() event was NOT running.  I modified the code to call RFEnd and then the RFSApplication1.SessionClose() method explicitly, and THEN it started freeing up the licenses.

The RFSDK help file seems to recommend called RFEnd and suggests that SessionClosed() will happen automatically, but I wonder if this is still accurate, because I notice this help file appears to have hardly changed since the RFSDK 6.0 version.  E.g. there is no mention of RFSController1.LicensesInUse or the TooManyConnections() event etc.

Interestingly, we have installed WMS Professional 5.3 at another site using VT220 mode and have noticed problems with sessions not closing properly depending on how you exit them.  This client also regularly finds their terminals won't connect and has to close and re-open the RF Server program - could it be a similar issue?

Any ideas?

Thanks,

Michael
 

mharrod

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: RFSDK 7.0 licensing & session cleanup
« Reply #1 on: October 09, 2005, 06:06:32 pm »
Just FYI.

Even though our testing in the office showed that this modification to explicitly call SessionClose() appeared to allow the licenses to free up, our client's live server is still running out of licenses approx 1-2 times per day (e.g. showing 6 licenses in use when only 1 terminal is connected).
 

leet

  • Administrator
  • Hero Member
  • *****
  • Posts: 244
    • View Profile
    • http://www.intellitrack.net
Re: RFSDK 7.0 licensing & session cleanup
« Reply #2 on: October 10, 2005, 08:57:05 am »
I will forward this info to technical support.

Lee Tibbett
IntelliTrack
Lee Tibbett
IntelliTrack

evilla

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: RFSDK 7.0 licensing & session cleanup
« Reply #3 on: October 11, 2005, 03:21:36 pm »
Hi,

I'm having problems developing in Visual FoxPro with Developer Edition V 7.0 and, you are right, the documentation included is not up-to-date. Did you have any response from tech support?, do you have the latest help file?. Thanks
 

mharrod

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: RFSDK 7.0 licensing & session cleanup
« Reply #4 on: October 19, 2005, 03:02:04 am »
Hi,

No reponse yet except for Lee's offer to forward the issue to Technical Support.

We checked with the client today and they their system was showing 11 licenses in use out of 15 with about 4 terminals connected.

Michael
 

leet

  • Administrator
  • Hero Member
  • *****
  • Posts: 244
    • View Profile
    • http://www.intellitrack.net
Re: RFSDK 7.0 licensing & session cleanup
« Reply #5 on: October 19, 2005, 03:53:49 pm »
quote:
Originally posted by evilla

Hi,

I'm having problems developing in Visual FoxPro with Developer Edition V 7.0 and, you are right, the documentation included is not up-to-date. Did you have any response from tech support?, do you have the latest help file?. Thanks

 Evilla, the documentation is scheduled to be updated in the beginning of November.

quote:
Originally posted by mharrod

Hi,

No reponse yet except for Lee's offer to forward the issue to Technical Support.

We checked with the client today and they their system was showing 11 licenses in use out of 15 with about 4 terminals connected.

Michael
 Hi Michael, I forwarded your posts to the developer and they are looking at the issue.  Send me an email with your contact info and I'll make sure you get status updates.


Lee Tibbett
IntelliTrack
Lee Tibbett
IntelliTrack