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

Error in workshop setup EWM version 7.0.2

Trying to execute WorkshopSetup.bat with the CLASSPATH system environment variable defined as:
C:\EWM7.02\Installs\WorkshopSetup>ECHO %CLASSPATH%
C:\EWM7.02\Installs\JazzTeamServer\server\lib\*;C:\EWM7.02\Installs\WorkshopSetup\*

I get the following error:
C:\EWM7.02\Installs\WorkshopSetup>WorkshopSetup.bat

C:\EWM7.02\Installs\WorkshopSetup>set JAVA_HOME=..\JazzTeamServer\server\jre

C:\EWM7.02\Installs\WorkshopSetup>set PLAIN_JAVA=../PlainJavaAPI

C:\EWM7.02\Installs\WorkshopSetup>set REPOSITORY="https://localhost:9443/ccm"

C:\EWM7.02\Installs\WorkshopSetup>set USERID="myadmin"

C:\EWM7.02\Installs\WorkshopSetup>set PASSWORD="myadmin"

C:\EWM7.02\Installs\WorkshopSetup>..\JazzTeamServer\server\jre\bin\java -cp ../PlainJavaAPI/*;./* com.ibm.js.rtcext.serversetup.Se
rverSetup "https://localhost:9443/ccm" "myadmin" "myadmin"
Error: A JNI error has occurred, please check your installation and try again
Excepción en hebra "main"# START NON-TRANSLATABLEjava.lang.NoClassDefFoundError: com.ibm.team.repository.common.TeamRepositoryExce
ption
        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


0 votes

Comments
Replacing com.ibm.js.rtcext.serversetup.ServerSetup by WorkshopSetup.jar I get
C:\EWM7.02\Installs\WorkshopSetup>..\JazzTeamServer\server\jre\bin\java -cp ../PlainJavaAPI/*;./* WorkshopSetup.jar "https://local
host:9443/ccm" "myadmin" "myadmin"
Error: No se ha podido encontrar o cargar la clase principal WorkshopSetup.jar


Accepted answer

Permanent link

 I have done this for 7.0.2 and it worked, if following the PDF. Make sure to use the Java that ships with the EWM version. You do not have to do anything to the batch file. The one below is the one that worked for me.


set JAVA_HOME=..\JazzTeamServer\server\jre
set PLAIN_JAVA=../PlainJavaAPI
set REPOSITORY="https://localhost:9443/ccm"
set USERID="myadmin"
set PASSWORD="myadmin"

%JAVA_HOME%\bin\java -cp %PLAIN_JAVA%/;./ com.ibm.js.rtcext.serversetup.ServerSetup %REPOSITORY% %USERID% %PASSWORD% %*
pause

Carlos Isacovich selected this answer as the correct answer

0 votes

Comments
Hi Ralph.

Thanks for your quick answer. I followed strictly the RTC700ExtPoT.pdf instructions, replacing only RTC6.0.2 folder by EWM7.02 one.
When originally download the workshop files on June 26 I make a mistake downloading the RTC Extension Workshop setup tool, because I downloaded the version 4 instead version 7. I downloaded today the correct one, but it leads to the error reported.
Is it possible that the error is related with differences between 7.0.2 and 7.0.2SR1 versions? I tried to download again all the files, but I cannot get access to All Downloads 7.0.2 versions, because the URL is automatically redirected to 7.0.2SR1. But in the 7.0.2SR1 page, all the workshop files appear as "coming soon".

Try clearing your browser cache and browsing history. There is an odd issue that causes the Coming Soon and can likely be overcome doing this.

The Extensions Workshop has not been changed for the 7.0.2 SR1.  

Thank you Ralph. I can access to the files cleaning the history. I'll reinstall the workshop from scratch and comment results.

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
× 10,938

Question asked: Jul 06 '23, 9:34 a.m.

Question was seen: 506 times

Last updated: Jul 07 '23, 8:30 a.m.

Confirmation Cancel Confirm