Re: [c-1.1] Can't edit project notifiers?

2007-12-05 Thread Antonín Faltýnek
On Dec 3, 2007 6:08 PM, Mick Knutson [EMAIL PROTECTED] wrote:

 I have had to add an additional project notifier because the default one
 does not allow me to edit it. How can I edit, or how does Continuum assign
 the recipient to the default notifier?

 PROJECT NAME Type Recipient Events
 Tools
 http://rc-sun66e.ut.dentegra.lab:8080/continuum/projectView.action?projectId=61
 
 mail unknown Error/Failure/Success/Warning [image: Edit]  [image: Delete]
 Tools
 http://rc-sun66e.ut.dentegra.lab:8080/continuum/projectView.action?projectId=61
 
 mail [EMAIL PROTECTED], latest committers
 Error/Failure/Success/Warning  [image:
 Edit]
 
 http://rc-sun66e.ut.dentegra.lab:8080/continuum/editProjectNotifier.action?projectId=61notifierType=mailfromGroupPage=trueprojectGroupId=6notifierId=408
 
  [image:
 Delete]
 
 http://rc-sun66e.ut.dentegra.lab:8080/continuum/deleteProjectNotifier.action?projectId=61confirmed=falsefromGroupPage=trueprojectGroupId=6notifierId=408
 
  WAR
 Archetype
 http://rc-sun66e.ut.dentegra.lab:8080/continuum/projectView.action?projectId=67
 
 mail unknown Error/Failure/Success/Warning [image: Edit]  [image: Delete]

 I also added this to my master pom:
ciManagement
systemcontinuum/system
urlhttp://rc-sun66e.ut.dentegra.lab:8080/continuum/url
notifiers
notifier
typemail/type
sendOnErrortrue/sendOnError
sendOnFailuretrue/sendOnFailure
sendOnSuccesstrue/sendOnSuccess
sendOnWarningtrue/sendOnWarning
address[EMAIL PROTECTED]/address
/notifier
/notifiers
/ciManagement



 But that did not seem to help Or must I restart Continuum for that to
 take affect?



 --
 Thanks,
 Mick Knutson

 http://www.baselogic.com
 http://www.blincmagazine.com
 http://www.djmick.com
 http://www.myspace.com/mickknutson
 http://www.myspace.com/BLiNCMagazine
 http://tahoe.baselogic.com
 ---


There are two groups of notifiers, first that can be defined in project POM
and could not be edited in Continuum, and second that can be defined in
Continuum. That is probably the reason that you was not able to edit the
notifier - it was defined in you POM.

If make any changes into any POM, it is necessary to remove appropriate POM
from maven repository used by Continuum. When Continuum updates project from
SCM it will update all informations from project POM.

Tonda Faltynek


Re: Multiple scheduled builds on the same project...

2007-10-31 Thread Antonín Faltýnek
Dne středa 31. října 2007 Emmanuel Venisse napsal(a):
 Antonín Faltýnek a écrit :
  Dne středa 31. října 2007 Eric D. Nielsen napsal(a):
  I'm a little confused over how multiple build definitiions on different
  schedules interact within a project.  After reading several threads
  it looks like my understand was correct, yet my installation doesn't
  seem to behave as expected.
 
  I have three schedules set up:
  Hourly
  Every four hours
  Nightly
 
  I have four build definitions
  Hourly: clean test
  Every four hours: clean integration-test
  Nightly: clean install
  Nightly: clean site site:deploy
 
  When a SVN commit occurs, the next hourly build shows that it detects
  the
  changes and builds.  The nightly and four-hourly builds don't seem to
  respond.
  I thought that each schedule had its own dirty checker for SCM, so
  that the fact
  that their were no changes since the hourly build shouldn't stop
  these other schedules
  from running.  However when I looked in the continuum working
  directly, I see only a
  single checked out project directory, so I wouldn't expect it to
  think that the project
  needs to be built
 
  So my questions are
 
  a) should the different builds function independently of each others
  updated-ness
 
  b) if yes, where should I look to debug this?
  c) if no, what's the correct configuration to establish my desired
  build schedules?
 
  Thank you.
 
  Eric
 
  I had same issues Eric with version 1.0.3, then we upgraded to 1.1b3,
  which enables configuration, that specific build definition should be
  performed ALWAYS, and that should be used CVS CO instead of CVS
  UPDATE.

 With the latest 1.1 beta (1.1-beta-4), you don't need to run a clean build
 with a checkout. All build definitions are independant and found all
 changes from other builds since last execution even if the update return
 nothing.

Thats great. This will help very much. Many thanks to whole continuum team.


  These two features can help you.
 
  Also there is issue, that if you have several build definitions (as in
  your example), then if your nightly clean install fail, but nightly
  site site:deploy performs successfully, you will se green success icon
  in project list and you have not good view on project state until you
  check build results.

 We'll try to find a solution for this in 1.2, but your 2 nightly builddef
 clean install + site site:deploy can be rewrite with one builddef
 clean install site-deploy

Some times we had situation, that we need site even if, for example, fail any 
junit test. So we've divided these to execuions into separate build defs.

Tonda


Re: Continuum under Tomcat CVS

2007-10-12 Thread Antonín Faltýnek
This is GREAT :-D whole my family will praise you as a hero ;)

Using cvs_native solved all my problems and now continuum is fully 
functionall.

When look back, there has to be some property configured in jetty or plexus 
that is not configured in tomcat. That is my only explanation of this issue.

Thank you very much Emmanuel
Best regards
Tonda

Dne čtvrtek 11. října 2007 Emmanuel Venisse napsal(a):
 weird. standalone and webapp use the same cvs provider.

 If you prefer to use the native cvs instead of the java cvs, you can set
 this property in your tomcat:

 -Dmaven.scm.provider.cvs.implementation=cvs_native

 Emmanuel

 Antonín Faltýnek a écrit :
  This is really funny,
 
  because I'm running on linux box, I'm not able to perform cvs login for
  'ext' server and my repo is not run on pserver.
 
  So I tried connecting to cvs server through ssh using rsa key.
 
  When I configure (fresh install and upload of one POM) continuum, which
  was running as standalone, everything works fine.
 
  When I run continuum from Tomcat, under same user as before I got
  following error, I've same configuration, same user, only another
  container:
 
  2007-10-11 15:53:19,506 [pool-1-thread-1] INFO
  BuildController:default- Initializing build
  2007-10-11 15:53:19,513 [pool-1-thread-1] INFO
  BuildController:default- Starting build of TIF Utils
  2007-10-11 15:53:19,552 [pool-1-thread-1] INFO
  BuildController:default- Purging exiting working copy
  2007-10-11 15:53:19,552 [pool-1-thread-1] INFO
  BuildController:default- Performing action
  clean-working-directory 2007-10-11 15:53:19,554 [pool-1-thread-1] INFO
  BuildController:default- Updating working dir
  2007-10-11 15:53:19,554 [pool-1-thread-1] INFO
  BuildController:default- Performing action
  check-working-directory 2007-10-11 15:53:19,557 [pool-1-thread-1] INFO
  BuildController:default- Performing action checkout-project
  2007-10-11 15:53:19,560 [pool-1-thread-1] INFO
  ContinuumScm:default   - Checking out project: 'TIF Utils', id:
  '6' to
  '/var/lib/tomcat-5.5/webapps/continuum/WEB-INF/working-directory/6'.
  2007-10-11 15:53:19,561 [pool-1-thread-1] INFO
  ScmManager:default -
  Executing: /bin/sh -c cd
  /var/lib/tomcat-5.5/webapps/continuum/WEB-INF/working-directory  cvs
  -z3 -f -d :ext:[EMAIL PROTECTED]:/cvs -q checkout -d 6
  TIF_Utils
  2007-10-11 15:53:19,561 [pool-1-thread-1] INFO
  ScmManager:default - Working
  directory:
  /var/lib/tomcat-5.5/webapps/continuum/WEB-INF/working-directory
  log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,590 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -
  servletPath=/WEB-INF/jsp/projectView.jsp, pathInfo=null,
  queryString=null, name=null
  log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,590 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -  Path Based Forward
  log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,592 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -
  servletPath=/WEB-INF/jsp/navigations/ProjectMenu.jsp, pathInfo=null,
  queryString=tab=view, name=null
  log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,592 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -  Path Based Include
  log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,649 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -
  servletPath=/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp,
  pathInfo=null, queryString=null, name=null
  log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,649 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -  Path Based Include
  log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,687 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -  Disabling the response for futher
  output log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,688 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -  The Response is vehiculed using a
  wrapper: com.opensymphony.module.sitemesh.filter.PageResponseWrapper
  log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,690 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -
  servletPath=/WEB-INF/jsp/decorators/default.jsp, pathInfo=null,
  queryString=null, name=null
  log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,690 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -  Path Based Include
  log4j:ERROR Attempted to append to closed appender named [R].
  2007-10-11 15:53:19,744 [http-8080-Processor24] DEBUG
  ApplicationDispatcher  -
  servletPath=/WEB-INF/jsp/components/companyLogo.jsp, pathInfo

Re: Continuum under Tomcat CVS

2007-10-11 Thread Antonín Faltýnek
Nope, I've tried to use Continuum configuration options 'SCM username' 
and 'SCM password'.

Tonda

Dne středa 10. října 2007 Emmanuel Venisse napsal(a):
 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:[EMAIL PROTECTED]:/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(Ex
 tC 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.process
 Co mmand(CvsConnection.java:475) at
  org.apache.maven.scm.provider.cvslib.cvsjava.command.checkout.CvsJavaCh
 ec kOutCommand.executeCvsCommand(CvsJavaCheckOutCommand.java:50) at
  org.apache.maven.scm.provider.cvslib.command.checkout.AbstractCvsCheckO
 ut Command.executeCheckOutCommand(AbstractCvsCheckOutCommand.java
 
:83) at
 
  org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeCo
 mm and(AbstractCheckOutCommand.java:49) at
  org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.ja
 va
 
  :58) at
 
  org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeComm
 an d(AbstractCvsScmProvider.java:521) at
  org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.checkout(Ab
 st ractCvsScmProvider.java:595) at
  org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmP
 ro vider.java:444) at
  org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmP
 ro vider.java:399) at
  org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmP
 ro vider.java:382) at
  org.apache.maven.continuum.scm.DefaultContinuumScm.checkOut(DefaultCont
 in uumScm.java:136) at
  org.apache.maven.continuum.core.action.CheckoutProjectContinuumAction.e
 xe cute(CheckoutProjectContinuumAction.java:91) at
  org.apache.maven.continuum.buildcontroller.DefaultBuildController.perfo
 rm Action(DefaultBuildController.java:417) at
  org.apache.maven.continuum.buildcontroller.DefaultBuildController.updat
 eW orkingDirectory(DefaultBuildController.java:400) at
  org.apache.maven.continuum.buildcontroller.DefaultBuildController.build
 (D efaultBuildController.java:112) at
  org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exe
 cu teTask(BuildProjectTaskExecutor.java:50) at
  org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execu
 to rRunnable$1.run(ThreadedTaskQueueExecutor.java:116) at
  edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapte
 r. call(Executors.java:442) at
  edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTas
 k. java:176) at
  edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWo
 rk er

Re: Continuum under Tomcat CVS

2007-10-11 Thread Antonín Faltýnek
(CvsJavaCheckOutCommand.java:50)
at 
org.apache.maven.scm.provider.cvslib.command.checkout.AbstractCvsCheckOutCommand.executeCheckOutCommand(AbstractCvsCheckOutCommand.java:83)
at 
org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeCommand(AbstractCheckOutCommand.java:49)
at 
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
at 
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeCommand(AbstractCvsScmProvider.java:521)
at 
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.checkout(AbstractCvsScmProvider.java:595)
at 
org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:444)
at 
org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:399)
at 
org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:382)
at 
org.apache.maven.continuum.scm.DefaultContinuumScm.checkOut(DefaultContinuumScm.java:136)
at 
org.apache.maven.continuum.core.action.CheckoutProjectContinuumAction.execute(CheckoutProjectContinuumAction.java:91)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:417)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.updateWorkingDirectory(DefaultBuildController.java:400)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:112)
at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$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.runWorker(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)
Caused by: java.io.IOException: Publickey authentication failed.
at 
ch.ethz.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:259)
at 
ch.ethz.ssh2.Connection.authenticateWithPublicKey(Connection.java:377)
at 
ch.ethz.ssh2.Connection.authenticateWithPublicKey(Connection.java:428)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.ExtConnection.open(ExtConnection.java:118)
... 23 more
Caused by: java.io.IOException: Decrypted PEM has wrong padding, did you 
specify the correct password?
at ch.ethz.ssh2.crypto.PEMDecoder.removePadding(PEMDecoder.java:109)
at ch.ethz.ssh2.crypto.PEMDecoder.decryptPEM(PEMDecoder.java:286)
at ch.ethz.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:319)
at 
ch.ethz.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:168)
... 26 more
2007-10-11 15:53:19,824 [pool-1-thread-1] WARN  
ContinuumScm:default   - Error while checking out the code for 
project: 'TIF Utils', id: '6' 
to '/var/lib/tomcat-5.5/webapps/continuum/WEB-INF/working-directory/6'.
2007-10-11 15:53:19,824 [pool-1-thread-1] WARN  
ContinuumScm:default   - Command output:
2007-10-11 15:53:19,824 [pool-1-thread-1] WARN  
ContinuumScm:default   - Provider message: The cvs command failed.
2007-10-11 15:53:19,868 [pool-1-thread-1] INFO  
BuildController:default- Merging SCM results
2007-10-11 15:53:19,920 [pool-1-thread-1] INFO  
BuildController:default- Error updating from SCM, not building


Dne čtvrtek 11. října 2007 Antonín Faltýnek napsal(a):
 Nope, I've tried to use Continuum configuration options 'SCM username'
 and 'SCM password'.

 Tonda

 Dne středa 10. října 2007 Emmanuel Venisse napsal(a):
  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

Re: Continuum under Tomcat CVS

2007-10-10 Thread Antonín Faltýnek
  
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



Re: Continuum under Tomcat CVS

2007-10-10 Thread Antonín Faltýnek
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:[EMAIL PROTECTED]:/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

Continuum under Tomcat CVS

2007-09-26 Thread Antonín Faltýnek
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