I am trying to install the PSO Toolkit for Rhythmyx 6.5, and am getting an error. I have set up the environment variables per the instructions in this forum from Dave ("Installing the PSO Toolkit on Linux, 7/22/08) , but am still seeing this error:
[cntmgtdev-00-ah.mathworks.com:/local/apps/cms60dev/PSOToolkitInstall]3 % ant -f deploy.xml
Buildfile: deploy.xmldist:
[echo] Installing PSOToolkit to /local/apps/cms60devjarcopy:
installExtensions:
[java] Exception in thread “main” java.lang.NoClassDefFoundError: while resolving class: com.percussion.util.PSExtensionInstallTool
[java] at java.lang.ClassLoader.resolveClass0(java.lang.Class) (/lib/ssa/libgcj.so.4.0.0)
[java] at java.lang.Class.initializeClass() (/lib/ssa/libgcj.so.4.0.0)
[java] at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/lib/ssa/libgcj.so.4.0.0)
[java] at java.lang.Class.forName(java.lang.String) (/lib/ssa/libgcj.so.4.0.0)
[java] at gnu.gcj.runtime.FirstThread.run() (/lib/ssa/libgcj.so.4.0.0)
[java] at _Jv_ThreadRun(java.lang.Thread) (/lib/ssa/libgcj.so.4.0.0)
[java] at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/lib/ssa/libgcj.so.4.0.0)
[java] at __libc_start_main (/lib/tls/libc-2.3.2.so)
[java] Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in [file:/local/apps/cms60dev/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib/commons-collections-3.1.jar, file:/local/apps/cms60dev/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib/commons-collections-testframework-3.1.jar, file:/local/apps/cms60dev/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib/commons-httpclient-2.0.2.jar, file:/local/apps/cms60dev/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib/commons-lang-2.1.jar, file:/local/apps/cms60dev/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib/jcr-1.0.jar, file:/local/apps/cms60dev/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib/rxutils.jar, file:/local/apps/cms60dev/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib/rxclient.jar, file:/local/apps/cms60dev/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib/rxserver.jar, file:/local/apps/cms60dev/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib/rxservices.jar, file:/local/apps/cms60dev/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib/commons-logging-1.1.jar, file:/local/apps/cms60dev/AppServer/lib/endorsed/xml-apis.jar, file:/local/apps/cms60dev/AppServer/server/rx/lib/javax.servlet.jar, core:/]
[java] at java.net.URLClassLoader.findClass(java.lang.String) (/lib/ssa/libgcj.so.4.0.0)
[java] at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/lib/ssa/libgcj.so.4.0.0)
[java] at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/lib/ssa/libgcj.so.4.0.0)
[java] at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/lib/ssa/libgcj.so.4.0.0)
[java] at _Jv_PrepareCompiledClass(java.lang.Class) (/lib/ssa/libgcj.so.4.0.0)
[java] at _Jv_WaitForState(java.lang.Class, int) (/lib/ssa/libgcj.so.4.0.0)
[java] at java.lang.ClassLoader.linkClass0(java.lang.Class) (/lib/ssa/libgcj.so.4.0.0)
[java] at java.lang.ClassLoader.resolveClass0(java.lang.Class) (/lib/ssa/libgcj.so.4.0.0)
[java] …7 more
[java] Java Result: 1javadoc:
BUILD SUCCESSFUL
Total time: 1 second
[cntmgtdev-00-ah.mathworks.com:/local/apps/cms60dev/PSOToolkitInstall]4 %
Here are the environment variables I’m defining:
setenv RHYTHMYX_HOME /local/apps/cms60dev
setenv JAVA_HOME $RHYTHMYX_HOME/JRE
setenv ANT_HOME $RHYTHMYX_HOME/Patch/InstallToolkit
setenv PATH $RHYTHMYX_HOME/JRE/bin:$PATH
My java version is this:
cntmgtdev-00-ah.mathworks.com:/home/rhythmyx]6 % java -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
Can anyone provide any clues on this? Seems like it should find java.lang.StringBuilder in the JRE with no problem, but obviously something’s not configured correctly…
-Kathleen