[Anthill] Configuring AntHILL with CVS connected over VPN wit h SSH?

Eric Minick eric at urbancode.com
Mon Jul 19 07:54:34 CDT 2004


Jeevan,

Looks like ssh isn't on the path. In WinCVS you specify the ssh client, 
but here you'll need to rely on the Windows path. First, figure out 
which user you need SSH to be on the path for. If you're launching 
Tomcat form the batch file manually, then that user is you if it is a 
service, you'll want to check the Windows service manager perhaps 
changing the user from System to some user you create named Anthill. 
Looks like you're on the right track though.

Cheers,

Eric

Burford, Nate wrote:

>  
> Jeevan,
>  
> Not a unix admin or anything but since the error seems not to like the 
> SSH client very much maybe consider using a different client.
> Or, and I maybe wrong but it looks like anthill maybe be living on a 
> Windows Box?  So possibly connect via VPN to the Windows box with a 
> VNC or remote desktop connection to execute the Anthill build.
>
>     -----Original Message-----
>     *From:* Jeevan_Sunkersett [mailto:Jeevan_Sunkersett at satyam.com]
>     *Sent:* Saturday, July 17, 2004 2:58 AM
>     *To:* anthill at lists.urbancode.com
>     *Subject:* [Anthill] Configuring AntHILL with CVS connected over
>     VPN with SSH?
>
>     Hi,
>
>      
>
>     I have downloaded Ant hill OS to have a look.
>
>      
>
>     I have used ant hill before but transparently, this is the first
>     time I am trying to configure it.
>
>      
>
>     In our development env. the CVS repository is geographically very far.
>
>     We connect to it over a VPN and using a SSH client (cygwin/ putty)
>     we download the code to our local machine to work on.
>
>      
>
>     For this we use WinCVS as such I am not very much aware of cvs
>     command-line options too.
>
>      
>
>     I setup a project in AntHill and tried a Force build on it.
>
>     It attempted contacting the CVS server but gave an exception which
>     I am unable to analyze.
>
>      
>
>     Any clues?
>
>      
>
>     (I can understand the SendFailedException, It cud be because the
>     network admin has closed the SMTP tcp/ip port 25)
>
>     /-----------------/
>
>     /thks & rgds/
>
>     /G1/
>
>      
>
>     The stack trace in the Tomcat console-----
>
>      
>
>     Anthill: looking for file: C:\Documents and
>     Settings\js10987\.anthill.anthill.properties
>
>     Anthill version: 1.7.0.162 loaded.
>
>     Anthill root dir: c:\anthill
>
>     14:20:29:359 [Thread-3] INFO  com.urbancode.anthill.Anthill  -
>     Starting Anthill daemons
>
>     14:20:39:875 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - repository
>     root: :ext:jsunkeersett at mpitt50:/usr/local/cvsroot
>
>     14:20:39:875 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - Module: CM
>
>     14:20:39:875 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - Branch: null
>
>     14:20:39:875 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - Work
>     directory: c:\anthill\fiserv-work
>
>     14:20:39:875 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - Local
>     project directory: c:\anthill\fiserv-work\CM
>
>     14:20:39:890 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.BuildManager  - Project: FiServ is being
>     released.
>
>     14:20:39:890 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.BuildManager  - Initializing repository
>     adapter...
>
>     14:20:39:890 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - repository
>     root: :ext:jsunkeersett at mpitt50:/usr/local/cvsroot
>
>     14:20:39:890 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - Module: CM
>
>     14:20:39:890 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - Branch: null
>
>     14:20:39:890 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - Work
>     directory: c:\anthill\fiserv-work
>
>     14:20:39:890 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - Local
>     project directory: c:\anthill\fiserv-work\CM
>
>     14:20:39:890 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.BuildManager  - step 0) Clean up working
>     directory
>
>     14:20:39:890 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - Cleaning
>     up local files:
>
>     14:20:40:031 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.BuildManager  - step 1) Retrieve working
>     copy of code from repository
>
>     Pagelets v3.1.5 loaded.
>
>     Copyright 2000-2002 Urbancode.  All rights reserved.
>
>     14:20:40:093 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.util.Execute  - [checkout] cmd /x/c cd /d
>     c:\anthill\fiserv-work && cvs -d
>     :ext:jsunkeersett at mpitt50:/usr/local/cvsroot checkout -A CM
>
>      
>
>     ' from cvs serveread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  -
>     RepositoryException in checkout. message: ProfileAdapter checkout
>     failed: cvs checkout: warning: unrecognized response `'ssh' is not
>     recognized as an internal or external command,
>
>     ' from cvs serverning: unrecognized response `operable program or
>     batch file.
>
>     cvs [checkout aborted]: end of file from server (consult above
>     messages if any)
>
>      
>
>     14:20:40:437 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter  - CVS returned
>     checkout aborted error. Trying again
>
>     14:20:40:437 [Thread - AnthillBuildDaemon] INFO 
>     com.urbancode.anthill.util.Execute  - [checkout] cmd /x/c cd /d
>     c:\anthill\fiserv-work && cvs -d
>     :ext:jsunkeersett at mpitt50:/usr/local/cvsroot checkout -A CM
>
>      
>
>     ' from cvs serveread - AnthillBuildDaemon] ERROR
>     com.urbancode.anthill.BuildManager  - ProfileAdapter checkout
>     failed: cvs checkout: warning: unrecognized response `'ssh' is not
>     recognized as an internal or external command,
>
>     ' from cvs serverning: unrecognized response `operable program or
>     batch file.
>
>     cvs [checkout aborted]: end of file from server (consult above
>     messages if any)
>
>      
>
>     ' from cvs serverhill.adapter.RepositoryException: ProfileAdapter
>     checkout failed: cvs checkout: warning: unrecognized response
>     `'ssh' is not recognized as an internal or external command,
>
>     ' from cvs serverning: unrecognized response `operable program or
>     batch file.
>
>     cvs [checkout aborted]: end of file from server (consult above
>     messages if any)
>
>      
>
>             at
>     com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand(ProfileRepositoryAdapter.java:438)
>
>             at
>     com.urbancode.anthill.adapter.ProfileRepositoryAdapter.getWorkingProjectCopy(ProfileRepositoryAdapter.java:290)
>
>             at
>     com.urbancode.anthill.adapter.CVSRepositoryAdapter.getWorkingProjectCopy(CVSRepositoryAdapter.java:169)
>
>             at
>     com.urbancode.anthill.BuildManager.build(BuildManager.java:106)
>
>             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)
>
>     14:20:40:859 [Thread - AnthillBuildDaemon] ERROR
>     com.urbancode.anthill.BuildManager  - couldn't send result email
>
>     javax.mail.SendFailedException: No recipient addresses
>
>             at javax.mail.Transport.send0(Transport.java:111)
>
>             at javax.mail.Transport.send(Transport.java:81)
>
>             at
>     com.urbancode.pagelet.module.email.EmailMessage.send(EmailMessage.java:170)
>
>             at
>     com.urbancode.anthill.PageletResultEmail.send(PageletResultEmail.java:40)
>
>             at
>     com.urbancode.anthill.PageletResultEmail.send(PageletResultEmail.java:24)
>
>             at
>     com.urbancode.anthill.BuildManager.build(BuildManager.java:260)
>
>             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)
>
>      
>
>     **************************************************************************
>
>
>     This email (including any attachments) is intended for the sole
>     use of the intended recipient/s and may contain material that is
>     CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or
>     reliance by others or copying or distribution or forwarding of any
>     or all of the contents in this message is STRICTLY PROHIBITED. If
>     you are not the intended recipient, please contact the sender by
>     email and delete all copies; your cooperation in this regard is
>     appreciated.
>
>     **************************************************************************
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>



More information about the Anthill mailing list