ClearCase & Teamcity 4.0.2

Hi,

I downloaded Teamcity 4.0.2 (build 8222), and was trying to connect to a ClearCase view.
This fails, with the error message:

Invalid path: 'C:\DEV\prjMavenPrototype_TeamCity'; cannot find view root, directory containing 'view.dat' file

Strangely enough, this is a valid Clearcase view, and it does contain a view.dat file.

Did someone succeed in using Teamcity with Clearcase already?

Thanks,

   Tim

8 comments
Comment actions Permalink

Tim,

There are successful installations of TeamCIty using ClearCase as far as I know.

Could you please provide more detail on the issue?

What are your TeamCity VCS root settings and the configuration of ClearCase itself?

Full build log and server vcs logs as well as ClearCase integration logs would be helpful.

Actually, you can file an issue into our tracker and attach all the relevant information there.

--
Best regards,

Yegor Yarko
Project Manager (TeamCity)
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Tim,

As far as I understood "C:\DEV\prjMavenPrototype_TeamCity" is the path to your ClearCase view, is it so?

It is not obvious but "View Path" setting in TeamCity is not a path to ClearCase view but the path to project sources:

E.g. your ClearCase view path is "C:\myView", it loads the VOB "myVOB" and the path to your project in this VOB is "myVOB\myProject". In this case your "View Path" for TeamCity should be "C:\myView\myVOB\myProject".

Unfortunately, our ClearCase settings can confuse but we plan to improve it in the further versions of TeamCity.

0
Comment actions Permalink

Hey Maxim,

The error is idd suggesting we need to provide a path to a location with view.dat.

I changed as you suggested, and I'm now getting a real CruiseControl error.

Failed for the root 'maven' #1: Checking changes for checkout rule '.=>.' failed with erorr: jetbrains.buildServer.vcs.VcsException: cleartool: Error: Operation "view_frz_ok_to_set_spec" failed: Permission denied. cleartool: Error: Additional information may be available in the view log on host "xs001790". cleartool: Error: Operation "ws_ok_to_load" failed: Permission denied. Thinki

I did configure a Clearcase username in the TC settings, but no luck.

Any idea?

Thanks,

Regards,

   Tim

0
Comment actions Permalink

Tim,

Is the user that runs your TeamCity server process a ClearCase view owner?

0
Comment actions Permalink

Maxim,

Yes, same user.

I also configured the Clearcase username (same as the view owner) in the settings as default ClearCase user, and as Clearcase user for the VCS root used. But the result is the same.

Thanks for your help,

Kind regards,

   Tim

0
Comment actions Permalink

Tim,

OK, Can you please provide me TeamCity debug logs and config spec of your ClearCase view to investigate this error?

To enable debug logging you should delete all lines containing "DELETE THIS LINE ..." from "<TeamCity Home>\conf\teamcity-server-log4j.xml".

0
Comment actions Permalink

I changed the service to run under the Clearcase view owner, and now the connection is fine!!!

   Tim

0

Please sign in to leave a comment.