It's all about the answers!

Ask a question

Error in workshop setup EWM version 7.0.2


Carlos Isacovich (59113) | asked Jul 06 '23, 9:34 a.m.
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



Comments
Carlos Isacovich commented Jul 06 '23, 9:47 a.m.
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
Ralph Schoon (63.3k33646) | answered Jul 06 '23, 10:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 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

Comments
Carlos Isacovich commented Jul 06 '23, 4:44 p.m.
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".

Ralph Schoon commented Jul 07 '23, 2:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.  


Carlos Isacovich commented Jul 07 '23, 8:30 a.m.

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 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.