ClearCase 的 Java CM api 抛出异常

发布于 2024-10-16 06:33:27 字数 1216 浏览 4 评论 0原文

这是完整的例外:

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.

接着是:

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)

您将如何解决这个问题?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

眼中杀气 2024-10-23 06:33:27

如果存在某种权限问题,您需要检查:

  • 哪个用户实际上正在执行 Java 调用?
  • 它的PRIMARY_CLEARCASE_GROUP(环​​境变量)是什么?
    (正如您在问题“CCRC CLI 或者,我怀疑,使用 Java CM API)

您需要确保用户在组内有一个主 ClearCase 组(主要或secondary) 的 Vob 'rainwater'

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'

故事灯 2024-10-23 06:33:27

如果您 100% 确定用户已位于正确的组中,fixprot 可能会有所帮助。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文