[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Debugging jcvs web  XML
Forum Index » JCVS Web
Author Message
vanegab



Joined: 01/04/2005 10:13:09
Messages: 1
Offline



I can check into cvs using "cvs -d :pserver:vanegab@cvshost:/IS login" and password..

When I use the same configuration in "jcvsweb-1.4.1/tomcat_5.5.9/jre-1_5_0_02-windows-i586-p.exe"
I get:

*** Checkout Failed:
The CVS Request failed.
Failed authentication with the user name 'vanegab'.
error 0 /u1/cvs/root/IS: no such repository
** The command completed with an error status.

I can change the user to something wrong and I get the same message. Anyone know How I debug jcvs web?

[Email]
time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

The problem is not with the user name or password.

The problem lies on your root directory specification. I would need to see the "CVS/Root" to tell you exactly what the correct value would be, but I suspect that you either want to remove the "root/" subpath, or you need to add more to the path.

As for debugging JCVSWeb, it is like any other webapp. You add prints to stderr, or servlet logging. Both require a recompile. I have not had the time to add specific "runtime" debugging code yet.
[Email] [WWW]
Anonymous




I did get it working... I did put the wrong CVSPATH because the right one "/IS" was causing me to have to reset Tomcat.

The main issue I was having was that it was expecting a "CVS tag entry" for the cvs module that I was checking out. Trial and error I ended up using "start" as the tag. I don't know why that worked but it did..
time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

There are two predefined CVS tags - HEAD and BASE.

The HEAD tag is the latest version checked into the repository.
The BASE tag, if I understand it correctly, is the last update of the working directory file.

Why "start" worked for you I am not sure, unless it was a defined tag. You can run the status command to determine if this is the case.
[Email] [WWW]
 
Forum Index » JCVS Web
Go to:   
Powered by JForum 2.1.9 © JForum Team