jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven SCM
  • SCM-200

Problem checking out a CVS project when a non standard port is used

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.0-beta-3
  • Fix Version/s: None
  • Component/s: maven-scm-provider-cvs
  • Labels:
    None
  • Environment:
    Solaris, Maven 2.0.4, Continuum 1.0.3
  • Complexity:
    Intermediate

Description

I've been experiencing problems on initial checkout of a Maven 2 project under Continuum 1.0.3 when using following syntax of SCM:

scm:cvs:pserver:user@host:port:repository:module

Error in Continuum is as follows:

Provider message: The cvs command failed.
Command output:
------------------------------------------------------------------------------
port/repository: no such repository
cvs checkout: authorization failed: server host rejected access to port/repository for user user
cvs checkout: used empty password; try "cvs login" with a real password
-------------------------------------------------------------------------------

Looks like the provider is preppending the port to the repository and trying a wrong CVS command.

Issue Links

is superceded by

Bug - A problem which impairs or prevents the functions of the product. CONTINUUM-701 Continuum obscures the output of CVS exceptions

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Improvement - An improvement or enhancement to an existing feature or task. CONTINUUM-700 Need of CVS in the PATH has to be stated

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Emmanuel Venisse added a comment - 13/May/06 3:27 AM

what is the cvsroot you use when you checkout a project manually?

Show
Emmanuel Venisse added a comment - 13/May/06 3:27 AM what is the cvsroot you use when you checkout a project manually?
Hide
Permalink
Alex Mayorga Adame added a comment - 15/May/06 9:29 AM

CVSROOT=:pserver:user@host:port/repository

Show
Alex Mayorga Adame added a comment - 15/May/06 9:29 AM CVSROOT=:pserver:user@host:port/repository
Hide
Permalink
Alex Mayorga Adame added a comment - 15/May/06 9:30 AM

Then:

cvs login
cvs co path/to/module

Show
Alex Mayorga Adame added a comment - 15/May/06 9:30 AM Then: cvs login cvs co path/to/module
Hide
Permalink
Alex Mayorga Adame added a comment - 15/May/06 2:11 PM

The Continuum logs for this error:

{{INFO | jvm 1 | 2006/05/11 01:00:08 | 2006-05-11 01:00:08,921 [Thread-2] WARN SQL - Object with id "0" not found !}}
{{INFO | jvm 1 | 2006/05/11 01:00:08 | 2006-05-11 01:00:08,950 [Thread-2] INFO ContinuumScm - Checking out project: 'Maven Webapp Archetype', id: '12' to '/usr/bin/continuum/continuum-1.0.3/bin/solaris/../../apps/continuum/working-directory/12'.}}
{{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,026 [Thread-2] DEBUG ScmManager - cvsRoot: :pserver:user@host:port/repository}}
{{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,027 [Thread-2] DEBUG ScmManager - passFile: /opt/continuum-user/.cvspass}}
{{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,029 [Thread-2] DEBUG ScmManager - cvsroot :pserver:user@host:port/repository already exist in /opt/continuum-user/.cvspass. SKIPPED.}}
{{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,033 [Thread-2] INFO ScmManager - Executing: cvs -z3 -f -d :pserver:user@host:port/repository -q checkout -d 12 path/to/module}}
{{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,033 [Thread-2] INFO ScmManager - Working directory: /usr/bin/continuum/continuum-1.0.3/apps/continuum/working-directory}}
{{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,653 [Thread-2] WARN ContinuumScm - Error while checking out the code for project: 'Maven Webapp Archetype', id: '12' to '/usr/bin/continuum/continuum-1.0.3/bin/solaris/../../apps/continuum/working-directory/12'.}}
{{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,655 [Thread-2] WARN ContinuumScm - Command output: port/repository: no such repository}}
INFO | jvm 1 | 2006/05/11 01:00:09 | cvs checkout: authorization failed: server host rejected access to port/repository for user user
INFO | jvm 1 | 2006/05/11 01:00:09 | cvs checkout: used empty password; try "cvs login" with a real password
INFO | jvm 1 | 2006/05/11 01:00:09 |
{{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,655 [Thread-2] WARN ContinuumScm - Provider message: The cvs command failed.}}

Show
Alex Mayorga Adame added a comment - 15/May/06 2:11 PM The Continuum logs for this error: {{INFO | jvm 1 | 2006/05/11 01:00:08 | 2006-05-11 01:00:08,921 [Thread-2] WARN SQL - Object with id "0" not found !}} {{INFO | jvm 1 | 2006/05/11 01:00:08 | 2006-05-11 01:00:08,950 [Thread-2] INFO ContinuumScm - Checking out project: 'Maven Webapp Archetype', id: '12' to '/usr/bin/continuum/continuum-1.0.3/bin/solaris/../../apps/continuum/working-directory/12'.}} {{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,026 [Thread-2] DEBUG ScmManager - cvsRoot: :pserver:user@host:port/repository}} {{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,027 [Thread-2] DEBUG ScmManager - passFile: /opt/continuum-user/.cvspass}} {{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,029 [Thread-2] DEBUG ScmManager - cvsroot :pserver:user@host:port/repository already exist in /opt/continuum-user/.cvspass. SKIPPED.}} {{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,033 [Thread-2] INFO ScmManager - Executing: cvs -z3 -f -d :pserver:user@host:port/repository -q checkout -d 12 path/to/module}} {{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,033 [Thread-2] INFO ScmManager - Working directory: /usr/bin/continuum/continuum-1.0.3/apps/continuum/working-directory}} {{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,653 [Thread-2] WARN ContinuumScm - Error while checking out the code for project: 'Maven Webapp Archetype', id: '12' to '/usr/bin/continuum/continuum-1.0.3/bin/solaris/../../apps/continuum/working-directory/12'.}} {{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,655 [Thread-2] WARN ContinuumScm - Command output: port/repository: no such repository}} INFO | jvm 1 | 2006/05/11 01:00:09 | cvs checkout: authorization failed: server host rejected access to port/repository for user user INFO | jvm 1 | 2006/05/11 01:00:09 | cvs checkout: used empty password; try "cvs login" with a real password INFO | jvm 1 | 2006/05/11 01:00:09 | {{INFO | jvm 1 | 2006/05/11 01:00:09 | 2006-05-11 01:00:09,655 [Thread-2] WARN ContinuumScm - Provider message: The cvs command failed.}}
Hide
Permalink
Alex Mayorga Adame added a comment - 17/May/06 3:30 PM

This happens when a non-standard port is used and CVS is not present on the PATH of the Continuum environment.

Make sure path to CVS/bin is somewhere in the PATH to fix this problem.

This would be superceded by a documentation improvement and a bug about the way Continuum outputs CVS exceptions that don't make obvious the real problem behind this error.

Show
Alex Mayorga Adame added a comment - 17/May/06 3:30 PM This happens when a non-standard port is used and CVS is not present on the PATH of the Continuum environment. Make sure path to CVS/bin is somewhere in the PATH to fix this problem. This would be superceded by a documentation improvement and a bug about the way Continuum outputs CVS exceptions that don't make obvious the real problem behind this error.

People

  • Assignee:
    Alex Mayorga Adame
    Reporter:
    Alex Mayorga Adame
Vote (0)
Watch (0)

Dates

  • Created:
    12/May/06 1:31 PM
    Updated:
    17/May/06 5:16 PM
    Resolved:
    17/May/06 3:31 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.