Registration Licence error

Problem: Agent cannot connect to CMR

Agent log

info.novatec.inspectit.agent.core.impl.IdManager$RegistrationThread doRegistration

SEVERE: Registration exception occured while trying to register something at the server.

CMR log

Could not register the Agent, due to a license problem: Maximum agent count of 1 allowed agent(s) is reached

Description

The licence file describes the number of agents that can connect to the CMR. The CMR logic of checking how many agent are connected is quite simple. Initially it starts with the number provided in the licence file (in this case 1) and decreases the number for each unique agent. 

Most likely you changed the agent name (configuration file) or started the agent on another platform. 

Solution

Restart your CMR to reset the number of unique agents that can connect to the number specified in the licence file. If you need more agents for a single CMR, please contact us.

Note that the CMR recognizes the same agent again and again. So you can stop the agent and start it again without needing to restart the CMR.

2011-02-14 11:56:12,272 : Starting CMR in version 1.2.31
2011-02-14 11:56:12,272 : CMR started in 5932.261457 ms
2011-02-14 11:56:16,247 : Trying to register Agent 'CalculatorAgent2'
2011-02-14 11:56:16,253 : Valid license for Agent 'CalculatorAgent2'
2011-02-14 11:56:16,255 : Remaining Agent slots: 0
2011-02-14 11:56:16,377 : Successfully registered Agent 'CalculatorAgent2' with id: 50 and version 1.1.23
2011-02-14 11:56:26,453 : Trying to register Agent 'CalculatorAgent2'
2011-02-14 11:56:26,457 : Valid license for Agent 'CalculatorAgent2'
2011-02-14 11:56:26,457 : Remaining Agent slots: 0
2011-02-14 11:56:26,464 : Successfully registered Agent 'CalculatorAgent2' with id: 50 and version 1.1.23