开发者

Java CM api for ClearCase throw exception

Here is the full exception:

CRVAP0087E (conflict):  CCRC command 'Update' failed: 
Unable to get contents of directory "E:\ccweb_views\akash.sharma\akash.sharma_AR_TAS_Release1_int_2\rainwater\src\TAS\codegenerator\pom.xml": 
ClearCase object not found
Problems were encountered while retrieving view synchronization information and data.

It goes on with:

ClearCase CM Server: Error: 
Unable to access "\rainwater\src\TAS\codegenerator\pom.xml": Permission denied.

at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.realException(StpExceptionImpl.java:493)
at com.ibm.rational.stp.cs.internal.util.StpExceptionImpl.<init>(StpExceptionImpl.java:572)
at com.ibm.rational.stp.开发者_如何转开发cs.internal.util.StpExceptionImpl.<init>(StpExceptionImpl.java:538)
at com.ibm.rational.stp.client.internal.cc.Util.ccrcCmdStatusToWvcmException(Util.java:155)
at com.ibm.rational.stp.client.internal.cc.Util.runCommandAndCheckResults(Util.java:107)
at com.ibm.rational.stp.client.internal.cc.WebViewRefresh.run(WebViewRefresh.java:151)
at com.ibm.rational.stp.client.internal.cc.CcFileImpl.doRefresh(CcFileImpl.java:240)
    at Refresh_View.main(Refresh_View.java:65)

How would you troubleshoot that?


If there is some kind of permission issue, you need to check:

  • what user is actually executing the Java call?
  • What is its PRIMARY_CLEARCASE_GROUP (environment variable)?
    (As you found out in your question "Java CM api for ClearCase throw exception", CLEARCASE_PRIMARY_GROUP cannot be used with the CCRC CLI or, I suspect, with the Java CM API)

You need to make sure that user has a main ClearCase group within the groups (primary or secondary) of the Vob 'rainwater'


If you are 100% sure the user is already in the correct group, fixprot might help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜