1

I am trying to write a script to automatically update a clearcase webview via rcleartool. When I try to update, the following happens:

CRMAP7009: Command "Update" failed:

CCRC WAN Server: Error: Unable to get view handle.
Fehler: "java.io.IOException: Status(1001:hasNonOkMsg):

CCRC WAN Server: Error: Unable to get view handle.

This is what I did in advance (inside the terminal): ClearCase Version 9.0.1.4

  1. log into the clear case server, which works

  2. cd into my view in a specific vob

  3. update .

I also tried updating via Java with the following script from IBM (https://www.ibm.com/support/pages/sites/default/files/support/swg/rattech.nsf/0/a4136394b0ed467285257a94004d05b2/%24FILE/RefreshView.java), but this does not work either. The login does not work here, maybe because of company proxy settings.

The only thing I want to accomplish is an automatic update from Repository, I also have the ClearTeam Explorer installed.

I hope someone has experience with this and will help me

Have a nice day, Philipp

2 Answers2

1

Thank you VonC for your answer, but the solution was always right before my eyes. I just had to set the PRIMARY_GROUP for it to work.

check out my other question where I explained it a little better Java ClearCase Update on a HTTPS Server

0

The rcleartool command does include the update subcommand

But make sure, as shown in this thread to use CC 8.0.9+ (which illustrated a different bug regarding rcleartool update), or more generally the most recent ClearCase version you can.

Note, in a bat file, the same thread mentions:

"rcleartool update" is ignored because rcleartool.bat itself is a batch file so u have to use "call rcleartool -params args" in each line in your batch file.

This is in case your script is executed on a Windows ClearCase client.

General Grievance
  • 4,555
  • 31
  • 31
  • 45
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Hey VonC, thank you for your answer. Unfortunately both solutions did not work for me. I have ClearCase V9.0.1.4 installed on the server and the hint about the script is very useful, but as a first step I wanted to update my vob directly in the CLI. – Philipp Oppel Sep 25 '20 at 10:04
  • @PhilippOppel I don't have access to the CLI to test it, so let me know if you find any other element which would avoid this error. – VonC Sep 25 '20 at 11:29
  • ok now I think it has something to do with the fact that clearcase is on a https server, I am currently trying the updating with a java script with the cm_api, but no success so far – Philipp Oppel Sep 25 '20 at 13:34
  • @PhilippOppel Yes, you might need to install the CA or server certificates on the CCRC client: https://www.ibm.com/support/pages/configuring-secure-sockets-layer-ssl – VonC Sep 25 '20 at 13:36