License problems

Problem

The agent cannot communicate with the CMR and provides only a cryptic error message.

Cryptic error message indicating missing license
Nov 25, 2009 12:04:21 PM info.novatec.novaspy.agent.connection.impl.RMIConnection connect
INFO: RMI: Connecting to 127.0.0.1:1199
Nov 25, 2009 12:04:22 PM info.novatec.novaspy.agent.connection.impl.RMIConnection connect
INFO: RMI: Connection established\!
Nov 25, 2009 12:04:22 PM info.novatec.novaspy.agent.connection.impl.RMIConnection registerPlatform
INFO: License could not be obtained, aborting application startup\!
Nov 25, 2009 12:04:22 PM info.novatec.novaspy.agent.connection.impl.RMIConnection registerPlatform
INFO: Cause: NovaSpy 1.9.9 E8bR0Oac273M06O1Buvr


Even though a valid license is not available in the CMR, the Agent will not abort the starting of the system under diagnosis! It is possible that you will see this error message repeatedly!

Description

The error indicates that the CMR is running but has no valid license for this agent. This can be because of two reasons:

  1. The CMR does not have a license imported at all
  2. All available licenses are used by agents

Solution

Import a valid license as described in the Installation Guide . If you exceeded your number of agents you can either restart your CMR (this will reset the agent count and allow your agents to register again - but only as many as your license allows) or you can ask for a license that covers more agents.

CMR logging shows that no license is available
2009-11-25 12:03:08,645 : |-Starting licensing module...
2009-11-25 12:03:08,678 : ||-Licensing module could not be started, reason: license/license.lic (No such file or directory)
2009-11-25 12:03:08,678 : ||-Please make sure that a license is properly imported
2009-11-25 12:03:08,678 : ||-A license can be imported through the User Interface
2009-11-25 12:03:08,678 : ||-Contact NovaTec Support for further help\!