1 Reply Latest reply: Mar 8, 2009 1:35 AM by jvalkeal_hyperic RSS

    Unable to start HQ 4.0.3 agent on Centos 5.2 // NoClassDefFoundError

    StefanS_hyperic Hot Shot
      Hi List,
      after "export HQ_JAVA_HOME=/usr/lib/jvm/java" and "./hq-agent.sh setup",
      i get the following error message:

      [root@it bin]# ./hq-agent.sh setup
      Exception in thread "main" java.lang.NoClassDefFoundError: org.hyperic.hq.bizapp.agent.client.AgentClient
         at java.lang.Class.initializeClass(libgcj.so.7rh)
      Caused by: java.lang.ClassNotFoundException: sun.misc.SignalHandler not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/opt/hyperic/hyperic-hq-agent/bundles/agent-4.0.3-953/lib/AgentClient.jar,file:/opt/hyperic/hyperic-hq-agent/bundles/agent-4.0.3-953/pdk/lib/ant.jar,file:/opt/hyperic/hyperic-hq-agent/bundles/agent-4.0.3-953/pdk/lib/commons-logging.jar,file:/opt/hyperic/hyperic-hq-agent/bundles/agent-4.0.3-953/pdk/lib/log4j-1.2.14.jar,file:/opt/hyperic/hyperic-hq-agent/bundles/agent-4.0.3-953/pdk/lib/hyperic-util.jar,file:/opt/hyperic/hyperic-hq-agent/bundles/agent-4.0.3-953/pdk/lib/sigar.jar,file:/opt/hyperic/hyperic-hq-agent/bundles/agent-4.0.3-953/pdk/lib/hq-product.jar,file:/opt/hyperic/hyperic-hq-agent/bundles/agent-4.0.3-953/pdk/lib/commons-httpclient-3.1.jar,file:/opt/hyperic/hyperic-hq-agent/bundles/agent-4.0.3-953/pdk/lib/commons-codec-1.3.jar,file:/opt/hyperic/hyperic-hq-agent/bundles/agent-4.0.3-953/lib/lather.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
         at java.net.URLClassLoader.findClass(libgcj.so.7rh)
         at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
         at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
         at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
         at java.lang.Class.initializeClass(libgcj.so.7rh)

      OS = Centos 5.2
      java version "1.4.2"
      gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42)

      The server works on the same servers without any problems.
      Does someone have an idea?

      Thanks for each assistance.

      Stefan