Author |
Message
|
ashritha |
Posted: Fri Dec 02, 2005 8:50 am Post subject: CVS Version Control Problem |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
Hi,
I am trying to configure the CVS Repository Exploring perspective in the broker toolkit with one of theCVS repository paths, but am running on a problem.
My CVS server is a remote server and i have Message Broker Toolkit 6.0 installed on Win XP Prof.
I passed on the host name, repository path, user name and password but thows an error which reads:
Error Validating location:"I/O exception occured: Connection refused: lps/NJSP_ESB: no such repository"
I verified with the cvs administrator to know if the repository path was correct and he says that path exists.
Do I have to have CVS client installed on my machine to get connected to the server? I was expecting Eclipse doesn't need this.
Can anyone please throw some light on this?
Thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Dec 02, 2005 8:56 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You shouldn't need to install anything else in order to interface with CVS.
There may be more information in the .log file in the .metadata directory in your eclipse workpath. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ashritha |
Posted: Fri Dec 02, 2005 9:02 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
Hi,
I looked at the .log file and haven't found anything. I did work with cvs beofore but never came across this kind of an error.
Is it that the repository path itself is wrong or any other reason?
I already cross-checked to see if the repository path was correct.
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Dec 02, 2005 9:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Are you pointing at the CVS repository root, or a directory under it?
I've never seen this error either. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mqmatt |
Posted: Fri Dec 02, 2005 9:19 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
|
Back to top |
|
 |
Tibor |
Posted: Fri Dec 02, 2005 10:46 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
When it's CVSNT, don't give up, it would work. Modify your CVSNT server side compatibility settings (if possible):
- non-cvsnt clients
- emulate -n checkout bug
- hide extended/log status information
HTH,
Tibor |
|
Back to top |
|
 |
jsware |
Posted: Tue Dec 06, 2005 5:28 am Post subject: Re: CVS Version Control Problem |
|
|
 Chevalier
Joined: 17 May 2001 Posts: 455
|
ashritha wrote: |
Error Validating location:"I/O exception occured: Connection refused: lps/NJSP_ESB: no such repository" |
Looks like your server is refusing the connection. Are you using pserver protocol to connect or something else?
If using pserver, check with your CVS admin that CVS is listening on the default port number 2401 and not some other port number. I am not sure you can change the port number in Eclipse to anything other than 2401. _________________ Regards
John
The pain of low quaility far outlasts the joy of low price. |
|
Back to top |
|
 |
ashritha |
Posted: Mon Dec 12, 2005 7:23 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
Yes, I am using pserver for connection and cvs is also listening to the default port 2401.
There is no other port used. I checked with the networking group also to find out that the port is open to connect.
Any other ideas??? |
|
Back to top |
|
 |
pvemuri |
Posted: Tue Dec 13, 2005 9:29 am Post subject: |
|
|
 Voyager
Joined: 05 Jan 2004 Posts: 83 Location: CA, USA
|
we received the same problem. But, before that, What is your CVS server specification .. I mean is it CVSNT or is it on AIX / Solaris ...? |
|
Back to top |
|
 |
Tibor |
Posted: Tue Dec 13, 2005 11:51 pm Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
ashritha wrote: |
Yes, I am using pserver for connection and cvs is also listening to the default port 2401.
There is no other port used. I checked with the networking group also to find out that the port is open to connect.
Any other ideas??? |
Try out any other cvs client in first case. I recommend you the smartcvs (download here), because it's free, well-designed and cross-platform.
Tibor |
|
Back to top |
|
 |
ashritha |
Posted: Wed Dec 14, 2005 7:12 am Post subject: |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
The CVS server is on AIX.
I resolved the problem. The cvs admin gave me a wrong Repository location. He did not provide me the root directory location. He specified the sub-directories which I should be using for this project as the repository location and so, i could not connect.
But now I am able to connect to the server and add a repository location to my toolkit.
Again, I am unable to Add a project into CVS from the broker administrative perspective. All I am doing here....
Right click on project --> Team --> share Project --> CVS --> use existing repository location --> use specified module name(i give the module name) --> Head -->
here, I get a new window... Share Project resources and Commit...
I right click on the project and select "Override and commit".
I can see the information that the resources of the project are in-sync with the repository.
But when I switch to the cvs perspective, I am unable to view my project in the specified module location. I refresh the complete repository location before looking for the project.
Is there anything new about this philosophy in version6.0 of the toolkit???
Can anyone please help??? |
|
Back to top |
|
 |
pvemuri |
Posted: Wed Dec 14, 2005 11:25 am Post subject: |
|
|
 Voyager
Joined: 05 Jan 2004 Posts: 83 Location: CA, USA
|
Quote: |
Right click on project --> Team --> share Project --> CVS --> use existing repository location --> use specified module name(i give the module name) --> Head --> |
Here's how we do in MB 5 with tookit 5.1
1. Right click on project --> Team --> share Project --> CVS --> use existing repository location --> use specified module name(i give the module name) --> Click on Finish on the dialog window.
2. Then there will be another view in your resource perspective named: Synchronize - Incoming/Outgoing mode.
3. Iin that view, right click on the project folder and select Commit, it will ask for a comment, and finish it.
And now in the CVS perspective we see our folder under the Head tree.
Sorry if this was redundant. |
|
Back to top |
|
 |
ashritha |
Posted: Wed Dec 14, 2005 12:51 pm Post subject: |
|
|
Voyager
Joined: 25 Jul 2005 Posts: 85
|
Yes!!! I did work on Toolkit V5 and i never had any problem.
But v6.0 is little different. The Synchronize 'view' in v5.0 is coming up as a pop-up window and lists out the same options.. of commit, update, etc.
When I commit... it asks me for a comment on each version and evrything seems to get done successfully, but i am unable to view them in the cvs perspective.
I guess, the way I am giving the name for "use specified module name" has a problem.
My root repository is /opt/cvs(Repository Location)
and I have a seperate sub-directory under the root as lps/NJSP_ESB for my project.
So, I should check-in my projects to /opt/cvs/lps/NJSP_ESB/<project_name>
Note that there is no folder with project name already created in cvs. the toolkit has to create one.
when i give the module name as the path above it successfully checks in but i cannot see in the cvs.
So, I doubt that the toolkit is unable to create the folder.... or is creating it elsewhere.....????....... i am not sure
If i specify the module name as /opt/cvs/lps/NJSP_ESB i cannot even chek in my project successfully.
Hope i am not confusing too much. |
|
Back to top |
|
 |
pvemuri |
Posted: Fri Dec 16, 2005 7:33 am Post subject: |
|
|
 Voyager
Joined: 05 Jan 2004 Posts: 83 Location: CA, USA
|
I think you cannot create a Sub_Directory in the Commit operation to store your files in CVS.
The module name / project name you specify will be your subdirectory and it gets created under the your cvs_root directory.
The other option you would have is: ask you CVS admin to create another CVS repository location for your project and you can start uploading your files there.
We had a team of 3 working on individual message flows. We created our message flows with a common Message FLow project name. But we had placed our message flows under different broker schemas. These broker schemas will provide you the sub-folder structure when you upload into CVS. |
|
Back to top |
|
 |
|