[Anthill] build failed due to password to CVS --- where is wr ong?
Hu, Sigang
SHu at imc.com
Wed Oct 26 16:12:56 CDT 2005
Varban,
Home directory of CVS or Anthill? I am on Windows 2003 server, I searched
both directories and did not find .cvspass file at all.
I am sure password is not empty.
sigang
-----Original Message-----
From: varban [mailto:vvv at urbancode.com]
Sent: Wednesday, October 26, 2005 4:52 PM
To: Anthill user list
Subject: Re: [Anthill] build failed due to password to CVS --- where is wr
ong?
OK,
then go to the home directory and look for a .cvspass file. Open it and
remove any lines that contain the
":pserver:shu at hfehr.imc.com:/usr/local/cvs-hfehr" string.
Then type
cvs -d :pserver:shu at hfehr.imc.com:/usr/local/cvs-hfehr login
on the command prompt and enter your password when asked.
If that is successful, go back to the .cvspass file and check if there
is a line that contains the
":pserver:shu at hfehr.imc.com:/usr/local/cvs-hfehr" string and if so does
it have some garbage characters at the end.
One last thing, password cannot be empty!
Regards,
Varban
Hu, Sigang wrote:
> Yes, the same user. I am running AnthillOS.
>
> -----Original Message-----
> From: varban [mailto:vvv at urbancode.com]
> Sent: Wednesday, October 26, 2005 4:33 PM
> To: Anthill user list
> Subject: Re: [Anthill] build failed due to password to CVS --- where is
> wrong?
>
> Hi Sigang,
>
> when you ran cvs client manually, did you run it under the same user
> that AnthillPro's instance of Tomcat is running?
> The reason I am asking is because cvs stores the passwords in the user's
> home directory and if tomcat is runing under a different user then cvs
> will not find the password that you used.
>
> Regards,
> Varban
>
> Hu, Sigang wrote:
>
>>I was successful in building my project and then I set up 2 instances of
>>Tomcat as windows services and one is for Anthill building.
>>
>>I got the following error email:
>>
>>Anthill version 1.8.0.264
>>
>>
>>
>>Retrieving project files: OK
>>
>>FAILED to build project. Message: ProfileAdapter prepareForEdit failed:
>>1 FAILED to get revision list. Message: cvs log failed. Exit code: 1
>>
>>
>>
>>And in my tomcat instance log, I see:
>>
>>'cvs'
>>
>>'-d'
>>
>>':pserver:shu at hfehr.imc.com:/usr/local/cvs-hfehr'
>>
>>'edit'
>>
>>'server\build_version.txt'
>>
>>
>>
>>The ' characters around the executable and arguments are
>>
>>not part of the command.
>>
>>
>>
>>
>>
>>WorkingDir: none
>>
>>
>>
>>11:27:54:890 [Thread - AnthillBuildDaemon] DEBUG
>>com.urbancode.anthill.adapter.ProfileRepositoryAdapter -
>>
>>
>>
>>Environment Variables: none
>>
>>11:27:54:890 [Thread - AnthillBuildDaemon] DEBUG
>>org.apache.commons.execute.ProcessThreadRegistry - Adding a process for
>>thread: Thread - AnthillBuildDaemon
>>
>>cvs edit: Empty password used - try 'cvs login' with a real password
>>
>>
>>
>>cvs [edit aborted]: authorization failed: server adenine.imc.com
>>rejected access to /usr/local/cvs-hfehr for user shu
>>
>>11:27:55:000 [Thread - AnthillBuildDaemon] ERROR
>>com.urbancode.anthill.BuildManager - ProfileAdapter prepareForEdit
>>failed: 1
>>
>>com.urbancode.anthill.adapter.RepositoryException: ProfileAdapter
>>prepareForEdit failed: 1
>>
>> at
>>
>
>
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand(Profil
> eRepositoryAdapter.java:441)
>
>> at
>>
>
>
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.prepareFileForEdit(Pr
> ofileRepositoryAdapter.java:365)
>
>> at
>>
>
>
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.doPreVersionFileModify
> (UrbanCodeVersionAdapter.java:252)
>
>> at
>>
>
>
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.setCurrentVersion(Urba
> nCodeVersionAdapter.java:175)
>
>> at
>>com.urbancode.anthill.BuildManager.build(BuildManager.java:138)
>>
>> at
>>
>
>
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)
>
>> at
>>com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
>>
>> at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
>>
>>11:27:55:000 [Thread - AnthillBuildDaemon] INFO
>>com.urbancode.anthill.adapter.CVSRepositoryAdapter - Get revisions
>>since command: cmd /x/c
>>
>>
>>
>> cd /d C:\Anthill1.8.0\work &&
>>
>>
>>
>>cvs -d :pserver:shu at hfehr.imc.com:/usr/local/cvs-hfehr log
>>-d">2005-10-24 21:56:57 GMT" -rHEAD -N hfehr
>>
>>
>>
>>cvs log: Empty password used - try 'cvs login' with a real password
>>
>>
>>
>>I have followed this instruction when configuring CVS repository adapter
>>- I run cvs manually both on command line and using WinCvs client. But
>>looks like the password is not stored. So I can't get authenticated and
>>can't get revision list.
>>
>>"The CVS ROOT used to log in to CVS. Please keep in mind that if you are
>>using pserver authentication, then the user must log in manually from
>>the machine running Anthill into the CVS. (Logging in manually will
>>allow the CVS client to store the CVS password for future use). "
>>
>>Thanks in Advance.
>>
>>sigang
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Anthill mailing list
>>Anthill at lists.urbancode.com
>>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill
More information about the Anthill
mailing list