It's all about the answers!

Ask a question

APIException - User licenses exceeded


qiu saphen (27126039) | asked Mar 29 '11, 9:06 a.m.
Hi,
I have created a new user named build to login, but I got following issue, does anybody meet this exception before?

"Error authenticating: com.buildforge.services.common.api.APIException - User licenses exceeded"

3 answers



permanent link
Brent Ulbricht (2.5k11) | answered Mar 30 '11, 11:00 a.m.
JAZZ DEVELOPER
Hi,
I have created a new user named build to login, but I got following issue, does anybody meet this exception before?

"Error authenticating: com.buildforge.services.common.api.APIException - User licenses exceeded"


Hi,

If you're getting that message, you might check if users have been logged into the Build Forge console for a long time and they just didn't log out properly. You can check who is logged in and how long they've been logged in by navigating to the 'Administration -> Users' page in the web UI.

If they don't need to be logged in, you could click on their name and press the 'Logout User' button. That will free up a license for your API client.

Brent Ulbricht
Developer/Lead - RTC Build

Comments
Jirong Hu commented Nov 01 '14, 11:02 a.m. | edited Nov 01 '14, 11:04 a.m.

We have one server license and ten user licenses. During the day, a couple of users will log in the BF Mgmt Console from the web, and some will connect to BF through Perl API as code shown below. Now we always getting this error from Perl code. Why? We've configured APIUSR01~APIUSR19 inside the BF as the local user and many domain users as well, total 59.


   ## launch BF project
   my $conn = new BuildForge::Services::Connection($bf_server, $bf_port);      
   my $bfid = bccpbmod::PopId;
   $conn->authUser($bfid, 'APIUSR');
     
“BuildForge::Ex::APIException: User licenses exceeded” found is catalina.log


permanent link
qiu saphen (27126039) | answered Mar 30 '11, 11:20 a.m.
Thank you for your reply!

I have found out the issue is that I havn't applied the floating user license to BF, after I add the license to license server it works.

permanent link
David Brauneis (50611) | answered Mar 30 '11, 11:20 a.m.
JAZZ DEVELOPER
Hi,
I have created a new user named build to login, but I got following issue, does anybody meet this exception before?

"Error authenticating: com.buildforge.services.common.api.APIException - User licenses exceeded"


Hi,

If you're getting that message, you might check if users have been logged into the Build Forge console for a long time and they just didn't log out properly. You can check who is logged in and how long they've been logged in by navigating to the 'Administration -> Users' page in the web UI.

If they don't need to be logged in, you could click on their name and press the 'Logout User' button. That will free up a license for your API client.

Brent Ulbricht
Developer/Lead - RTC Build

The other condition where I have seen this error is when you are using a temporary license for Build Forge and the license has expired.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.