It's all about the answers!

Ask a question

CC Connector: Unable to find the branch selector specified


Nozomu Matsushita (1766) | asked Jun 12 '09, 6:42 a.m.
I am now trying to create new CC Synchronized Stream to sync source code between CC and RTC in RTC 1.0.1.1, but I cannot create it when selecting "Import from an existing Base ClearCase branch".
An error message on the "New ClearCase Synchronized Stream" wizard is as follows:

"Unable to find the branch (main@\NewVob) selector specified. Please check it by trying the following command at the command prompt: cleartool describe brtype:main@\NewVob"

However, I execute the above command at the command prompt, the result seems to be OK.

branch type "main"
created 2009-06-12T16:04:49+09 by hope.DOMAIN@HOSTNAME
"Predefined branch type used to represent the main branch of elements."
owner: HOSTNAME\hope
group: HOSTNAME\DOMAIN
scope: this VOB (ordinary type)
constraint: one version per element

Any suggestions to resolve this problem?

8 answers



permanent link
Brian Nelson (361) | answered Jun 12 '09, 9:31 a.m.
Hmm, that's odd, if describe works then the wizard should too. I wondered
for a moment
if maybe the VOB wasn't accessible for some reason, but it can't be that
because describe
could access it.

Could you check your error log to see if there are any more details? May
not be, but it
couldn't hurt to look.

Did you copy/paste the command from the error? If not, the only thing I can
think of is
maybe you mistyped something in the wizard but typed it correctly in the
command
window.

Did you specify a label type selector? I tried your scenario of only using
a main branch in
a base CC VOB, and not specifying a label type selector and it worked just
fine.

BTW, \NewVob *is* a base CC VOB, right? I just tried

cleartool describe brtype:main@\<UcmVob>

and it worked just fine, but I'm not sure it'll work in our wizard. If
you're specifying base
CC info, it better come from a base CC VOB.


--
Brian Nelson
Jazz ClearCase Connector Team

permanent link
Nozomu Matsushita (1766) | answered Jun 15 '09, 11:12 a.m.
Hello Brian!
Thank you for your suggestions, I have resolved this problem.

The main cause is my typo...
The created VOB's name is "NewVOB", but VOB's name I inputed in the wizard is "NewVob".
When I inputed "NewVOB" in the wizard, CC sync stream was created successfully.

However, I think "NewVob" should be same as "NewVOB" because my CC server is running on Windows machine.
On the Windows machine, VOB's name should not be case-sensitive because of Windows specifications.
(The reason why "cleartool describe" command returns a correct result is above regardless of my typo.)

Therefore, I propose that text inputed as VOB name in the textbox of label type selector in the wizard deals with non-case-sensitive characters when the CC server is running on non-case-sensitive OS such as Windows.
So what do you think?

Best Regards.

permanent link
Geoffrey Clemm (30.1k33035) | answered Jun 15 '09, 2:26 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Case insensitivity only comes into play when you are accessing the vob
through the file system, so only when a vob name appears in a pathname,
then it would be insensitive.

In particular, VOB names in the context of the "cleartool describe" of a
branch type are not pathnames (they are part of a "clearcase object
descriptor") and therefore are case sensitive.

And since you can create two VOBs whose names only differ in case, the
CC Connector wizard has to be case sensitive in the VOB name.

Cheers,
Geoff

hope wrote:
Hello Brian!
Thank you for your suggestions, I have resolved this problem.

The main cause is my typo...
The created VOB's name is "NewVOB", but VOB's name I inputed
in the wizard is "NewVob".
When I inputed "NewVOB" in the wizard, CC sync stream was
created successfully.

However, I think "NewVob" should be same as
"NewVOB" because my CC server is running on Windows
machine.
On the Windows machine, VOB's name should not be case-sensitive
because of Windows specifications.
(The reason why "cleartool describe" command returns a
correct result is above regardless of my typo.)

Therefore, I propose that text inputed as VOB name in the textbox of
label type selector in the wizard deals with non-case-sensitive
characters when the CC server is running on non-case-sensitive OS
such as Windows.
So what do you think?

Best Regards.

permanent link
Dhruv Bansal (1667) | answered Jun 18 '09, 2:20 a.m.
I am now trying to create new CC Synchronized Stream to sync source code between CC and RTC in RTC 1.0.1.1, but I cannot create it when selecting "Import from an existing Base ClearCase branch".
An error message on the "New ClearCase Synchronized Stream" wizard is as follows:

"Unable to find the branch (main@\NewVob) selector specified. Please check it by trying the following command at the command prompt: cleartool describe brtype:main@\NewVob"

However, I execute the above command at the command prompt, the result seems to be OK.

branch type "main"
created 2009-06-12T16:04:49+09 by hope.DOMAIN@HOSTNAME
"Predefined branch type used to represent the main branch of elements."
owner: HOSTNAME\hope
group: HOSTNAME\DOMAIN
scope: this VOB (ordinary type)
constraint: one version per element

Any suggestions to resolve this problem?


Hi,

I am facing the similar problem, but the resolution that have been provided in this technote has not helped me in resolving that issue.

Kindly provide any information or solution for the issue.

Unable to find the branch (Proj_SCMTest@\PVOB_SCM_PROCESSES) selector specified.

No issue of the kind as mentioned in the above technote is there.
Kindly guide for some other reason behind the issue

permanent link
Brian Nelson (361) | answered Jun 18 '09, 9:56 a.m.
Did you try running the cleartool command given in the error at the command
line? If so,
could you post the results?

Did you check the Error Log to see if there are any other errors?


--
Brian Nelson
Jazz ClearCase Connector Team


"DhruvBansal" <dhrbansa> wrote in message
news:h1cmfr$q40$1@localhost.localdomain...
hopewrote:
I am now trying to create new CC Synchronized Stream to sync source
code between CC and RTC in RTC 1.0.1.1, but I cannot create it when
selecting "Import from an existing Base ClearCase branch".
An error message on the "New ClearCase Synchronized
Stream" wizard is as follows:

"Unable to find the branch (main@\NewVob) selector specified.
Please check it by trying the following command at the command
prompt: cleartool describe brtype:main@\NewVob"

However, I execute the above command at the command prompt, the
result seems to be OK.

branch type "main"
created 2009-06-12T16:04:49+09 by hope.DOMAIN@HOSTNAME
"Predefined branch type used to represent the main branch of
elements."
owner: HOSTNAME\hope
group: HOSTNAME\DOMAIN
scope: this VOB (ordinary type)
constraint: one version per element

Any suggestions to resolve this problem?

Hi,

I am facing the similar problem, but the resolution that have been
provided in this technote has not helped me in resolving that issue.

Kindly provide any information or solution for the issue.

Unable to find the branch (Proj_SCMTest@\PVOB_SCM_PROCESSES) selector
specified.

No issue of the kind as mentioned in the above technote is there.
Kindly guide for some other reason behind the issue

permanent link
Dhruv Bansal (1667) | answered Jun 19 '09, 3:40 a.m.
Did you try running the cleartool command given in the error at the command
line? If so,
could you post the results?

Did you check the Error Log to see if there are any other errors?


--
Brian Nelson
Jazz ClearCase Connector Team


"DhruvBansal" <dhrbansa> wrote in message
news:h1cmfr$q40$1@localhost.localdomain...
hopewrote:
I am now trying to create new CC Synchronized Stream to sync source
code between CC and RTC in RTC 1.0.1.1, but I cannot create it when
selecting "Import from an existing Base ClearCase branch".
An error message on the "New ClearCase Synchronized
Stream" wizard is as follows:

"Unable to find the branch (main@\NewVob) selector specified.
Please check it by trying the following command at the command
prompt: cleartool describe brtype:main@\NewVob"

However, I execute the above command at the command prompt, the
result seems to be OK.

branch type "main"
created 2009-06-12T16:04:49+09 by hope.DOMAIN@HOSTNAME
"Predefined branch type used to represent the main branch of
elements."
owner: HOSTNAME\hope
group: HOSTNAME\DOMAIN
scope: this VOB (ordinary type)
constraint: one version per element

Any suggestions to resolve this problem?

Hi,

I am facing the similar problem, but the resolution that have been
provided in this technote has not helped me in resolving that issue.

Kindly provide any information or solution for the issue.

Unable to find the branch (Proj_SCMTest@\PVOB_SCM_PROCESSES) selector
specified.

No issue of the kind as mentioned in the above technote is there.
Kindly guide for some other reason behind the issue



Hi,

I have run the cleartool command, and it gave me the same output that is expected from the cleartool describe stream:Proj_SCMtest_Int@\PVOB_SCM_PROCESSES command.

ClearCase is very well running on the machine.
No other errors seen in the eventviewer log..
Kindly suggest the reason behind the issue.

permanent link
Brian Nelson (361) | answered Jun 19 '09, 9:56 a.m.
I have run the cleartool command, and it gave me the same output that
is expected from the cleartool describe
stream:Proj_SCMtest_Int@\PVOB_SCM_PROCESSES command.

ClearCase is very well running on the machine.
No other errors seen in the eventviewer log..
Kindly suggest the reason behind the issue.

If you copy and paste the string that works at the command line:

Proj_SCMtest_Int@\PVOB_SCM_PROCESSES

into the wizard, it *has* to work. Assuming the machine where you're
running the wizard
is the same one where you ran the cleartool describe, and that your access
to the PVOB
hasn't changed.

The reason for this is under the covers, we run the same cleartool describe
command
(albeit with a fmt qualifier, but that won't change the execution, just the
format of the
output) to validate the stream you gave.

In general, there are several possibilities for selectors not working:

1. PVOB/VOB name given doesn't exist, isn't mounted/online.
2. selector type (stream/branch/label/attribute) given isn't found in the
VOB specified.
3. Neither the PVOB/VOB nor the selector exist (or were mistyped).

So the first thing I'd do is make sure you have the correct PVOB/VOB:

cleartool describe vob:<vob>

If that's fine, then do:

cleartool describe {brtype,lbtype,stream}:<selector>

If everything is fine, then carefully copy and paste everything (except
"brtype:" for example)
into the wizard.

So in your case, copy and paste in:

Proj_SCMtest_Int@\PVOB_SCM_PROCESSES

into the wizard. (note the lack of the "stream:" text)

And note that these things ARE case sensitive, as was discussed earlier.
Both the selector
and the PVOB/VOB must match *exactly*.


--
Brian Nelson
Jazz ClearCase Connector Team

permanent link
Dhruv Bansal (1667) | answered Jun 23 '09, 1:04 a.m.
I have run the cleartool command, and it gave me the same output that
is expected from the cleartool describe
stream:Proj_SCMtest_Int@\PVOB_SCM_PROCESSES command.

ClearCase is very well running on the machine.
No other errors seen in the eventviewer log..
Kindly suggest the reason behind the issue.

If you copy and paste the string that works at the command line:

Proj_SCMtest_Int@\PVOB_SCM_PROCESSES

into the wizard, it *has* to work. Assuming the machine where you're
running the wizard
is the same one where you ran the cleartool describe, and that your access
to the PVOB
hasn't changed.

The reason for this is under the covers, we run the same cleartool describe
command
(albeit with a fmt qualifier, but that won't change the execution, just the
format of the
output) to validate the stream you gave.

In general, there are several possibilities for selectors not working:

1. PVOB/VOB name given doesn't exist, isn't mounted/online.
2. selector type (stream/branch/label/attribute) given isn't found in the
VOB specified.
3. Neither the PVOB/VOB nor the selector exist (or were mistyped).

So the first thing I'd do is make sure you have the correct PVOB/VOB:

cleartool describe vob:<vob>

If that's fine, then do:

cleartool describe {brtype,lbtype,stream}:<selector>

If everything is fine, then carefully copy and paste everything (except
"brtype:" for example)
into the wizard.

So in your case, copy and paste in:

Proj_SCMtest_Int@\PVOB_SCM_PROCESSES

into the wizard. (note the lack of the "stream:" text)

And note that these things ARE case sensitive, as was discussed earlier.
Both the selector
and the PVOB/VOB must match *exactly*.


--
Brian Nelson
Jazz ClearCase Connector Team



Hi Brian,

I have tried the describe command and it is giving me the correct output which is expected.i have described both streams and PVOB.
And even brtype: command is giving me the correct output.

My machine is in domain, which i want to highlight.
and i am able to see all the vobs and the projects created under that.

Any other point which might be required for configuring???
Kindly provide your inputs.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.