CRJAZ0099E An HTTP error occurred when this URL was being accessed: /ccm/versionCompatibility?clientVersion=6.0.6. Error details: Server key.
Hello Everyone,
I'm trying to import a csv file into rtc (version 6.0.6), using the RTC JavaAPI (have all the libs JavaPlainAPI, opencvs.... as it is describe on the tutorial : https://rsjazz.wordpress.com/2019/07/03/work-item-command-line-5-0/). I specify that i try to execute it with the shell script wcl.sh.
But i'm front a problem.
My import doesn't work, i have this error :
TeamRepositoryException: Unable to log into repository!
CRJAZ0099E An HTTP error occurred when this URL was being accessed: /ccm/versionCompatibility?clientVersion=6.0.6. Error details: Server key.
Failed!
Is anyone met this before ? i need some help please .
Thanks at all.
Accepted answer
Good evening Ralph,
First of all, i want to thank you for taking time to answer me.
Finally, i did as you say, i tried with a recent jdk, and made a runnable jar (as the same operations i described before) with an recent eclipse (with jdk 1.8 for compiler), and it works very well !!
I just modify the script wcl.sh, for taking the lib which was create with the jar, as next :
$JAVA_HOME/bin/java -Djava.security.policy=rmi_no.policy -Dfile.encoding=Cp1252 -jar wcl.jar com.ibm.js.team.workitem.commandline.WorkitemCommandLine "$@"
For my case, i forced the encoding in the options of the command importworkitem, and it works fine !!!
Thanks again !!!
2 other answers
I have never seen that. No idea. What licenses are used?
I have noticed problems with the order of arguments in the batch file/shell scripts last year. You can try to get the files from https://github.com/jazz-community/work-item-command-line. You can try simple commands first. The simple commands do not require the external libraries and should work.
Hello,
Thanks for your quick answer.
I already took the project under git, the last version 5.1. I added the jars in the PlainJavaApi, and the others jar we need (opencsv ...)
I exported the project on a runnable jar (as it's describe here https://jazz.net/forum/questions/23488/self-executing-jar-with-plain-java-api), for avoid the error (TeamRepositoryException as we know).
For the license, i don't know, i'm not the admin of our rtc (we use it on work).
I executed the wlc.bat, and it works fine.
Before this error, i had another one when i user a jdk 1.8 :
TeamRepositoryException: Unable to log into repository!
CRJAZ0099E An HTTP error occurred when this URL was being accessed: /ccm/versionCompatibility?clientVersion=6.0.5. Error details: java.lang.RuntimeException: Could not generate DH keypair
maybe it will help you.
Thanks again
<o:p> </o:p>
Comments
I ran against 6.0.6.1 this morning and I don't have your problem. I use a JDK 1.8 as well. All works well. Try using a latest JDK, try to use an Oracle or IBM JDK. Try if 32 or 64 bit makes a difference. I do not know a solution for your problem. I have not seen it, as far as I can tell. I have run the WCL against practically all versions since it exists-