Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Logoff users from a tool if they are inactive for a certain period of time.

Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi Guys,

I have already posted this question in the forum for "General Computing" but since I didnt get any reply till now, i just thought may be i will ask you guys if you can help me on this.(Bert has confirmed me saying that its ok for my question to be posted in more than one forum !!!)

I am faced with a typical problem at my workplace. We use Borland's StarTeam as a configuration management tool for my project.Since, we have fixed number of licenses, at a time only fixed number of people can login to it.(Thats what I think when it gives the error message) Others trying to login will not be able to do so if that fixed number are already logged in.Now, most of the time I find that people who have logged in, forget to logoff and as a result what happens is that even though we have enough licenses, users are unable to login to the Server and get error messages telling them that the maximum number of licenses are in use. (They have to then painfully send mails to all in the project to log out of the server if one is not using it.) So, faced with this problem,I want to write some kind of program which will gracefully logoff the users from the StarTeam server who are inactive (Dont know how to check for this now !!!) for a given period of time.(Say half an hour or so).

Also, I plan to put this program in the OS scheduler (Which happens to be Microsoft in my case) that would run every hour and run the program I have written and gracefully logoff users who have been inactive for a certain period of time.
Please guide me on how to go about solving this problem.
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please don't post the same topic in more than one forum. Bert may have suggested it was ok to post in a Java forum, please restrict this to a Java forum.
    Bookmark Topic Watch Topic
  • New Topic