Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

a COM.BUILDFORGE.SERVICES.COM api EXCEPTION OCCURED

I have installed build forge and it was working properly till today.
But when I try to add new user or do any task.it comes back to Login page.
So restarted build forge server..and I found the following error in catalina.out.log file


Jun 9, 2011 7:22:19 AM com.buildforge.services.server.Main idle
INFO: Blocking until the dispatcher shuts down...
Jun 9, 2011 7:22:20 AM com.buildforge.services.server.manager.SessionManager getAuthContext
WARNING: Login failed - token is for an external session
Jun 9, 2011 7:22:20 AM com.buildforge.services.server.api.APIServerConnection process
WARNING: !!!
com.buildforge.services.common.api.APIException: API: Authentication Error.
at com.buildforge.services.server.api.APIServerConnection.setAuthToken(APIServerConnection.java:462)
at com.buildforge.services.server.api.commands.AuthCommands.doLogin(AuthCommands.java:301)
at com.buildforge.services.server.api.commands.AuthCommands.invoke(AuthCommands.java:90)
at com.buildforge.services.server.api.APICommandProcessor.process(APICommandProcessor.java:275)
at com.buildforge.services.server.api.APIServerConnection.handleRequest(APIServerConnection.java:236)
at com.buildforge.services.server.api.APIServerConnection.process(APIServerConnection.java:150)



Please respond what could have gone bad and how to resolve this issue.

0 votes



One answer

Permanent link
I have installed build forge and it was working properly till today.
But when I try to add new user or do any task.it comes back to Login page.
So restarted build forge server..and I found the following error in catalina.out.log file


Jun 9, 2011 7:22:19 AM com.buildforge.services.server.Main idle
INFO: Blocking until the dispatcher shuts down...
Jun 9, 2011 7:22:20 AM com.buildforge.services.server.manager.SessionManager getAuthContext
WARNING: Login failed - token is for an external session
Jun 9, 2011 7:22:20 AM com.buildforge.services.server.api.APIServerConnection process
WARNING: !!!
com.buildforge.services.common.api.APIException: API: Authentication Error.
at com.buildforge.services.server.api.APIServerConnection.setAuthToken(APIServerConnection.java:462)
at com.buildforge.services.server.api.commands.AuthCommands.doLogin(AuthCommands.java:301)
at com.buildforge.services.server.api.commands.AuthCommands.invoke(AuthCommands.java:90)
at com.buildforge.services.server.api.APICommandProcessor.process(APICommandProcessor.java:275)
at com.buildforge.services.server.api.APIServerConnection.handleRequest(APIServerConnection.java:236)
at com.buildforge.services.server.api.APIServerConnection.process(APIServerConnection.java:150)



Please respond what could have gone bad and how to resolve this issue.


Hi,

Sometimes exceptions like that occur when the same user id is being used to log in from multiple places. For example, if you have two users that are using the same id in their respective browsers or if you have a program or script using the services layer APIs to access the system that is using the same user id as you're using to log into the browser.

Brent Ulbricht
Developer/Lead - RTC Build

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 09 '11, 1:33 a.m.

Question was seen: 5,960 times

Last updated: Jun 09 '11, 1:33 a.m.

Confirmation Cancel Confirm