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

Error while running the jazz build AuthenticationException: CRJAZ0124I Invalid username or password.

Hello ,

We are running eclipse build on windows envirement, fetching files from the repository is sucessfull, but failing with error in log as

[echo] # --> This build ... runs on OS family "windows" started from "JazzBuildEngine"

[teamLastModified] .Not using a proxy to reach https:<host>:9443/ccm/

[teamLastModified] com.ibm.team.repositorycommon.TeamRepositoryException: Error logging in to repository https://<host>:rd.9443/ccm/. Verify that the repository address and credentials to log in are correct.

[teamLastModified] at com.ibm.team.build.ant.task.AbstractTeamBuildTask.initializeRepositoryManager(AbstractTeamBuildTask.java:324)

[teamLastModified] at com.ibm.team.build.ant.task.AbstractTeamBuildTask.getTeamRepository(AbstractTeamBuildTask.java:270)

[teamLastModified] at com.ibm.team.build.ant.task.TeamLastModifiedTask.doExecute(TeamLastModifiedTask.java:145)

[teamLastModified] at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:661)

[teamLastModified] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

[teamLastModified] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[teamLastModified] at org.apache.tools.ant.Task.perform(Task.java:348)

[teamLastModified] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)

[teamLastModified] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[teamLastModified] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)

[teamLastModified] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

[teamLastModified] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[teamLastModified] at org.apache.tools.ant.Task.perform(Task.java:348)

[teamLastModified] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)

[teamLastModified] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[teamLastModified] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)

[teamLastModified] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

[teamLastModified] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[teamLastModified] at org.apache.tools.ant.Task.perform(Task.java:348)

[teamLastModified] at org.apache.tools.ant.Target.execute(Target.java:390)

[teamLastModified] at org.apache.tools.ant.Target.performTasks(Target.java:411)

[teamLastModified] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

[teamLastModified] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)

[teamLastModified] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

[teamLastModified] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)

[teamLastModified] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

[teamLastModified] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:665)

[teamLastModified] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:537)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)

[teamLastModified] at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)

[teamLastModified] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

[teamLastModified] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

[teamLastModified] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

[teamLastModified] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

[teamLastModified] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

[teamLastModified] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

[teamLastModified] at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

[teamLastModified] at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

[teamLastModified] Caused by: com.ibm.team.repository.transport.client.AuthenticationException: CRJAZ0124I Invalid username or password.

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil$FormAuthChallengeHandler.handleChallenge(ClientHttpUtil.java:832)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.handleAuthenticationChallenge(ClientHttpUtil.java:1174)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:359)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.access$10(ClientHttpUtil.java:324)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil$JAuthChallengeHandler.handleChallenge(ClientHttpUtil.java:757)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.handleAuthenticationChallenge(ClientHttpUtil.java:1174)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:359)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:315)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:219)

[teamLastModified] at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:227)

[teamLastModified] at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:553)

[teamLastModified] at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:540)

[teamLastModified] at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:481)

[teamLastModified] at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:194)

[teamLastModified] at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)

[teamLastModified] at $Proxy0.describe(Unknown Source)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[teamLastModified] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[teamLastModified] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[teamLastModified] at java.lang.reflect.Method.invoke(Method.java:597)

[teamLastModified] at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)

[teamLastModified] at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)

[teamLastModified] at $Proxy0.describe(Unknown Source)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1512)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1286)

[teamLastModified] at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1279)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1505)

[teamLastModified] at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:638)

[teamLastModified] at com.ibm.team.build.internal.scm.RepositoryManager.login(RepositoryManager.java:275)

[teamLastModified] at com.ibm.team.build.ant.task.AbstractTeamBuildTask.initializeRepositoryManager(AbstractTeamBuildTask.java:322)

[teamLastModified] ... 65 more

BUILD FAILED

C:\buildroot\SRM_release_12.2\R20130404-1535\fetch\cec.build\common\build_generic_scripts.xml:267: com.ibm.team.repository.common.TeamRepositoryException: Error logging in to repository >

at com.ibm.team.build.ant.task.AbstractTeamBuildTask.getTeamRepository(AbstractTeamBuildTask.java:270)

at com.ibm.team.build.ant.task.TeamLastModifiedTask.doExecute(TeamLastModifiedTask.java:145)

at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:661)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)

at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)

at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.Target.execute(Target.java:390)

at org.apache.tools.ant.Target.performTasks(Target.java:411)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

at org.apache.tools.ant.Project.executeTarget(Project.java:1368)

at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)

at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:665)

at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:537)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)

at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Caused by: com.ibm.team.repository.transport.client.AuthenticationException: CRJAZ0124I Invalid username or password.

at com.ibm.team.repository.transport.client.ClientHttpUtil$FormAuthChallengeHandler.handleChallenge(ClientHttpUtil.java:832)

at com.ibm.team.repository.transport.client.ClientHttpUtil.handleAuthenticationChallenge(ClientHttpUtil.java:1174)

at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:359)

at com.ibm.team.repository.transport.client.ClientHttpUtil.access$10(ClientHttpUtil.java:324)

at com.ibm.team.repository.transport.client.ClientHttpUtil$JAuthChallengeHandler.handleChallenge(ClientHttpUtil.java:757)

at com.ibm.team.repository.transport.client.ClientHttpUtil.handleAuthenticationChallenge(ClientHttpUtil.java:1174)

at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:359)

at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:315)

at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:219)

at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:227)

at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:553)

at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:540)

at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:481)

at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:194)

at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)

at $Proxy0.describe(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)

at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)

at $Proxy0.describe(Unknown Source)

at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1512)

at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1)

at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1286)

at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)

at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1279)

at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1505)

at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:638)

at com.ibm.team.build.internal.scm.RepositoryManager.login(RepositoryManager.java:275)

at com.ibm.team.build.ant.task.AbstractTeamBuildTask.initializeRepositoryManager(AbstractTeamBuildTask.java:322)

... 65 more

0 votes



2 answers

Permanent link
 This actually looks like a problem with your Ant script, not the JBE.  The Ant script looks like it has a bad user/password for the teamLastModified task.  If there are other tasks that have run correctly in your script, check the user/password information for those tasks.

~Spencer

0 votes


Permanent link
The pre build action is driven by the JBE using the repository URL and the user and password it was started with.

While running the build script itself you need to provide the repository URI, User ID and Password of the build user for build activities and communication with the CCM Server. See http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m1/topic/com.ibm.team.build.doc/topics/r_ant-tasks.html and the required parameters for the tasks. My best guess is you provide a wrong user/password.

You can look into the Sample Project that comes with RTC. Look into any stream, look into the Build component into JKEBuildScripts/sample.jke.build/build.xml

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
× 71

Question asked: Apr 04 '13, 6:42 a.m.

Question was seen: 276 times

Last updated: Apr 05 '13, 3:20 p.m.

Confirmation Cancel Confirm