IBM Support

Starting Rational Asset Analyzer to use floating licenses results in error "Wasn't able to check out license for user"

Technote (troubleshooting)


Attempts to start IBM Rational Asset Analyzer (RAA) while using the Rational License Key Server (RLKS) for floating licenses results in the error "WARNING: Wasn't able to check out license for user [nnnnn]. License error=[Cannot find license file]".


The RAA user interface shows that a trial license is in use, or that the license is disabled, when licenses have been imported into RLKS.

In RAA's RaaRestWar.0.0.log file, the following message may be displayed:

 [2011/06/03 16:59:11:871] WARNING: Wasn't able to check out license for user [nnnnn].  License error=[Cannot find license file.

    The license files (or license server system network addresses) attempted are listed below.  Use LM_LICENSE_FILE to use a different license file,     or contact your software provider for a license file.

    Feature:       ibmraa

    Filename:      C:\flexlm\license.dat

    License path:  C:\flexlm\license.dat;

    FLEXnet Licensing error:-1,359.  System Error: 2 "No such file or directory"

    For further information, refer to the FLEXnet Licensing documentation,

    available at "".], message=[null]


The RAA server is unable to find the RLKS server to obtain a license.

Resolving the problem


  1. Set the following System environment variable on the RAA server:

    LM_LICENSE_FILE = port@host

    where port is the port number on the RLKS machine that is used for Rational License requests (default value is 27000) and host is the full host name of the RLKS machine.

  2. Restart the RAA server machine.

Related information

A Japanese translation is available
A simplified Chinese translation is available
A Korean translation is available

Document information

More support for: Rational Asset Analyzer
General Information

Software version: 6.0, 6.1

Operating system(s): Windows

Reference #: 1502141

Modified date: 22 September 2014

Translate this page: