Announcement Announcement Module
Collapse
No announcement yet.
NoClassDefFoundError on tcServer-6.0.20 install Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    make sure that you have java on your PATH

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

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment


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

          Comment

          Working...
          X