Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Changing Licenses
Topic Summary:
Created On: 22-Mar-2006 16:05
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 22-Mar-2006 16:05
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

We've got some clients who used totally different DOORS databases. Using a new DOORS Icon featuring the "-d" switch, we can direct them to whichever DB they need to use OK.

I notice that when we do this we use the same licensing. However, they also need to switch licensing; use license A when using DB A, and license B when using DB B.

In v6 I had some luck updating the registry [HKEY_LOCAL_MACHINE\Software\FLEXlm License Manager] value ; "DOORS_LICENSE_FILE"="7192@MyDOORSServer". Users switching DB would first initiate the corresponding simple Registry update file. This no longer works for v7.1.

I know about the License Manager and modifying Environment Variable "LM_LICENSE_FILE"; but modifying that doesn't seem realistic; although I suppose I could try a DOS Batch file using the "set" command.

Could anyone please explain the internal process of choosing a License with a view to allowing me to change it on demand?

- Louie
Report this to a Moderator Report this to a Moderator
 22-Mar-2006 18:00
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Louie,

I had the same problem with DOORS 7.1, and solved it by ensuring our users start DOORS via a .vbs script, with the following lines included:

--------------
On Error Resume Next
WshShell.RegDelete("HKLM\SOFTWARE\FLEXlm License Manager\TELELOGIC_LICENSE_FILE")

Set ProcessEnvironment = WshShell.Environment("PROCESS")

ProcessEnvironment("SECURITY") = "SOFT"
ProcessEnvironment("TELELOGIC_LICENSE_FILE") = "19353@xxxxxxxx.yyyy.com"
----------------

Deleting the TELELOGIC_LICENSE_FILE registry entry was essential before setting it, as it accumulates by default, and uses the first entry in the accumulated ";" delimited string of license servers.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 22-Mar-2006 21:13
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Thought I had this working in v6 where I simply updated the DOORS_LICENSE_FILE variable there in the FlexLM spot. Updating the TELELOGIC_LICENSE_FILE worked, but as soon as you started DOORS this value was reset to some value that, oddly, doesn't appear ANYWHERE else in the Registry. I'm currently searching my ENTIRE hard drive looking for any file that contains this string.

Doesn't your VBS script need to start DOORS after this?

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.