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

SetUser failed - Access denied

Hi,

We are currently using BF 7.1.2 and some of our scheduled tasks are not run for some reason. I took a look at today's catalina's log and found the following.

I'm assuming that since the SetUser call fails that the scheduling then fails. What would actually cause a SetUser to fail?

Here's part of the log (I hope this is enough information)
<pre>
Jun 17, 2011 4:30:20 PM com.buildforge.services.server.api.AuthContext setUser
WARNING: SetUser failed - Access denied
Jun 17, 2011 4:30:20 PM com.buildforge.services.server.manager.CronManager scheduleBuilds
WARNING: Couldn't schedule job for schedule 'Scheduled_CronTask'
com.buildforge.services.common.api.APIException: API: Authentication Error.
at com.buildforge.services.server.manager.BuildManager.canBeFired(BuildManager.java:358)
at com.buildforge.services.server.manager.BuildManager.createCronBuild(BuildManager.java:1781)
at com.buildforge.services.server.manager.CronManager.scheduleBuilds(CronManager.java:718)
at com.buildforge.services.server.manager.CronManager$CronScheduler.run(CronManager.java:896)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:810)
</pre>

0 votes



One answer

Permanent link
Hi,

We are currently using BF 7.1.2 and some of our scheduled tasks are not run for some reason. I took a look at today's catalina's log and found the following.

I'm assuming that since the SetUser call fails that the scheduling then fails. What would actually cause a SetUser to fail?

Here's part of the log (I hope this is enough information)
<pre>
Jun 17, 2011 4:30:20 PM com.buildforge.services.server.api.AuthContext setUser
WARNING: SetUser failed - Access denied
Jun 17, 2011 4:30:20 PM com.buildforge.services.server.manager.CronManager scheduleBuilds
WARNING: Couldn't schedule job for schedule 'Scheduled_CronTask'
com.buildforge.services.common.api.APIException: API: Authentication Error.
at com.buildforge.services.server.manager.BuildManager.canBeFired(BuildManager.java:358)
at com.buildforge.services.server.manager.BuildManager.createCronBuild(BuildManager.java:1781)
at com.buildforge.services.server.manager.CronManager.scheduleBuilds(CronManager.java:718)
at com.buildforge.services.server.manager.CronManager$CronScheduler.run(CronManager.java:896)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:810)
</pre>


which 7.1.2? I believe this defect was fixed in 7.1.2.1. 7.1.2.2ifix1 is out, and available from the downloads page.

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 17 '11, 1:01 p.m.

Question was seen: 3,469 times

Last updated: Jun 17 '11, 1:01 p.m.

Confirmation Cancel Confirm