Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

EWM Workshop Version 7.0.2

I tried to perform the steps for the workshop in version 7. The step with th running the WorkshopSetup.bat
is not running correctly:

D:\RTC702Dev\installs\WorkshopSetup>WorkshopSetup.bat

D:\RTC702Dev\installs\WorkshopSetup>set JAVA_HOME=..\JazzTeamServer\server\jre

D:\RTC702Dev\installs\WorkshopSetup>set PLAIN_JAVA=../PlainJavaAPI

D:\RTC702Dev\installs\WorkshopSetup>set REPOSITORY="https://localhost:9443/ccm"

D:\RTC702Dev\installs\WorkshopSetup>set USERID="myadmin"

D:\RTC702Dev\installs\WorkshopSetup>set PASSWORD="myadmin"

D:\RTC702Dev\installs\WorkshopSetup>..\JazzTeamServer\server\jre\bin\java -cp ../PlainJavaAPI/*;./* com.ibm.js.rtcext.serversetup.ServerSetup "https://localhost:9443/ccm" "myadmin" "myadmin"
Error: A JNI error has occurred, please check your installation and try again
Ausnahmebedingung in Thread "main"# START NON-TRANSLATABLEjava.lang.NoClassDefFoundError: com.ibm.team.repository.common.TeamRepositoryException
        at java.lang.J9VMInternals.prepareClassImpl(Native Method)
        at java.lang.J9VMInternals.prepare(J9VMInternals.java:303)
        at java.lang.Class.getMethodHelper(Class.java:1247)
        at java.lang.Class.getMethod(Class.java:1191)
        at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:556)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:538)
Caused by: java.lang.ClassNotFoundException: com.ibm.team.repository.common.TeamRepositoryException
        at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
        at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:944)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:889)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:872)
        ... 6 more


Did anyone face the same issue?
Thanks and regrads.

0 votes


Accepted answer

Permanent link

 I updated the workshop material for 6.0.6.1 and 7.x and I tried with several versions, especially 7.0.2.


I do not see your error. I cannot remember ever to have see an JNI error. Especially where an English language output is mixed with some German terms "Ausnahmebedingung in Thread". 

If you use the latest version of the workshop with the latest setup, I would try to extract the server files and plain Java into another folder and just try the workshop setup.

Ralph Schoon selected this answer as the correct answer

0 votes

Comments
Hello Ralph,

I tried to reextract the plainjava api files and it works now. I seems the first extraxt was not correctly done.
Thanks for the answer.

Weird things happen. 


Use 7Zip if possible. If you did not, there are issues with Windows zip and the SDK.

If the answer helped, please accept it.

Hello Ralph,
thanks a lot.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 19 '21, 6:49 a.m.

Question was seen: 380 times

Last updated: Aug 19 '21, 8:58 a.m.

Confirmation Cancel Confirm