Results 1 to 5 of 5

Thread: NoClassDefFoundError on tcServer-6.0.20 install

  1. #1
    Join Date
    Jan 2010
    Posts
    15

    Default NoClassDefFoundError on tcServer-6.0.20 install

    Hi!
    The error occurs when install.sh is executed:

    Code:
    Exception in thread "main" java.lang.NoClassDefFoundError: java.util.concurrent.atomic.AtomicInteger
       at org.codehaus.groovy.runtime.GroovyCategorySupport.<clinit>(GroovyCategorySupport.java:36)
       at java.lang.Class.initializeClass(libgcj.so.7rh)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.<init>(AbstractCallSite.java:46)
       at org.codehaus.groovy.runtime.callsite.CallSiteArray.<init>(CallSiteArray.java:35)
       at installer.$createCallSiteArray(installer.groovy)
       at installer.$getCallSiteArray(installer.groovy)
       at installer.main(installer.groovy)
    I've installed jdk16-u18 on the machine and JAVA_HOME is set. Any ideas?

  2. #2

    Default

    make sure that you have java on your PATH

    PATH=$JAVA_HOME/bin:$PATH
    export PATH
    ./install.sh

  3. #3
    Join Date
    Jan 2010
    Posts
    15

    Default

    Thanks for the reply, I've solved it already. There was an older Java version (1.4.2). Now I have another problem

    Checking for installation as non-root... !! Error !!
    You appear to be running as root. This is not recommended.
    Will continue with installation.

    Checking for writable directory... Dependency verified.
    Checking for compatible JVM... running Java6.
    Checking for java executable... !! Error !!
    Your version of java cannot be found or is not compatible!
    java.lang.IllegalThreadStateException: process hasn't exited
    Non-root does not bother me, it's only testing vm inaccessible from outside. The other error is the trouble. I set up PATH as you advised.

    My JAVA_HOME points out to JDK install directory, but I guess it should not make any difference.

    I've found this: http://forum.springsource.org/showthread.php?t=83845

  4. #4

    Default

    Could be the groovy issue you're running into. Can I suggest a work around instead of running install.sh (for the tomcat container)

    1. Step One extract the tcServer runtime container (tomcat)
    java -jar tcServer-6.0.20.C-GA-tomcat.sfx.jar
    or
    unzip tcServer-6.0.20.C-GA-tomcat.sfx.jar
    or
    jar xvf tcServer-6.0.20.C-GA-tomcat.sfx.jar

    2. Make the shell scripts executable
    chmod +x tcServer-6.0/tomcat-6.0.20.C/bin/*.sh
    chmod +x tcServer-6.0/*.sh

  5. #5
    Join Date
    Jan 2010
    Posts
    15

    Default

    I did as you had said and it's working! Yahoo! Thank you very much!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •