[Anthill] build failed due to password to CVS --- where is wrong?
varban
vvv at urbancode.com
Wed Oct 26 15:33:14 CDT 2005
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(ProfileRepositoryAdapter.java:441)
>
> at
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter.prepareFileForEdit(ProfileRepositoryAdapter.java:365)
>
> at
> com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.doPreVersionFileModify(UrbanCodeVersionAdapter.java:252)
>
> at
> com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.setCurrentVersion(UrbanCodeVersionAdapter.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
More information about the Anthill
mailing list