Desktop licensing problems

If you see "No license available", then it could be that:

  • the Klocwork Servers aren't running. See Managing the Klocwork Servers.
  • your desktop is pointing to the wrong License Server host or port. You need to check your License Server settings as shown here.

If you are not sure what your Klocwork Server settings should be, contact your Klocwork administrator.

The default License Server host and port values are localhost and 27000.

Eclipse

Go to Window > Preferences > Klocwork > Settings.

Make sure your License Server port and host settings are accurate.

IntelliJ IDEA

To check your settings, go to File > Settings and under IDE Settings, click Klocwork for Java.

Klocwork Desktop

Server settings are stored in the Preferences dialog in Klocwork Desktop.

You have to be using kwshell or a build specification template in your project before you can access the Tools menu.

Go to Tools > Preferences > Server settings.

The License Server and Klocwork Server settings are stored here. The Klocwork Server handles synchronization between the desktop project and the integration project or "server project".

kwcheck

Run:

kwcheck info

If you used the default local project directory name and location (.kwlp), you won't have to specify the path to it.

In addition to server settings, kwcheck info provides information about status and local configuration permissions.

If you need to reset your License Server host and port, run:

kwcheck set license.host=<License_Server_host> license.port=<license_server_port>

VS.NET

Go to Klocwork > Options > Klocwork > General.

Your Klocwork Server settings are also stored here. The Klocwork Server handles synchronization for connected desktops.