continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Continuum under Tomcat & CVS
Date Wed, 10 Oct 2007 15:16:31 GMT
Do you have a .cvspass file with your cvsroot declared in it?

Emmanuel

Antonín Faltýnek a écrit :
> I've tried but it was not functional for me, this error was caused when I've 
> tried to use 'SCM username' and 'SCM password'. In ./.ssh directory is only 
> known_hosts file.
> 
> TOnda
> 
> Dne středa 10. října 2007 Emmanuel Venisse napsal(a):
>> Do you use a private/public ssh key to connect to your cvs server? where is
>> it stored?
>>
>> Emmanuel
>>
>> Antonín Faltýnek a écrit :
>>> I'm sorry for late response, but I was away from town.
>>>
>>> I'd tried new continuum beta3, but connection to CVS is not still
>>> working, Tomcat user has its home directory with ssh configuration. It's
>>> environmet varible CVS_RSH is correctly set to 'ssh', this command is
>>> available on PATH.
>>>
>>> When I try to use username/password authentication I get following error:
>>>
>>> 2007-10-10 08:36:04,837 [pool-1-thread-1] INFO
>>> BuildController:default        - Starting build of TIF Utils
>>> 2007-10-10 08:36:04,873 [pool-1-thread-1] INFO
>>> BuildController:default        - Purging exiting working copy
>>> 2007-10-10 08:36:04,873 [pool-1-thread-1] INFO
>>> BuildController:default        - Performing action
>>> clean-working-directory 2007-10-10 08:36:04,875 [pool-1-thread-1] INFO
>>> BuildController:default        - Updating working dir
>>> 2007-10-10 08:36:04,875 [pool-1-thread-1] INFO
>>> BuildController:default        - Performing action
>>> check-working-directory 2007-10-10 08:36:04,877 [pool-1-thread-1] INFO
>>> BuildController:default        - Performing action checkout-project
>>> 2007-10-10 08:36:04,882 [pool-1-thread-1] INFO
>>> ContinuumScm:default           - Checking out project: 'TIF Utils', id:
>>> '1' to '/var/lib/tomcat-5.
>>> 5/webapps/continuum/WEB-INF/working-directory/1'.
>>> 2007-10-10 08:36:04,883 [pool-1-thread-1] INFO
>>> ScmManager:default             -
>>> Executing: /bin/sh -c "cd /var/lib/tomcat-5.5/webapps/continuum/W
>>> EB-INF/working-directory &&
>>> cvs -z3 -f -d :ext:afaltynek@repository2.trask.cz:/cvs -q checkout -d 1
>>> TIF_Utils"
>>> 2007-10-10 08:36:04,883 [pool-1-thread-1] INFO
>>> ScmManager:default             - Working
>>> directory: /var/lib/tomcat-5.5/webapps/continuum/WEB-INF/
>>> working-directory
>>> java.lang.IllegalArgumentException: password argument is null
>>>         at
>>> ch.ethz.ssh2.Connection.authenticateWithPassword(Connection.java:307)
>>>         at
>>> org.apache.maven.scm.provider.cvslib.cvsjava.util.ExtConnection.open(ExtC
>>> onnection.java:122) at
>>> org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.connect(C
>>> vsConnection.java:164) at
>>> org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.processCo
>>> mmand(CvsConnection.java:475) at
>>> org.apache.maven.scm.provider.cvslib.cvsjava.command.checkout.CvsJavaChec
>>> kOutCommand.executeCvsCommand(CvsJavaCheckOutCommand.java:50) at
>>> org.apache.maven.scm.provider.cvslib.command.checkout.AbstractCvsCheckOut
>>> Command.executeCheckOutCommand(AbstractCvsCheckOutCommand.java            
>>>                       :83) at
>>> org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeComm
>>> and(AbstractCheckOutCommand.java:49) at
>>> org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java
>>> :58) at
>>> org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeComman
>>> d(AbstractCvsScmProvider.java:521) at
>>> org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.checkout(Abst
>>> ractCvsScmProvider.java:595) at
>>> org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmPro
>>> vider.java:444) at
>>> org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmPro
>>> vider.java:399) at
>>> org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmPro
>>> vider.java:382) at
>>> org.apache.maven.continuum.scm.DefaultContinuumScm.checkOut(DefaultContin
>>> uumScm.java:136) at
>>> org.apache.maven.continuum.core.action.CheckoutProjectContinuumAction.exe
>>> cute(CheckoutProjectContinuumAction.java:91) at
>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.perform
>>> Action(DefaultBuildController.java:417) at
>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.updateW
>>> orkingDirectory(DefaultBuildController.java:400) at
>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(D
>>> efaultBuildController.java:112) at
>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.execu
>>> teTask(BuildProjectTaskExecutor.java:50) at
>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Executo
>>> rRunnable$1.run(ThreadedTaskQueueExecutor.java:116) 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:176) at
>>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWork
>>> er(ThreadPoolExecutor.java:987) at
>>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.
>>> run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Thread.java:595)
>>> 2007-10-10 08:36:05,043 [pool-1-thread-1] WARN
>>> ContinuumScm:default           - Error while checking out the code for
>>> project: 'TIF Utils', id: '                                   1'
>>> to '/var/lib/tomcat-5.5/webapps/continuum/WEB-INF/working-directory/1'.
>>> 2007-10-10 08:36:05,043 [pool-1-thread-1] WARN
>>> ContinuumScm:default           - Command output:
>>> 2007-10-10 08:36:05,043 [pool-1-thread-1] WARN
>>> ContinuumScm:default           - Provider message: The cvs command
>>> failed. 2007-10-10 08:36:05,080 [pool-1-thread-1] INFO
>>> BuildController:default        - Merging SCM results
>>> 2007-10-10 08:36:05,192 [pool-1-thread-1] INFO
>>> BuildController:default        - Error updating from SCM, not building
>>>
>>> Dne středa 26. září 2007 Emmanuel Venisse napsal(a):
>>>> Do you have more informations about the SCM error in your build result?
>>>>
>>>> Emmanuel
>>>>
>>>> Antonín Faltýnek a écrit :
>>>>> Dne středa 26. září 2007 Emmanuel Venisse napsal(a):
>>>>>> For cvs (and continnum and maven) a user home is required because
cvs
>>>>>> store authentication in ${user.home}/.cvspass maven required it too
to
>>>>>> store the local repository and settings.xml
>>>>>>
>>>>>> Emmanuel
>>>>>>
>>>>>> Antonín Faltýnek a écrit :
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I have problem with Continuum 1.1 beta2, which I'm running on
Linux
>>>>>>> box under Tomcat 5.5. Continuum is not able to perform CVS update
>>>>>>> command, when I use command from log file and run it as any other
>>>>>>> user it works fine for me.
>>>>>>>
>>>>>>> Tomcat is running under user tomcat, which has no home directory
>>>>>>> (/dev/null).
>>>>>>>
>>>>>>> Has anybody met (and happily solved :)) this issue?
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Tonda
>>>>> So I've created user home for tomcat, I haven't mentioned that for
>>>>> connection I'm using ssh with rsa key, from command line it works fine,
>>>>> tomcat is really running under tomcat user, but continuum still fails.
>>>>>
>>>>> (continuum is updating, because co was performed by hand)
>>>>>
>>>>> -------------------- log snipped --------------------
>>>>>
>>>>> 38787 [http-8080-Processor25] DEBUG
>>>>> org.apache.catalina.core.ApplicationDispatcher  -  Path Based Include
>>>>> 38727 [pool-1-thread-1] INFO
>>>>> org.apache.maven.continuum.scm.ContinuumScm:default  - Updating
>>>>> project: id: '1', name 'TIF Utils'.
>>>>> 38980 [pool-1-thread-1] INFO
>>>>> org.apache.maven.scm.manager.ScmManager:default  -
>>>>> Executing: /bin/bash -c "cd /var/lib/tomcat-5.5/webapps/continuum
>>>>> /WEB-INF/working-directory/1 && cvs -z3 -f -q update -d"
>>>>> 38980 [pool-1-thread-1] INFO
>>>>> org.apache.maven.scm.manager.ScmManager:default  - Working
>>>>> directory: /var/lib/tomcat-5.5/webapps/continuum/WEB-INF/
>>>>> working-directory/1
>>>>> 39155 [http-8080-Processor25] DEBUG
>>>>> org.apache.catalina.core.ApplicationDispatcher  -
>>>>> servletPath=/WEB-INF/jsp/components/companyLogo.jsp, pathInf
>>>>> o=null, queryString=null, name=null
>>>>> 39155 [http-8080-Processor25] DEBUG
>>>>> org.apache.catalina.core.ApplicationDispatcher  -  Path Based Include
>>>>> 40079 [pool-1-thread-1] WARN
>>>>> org.apache.maven.continuum.scm.ContinuumScm:default  - Error while
>>>>> updating the code for project: 'TIF Utils', id: '
>>>>> 1' to
>>>>> '/var/lib/tomcat-5.5/webapps/continuum/WEB-INF/working-directory/1'.
>>>>> 40080 [pool-1-thread-1] WARN
>>>>> org.apache.maven.continuum.scm.ContinuumScm:default  - Command output:
>>>>> 40080 [pool-1-thread-1] WARN
>>>>> org.apache.maven.continuum.scm.ContinuumScm:default  - Provider
>>>>> message: The cvs command failed.
>>>>> 40123 [pool-1-thread-1] INFO
>>>>> org.apache.maven.continuum.buildcontroller.BuildController:default  -
>>>>> Merging SCM results
>>>>> 40622 [pool-1-thread-1] INFO
>>>>> org.apache.maven.continuum.buildcontroller.BuildController:default  -
>>>>> Error updating from SCM, not building
> 
> 
> 


Mime
View raw message