Why can't I get a license?
If you see a message similar to "No license available," this means that you need to wait until a license is returned by another user.
Even if another user has stopped using a license, two factors control how long you need to wait before the license is available for you to check out:
- Inactivity time-out: Some tools keep a license checked out during a period of inactivity:
- Klocwork Static Code Analysis - 30 minutes
- Klocwork Code Review - 30 minutes
- Klocwork Desktop Java Plug-in for Eclipse - 20 minutes
- Klocwork Desktop Java Plug-in for IntelliJ IDEA - 20 minutes
- Klocwork Desktop C# Plug-in for Visual Studio - 20 minutes
- Linger period: The amount of time after the last use of a license before it is free for another user to check out. Note that the linger time starts at the end of the inactivity time-out.
Note that if a Klocwork tool terminated unexpectedly, the license may be "stuck", in which case an administrator must release it. See Releasing stuck licenses.
User names are case-sensitive
If the Klocwork Server is running on a Windows machine, users who log in to Klocwork Static Code Analysis and Klocwork Code Review have a license checked out using the lowercase form of their user name. Other tools will not change the case of the user name (obtained from the OS), so a second license is checked out. Workaround: Use a lowercase user name.
If the Klocwork Server is running on a non-Windows machine, users who log in to Klocwork Static Code Analysis and Klocwork Code Review have a license checked out using the case as entered in the Login dialog. As above, other Klocwork Static Code Analysis tools use the user name as obtained from the OS. Workaround: Match the user name case used by your OS.