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\*
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
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
Accepted answer
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
Be aware of this: https://rsjazz.wordpress.com/2023/03/20/tls1-1-and-how-to-make-the-ewm-rtc-extensions-workshop-work/ this is for the latest 7.0.2 SR1.
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.
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.
Comments
Carlos Isacovich
Jul 06 '23, 9:47 a.m.host:9443/ccm" "myadmin" "myadmin"
Error: No se ha podido encontrar o cargar la clase principal WorkshopSetup.jar