I'm using the
TEE-CLC library to interact with the *tfswt.int.thomson.com* TFS instance.
Most of the basic commands work just fine, and I'm able to list my workspaces, create a new one, and map a new workspace to a file path.
However, when I use the 'get' command to pull the latest code, after successfully pulling 10-15 files (it varies each time), the get fails with authentication issues. The files that it did pull look fine.
**command**
./tf get /path/mapped/to/workspace -recursive -login:'TLR\u0049913',mypassword
**console**
/path/mapped/to/workspace/FlexComponents/CHCCore/src/main/flex/chai/chc/core/components/assignedNodes:
Getting AssignedNodesBox.mxml
Getting AssignedNodesViewer.mxml
An error occurred: Access denied connecting to TFS server
http://tfswt.int.thomson.com:8080/ (authenticating as TLR\u0049913)
The Team Explorer log shows the stack trace below. Anyone else run into this?
2011-11-09 08:37:48,690 INFO [pool-1-thread-7] (org.apache.commons.httpclient.auth.AuthChallengeProcessor) ntlm authentication scheme selected 2011-11-09 08:37:48,698 INFO [pool-1-thread-9] (org.apache.commons.httpclient.auth.AuthChallengeProcessor) ntlm authentication scheme selected 2011-11-09 08:37:48,718 INFO [pool-1-thread-4] (org.apache.commons.httpclient.auth.AuthChallengeProcessor) ntlm authentication scheme selected 2011-11-09 08:37:48,718 INFO [pool-1-thread-1] (org.apache.commons.httpclient.auth.AuthChallengeProcessor) ntlm authentication scheme selected 2011-11-09 08:37:48,721 INFO [pool-1-thread-2] (org.apache.commons.httpclient.auth.AuthChallengeProcessor) ntlm authentication scheme selected 2011-11-09 08:37:48,739 INFO [pool-1-thread-3] (org.apache.commons.httpclient.HttpMethodDirector) Failure authenticating with NTLM
@tfswt.int.thomson.com:8080 2011-11-09 08:37:48,750 INFO [pool-1-thread-5] (org.apache.commons.httpclient.auth.AuthChallengeProcessor) ntlm authentication scheme selected 2011-11-09 08:37:48,752 WARN [pool-1-thread-3] (com.microsoft.tfs.core.clients.versioncontrol.internal.workers.GetEngineDownloadWorker) Exception completing get; rethrowing as runtime exception com.microsoft.tfs.core.exceptions.TFSUnauthorizedException: Access denied connecting to TFS server
http://tfswt.int.thomson.com:8080/ (authenticating as TLR\u0049913)
at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:71)
at com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper.java:28)
at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.sendNextLocalVersionUpdateBatch(Workspace.java:5179)
at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.sendLocalVersionUpdatesUntilUnderTriggerSize(Workspace.java:5136)
at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.updateLocalVersion(Workspace.java:5081)
at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.updateLocalVersion(Workspace.java:5010)
at com.microsoft.tfs.core.clients.versioncontrol.internal.workers.GetEngineDownloadWorker.completeGetOperation(GetEngineDownloadWorker.java:472)
at com.microsoft.tfs.core.clients.versioncontrol.internal.workers.GetEngineDownloadWorker.call(GetEngineDownloadWorker.java:133)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
at com.microsoft.tfs.core.clients.versioncontrol.internal.concurrent.BoundedExecutor$1.run(BoundedExecutor.java:96)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:662) Caused by: com.microsoft.tfs.core.ws.runtime.exceptions.UnauthorizedException: Authorization failure connecting to: [
http://tfswt.int.thomson.com:8080/VersionControl/v1.0/repository.asmx] (authenticating as TLR\u0049913)
at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:437)
at ms.tfs.versioncontrol.clientservices._03._RepositorySoap12Service.updateLocalVersion(_RepositorySoap12Service.java:2715)
at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.sendNextLocalVersionUpdateBatch(Workspace.java:5172)
... 12 more