1 Reply Latest reply on Dec 5, 2009 10:54 AM by Scotty_hyperic

    error msg in build ok but run failed

    danni505 Hot Shot
      14:04:32,328 INFO  [RenditServer] Loading plugin from [F:\JavaEnv\jboss-4.2.3.GA
      \server\default\deploy\hq.ear\hq.war\hqu\tmpl_render]
      14:04:32,328 INFO  [PluginWrapper] Loading plugin in [F:\JavaEnv\jboss-4.2.3.GA\
      server\default\deploy\hq.ear\hq.war\hqu\tmpl_render] with loaders for: [file:/F:
      /JavaEnv/jboss-4.2.3.GA/server/default/deploy/hq.ear/rendit_sys/]
      14:04:32,328 ERROR [UIStartupListener] Error loading plugin [F:\JavaEnv\jboss-4.
      2.3.GA\server\default\deploy\hq.ear\hq.war\hqu\tmpl_render]
      java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.c
      lassgen.Verifier
              at org.codehaus.groovy.control.CompilationUnit.<init>(CompilationUnit.ja
      va:127)
              at groovy.lang.GroovyClassLoader.createCompilationUnit(GroovyClassLoader
      .java:410)
              at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:269)
              at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:252)
              at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:192)
              at org.hyperic.hq.hqu.rendit.PluginWrapper$1.run(PluginWrapper.java:147)

              at org.hyperic.hq.hqu.rendit.PluginWrapper.doInContext(PluginWrapper.jav
      a:138)
              at org.hyperic.hq.hqu.rendit.PluginWrapper.loadDispatcher(PluginWrapper.
      java:145)
              at org.hyperic.hq.hqu.rendit.RenditServer.loadPluginInternal(RenditServe
      r.java:158)
              at org.hyperic.hq.hqu.rendit.RenditServer.access$000(RenditServer.java:5
      2)
              at org.hyperic.hq.hqu.rendit.RenditServer$1.run(RenditServer.java:136)
              at org.hyperic.hq.hibernate.SessionManager.runInSessionInternal(SessionM
      anager.java:79)
              at org.hyperic.hq.hibernate.SessionManager.runInSession(SessionManager.j
      ava:68)
              at org.hyperic.hq.hqu.rendit.RenditServer.loadPlugin(RenditServer.java:1
      30)
              at org.hyperic.hq.hqu.rendit.RenditServer.addPluginDir(RenditServer.java
      :109)
              at org.hyperic.hq.ui.server.session.UIStartupListener$1.fileAdded(UIStar
      tupListener.java:93)
              at org.hyperic.hq.ui.server.session.UIStartupListener.initPlugins(UIStar
      tupListener.java:112)
              at org.hyperic.hq.ui.server.session.UIStartupListener.access$100(UIStart
      upListener.java:44)
              at org.hyperic.hq.ui.server.session.UIStartupListener$UIPluginInitialize
      r.pluginsDeployed(UIStartupListener.java:66)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.hyperic.util.callback.CallbackType$1.callListeners(CallbackType.j
      ava:50)
              at org.hyperic.util.callback.CallbackDispatcher$CallbackHandler.invoke(C
      allbackDispatcher.java:80)
              at $Proxy314.pluginsDeployed(Unknown Source)
              at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.handleNotif
      ication(ProductPluginDeployer.java:225)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificati
      onListenerProxy.java:153)
              at $Proxy204.handleNotification(Unknown Source)
              at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotificat
      ion(JBossNotificationBroadcasterSupport.java:127)
              at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotificatio
      n(JBossNotificationBroadcasterSupport.java:108)
              at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:9
      16)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
              at org.jboss.Main.boot(Main.java:200)
              at org.jboss.Main$1.run(Main.java:508)
              at java.lang.Thread.run(Thread.java:619)
      14:04:32,328 INFO  [HQDBHealthStartupListener] Scheduling HQ DB Health to perfor
      m a health check every 15 sec
      14:04:32,328 INFO  [DirWatcher] Watching: F:\JavaEnv\jboss-4.2.3.GA\server\defau
      lt\deploy\hq.ear\hq.war\hqu
      14:04:32,343 INFO  [STDOUT] null
      14:04:34,718 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
      ed. Attempt #1. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
      again in 1 sec.
      java.lang.NoClassDefFoundError: org/hyperic/hibernate/dialect/HQDialectUtil
              at org.hyperic.hq.events.server.session.HQDBHealthStartupListener$HQDBHe
      althTask.pingDatabase(HQDBHealthStartupListener.java:185)
              at org.hyperic.hq.events.server.session.HQDBHealthStartupListener$HQDBHe
      althTask.run(HQDBHealthStartupListener.java:122)
              at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdap
      ter.call(Executors.java:442)
              at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.runAndReset
      (FutureTask.java:200)
              at edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExe
      cutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:151)
              at edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExe
      cutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:263)
              at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.run
      Worker(ThreadPoolExecutor.java:1061)
              at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
      ker.run(ThreadPoolExecutor.java:575)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: or
      g.hyperic.hibernate.dialect.HQDialectUtil, msg=PermGen space
              at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
      assLoader.java:560)
              at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
      oader.java:415)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
              ... 9 more
      Caused by: java.lang.OutOfMemoryError: PermGen space
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
      4)
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
              at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
              at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(Repositor
      yClassLoader.java:690)
              at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassL
      oader.java:670)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
              at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(Repositor
      yClassLoader.java:200)
              at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask
      .java:131)
              at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
              at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
      assLoader.java:527)
              ... 12 more
      14:04:34,718 INFO  [ConcurrentStatsCollector] ConcurrentStatsCollector has start
      ed
      14:04:34,718 INFO  [ProductPluginDeployer] HQ plugin deployer cleared
      14:04:44,062 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
      ed. Attempt #2. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
      again in 1 sec.
      java.lang.OutOfMemoryError: PermGen space
      14:04:46,187 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
      ed. Attempt #3. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
      again in 1 sec.
      java.lang.OutOfMemoryError: PermGen space
      14:04:50,578 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
      ed. Attempt #4. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
      again in 1 sec.
      java.lang.OutOfMemoryError: PermGen space
      14:04:52,234 WARN  [ConcurrentStatsCollector] PermGen space
      java.lang.OutOfMemoryError: PermGen space
      14:04:52,812 ERROR [STDERR] Exception in thread "RMI TCP Connection(idle)"
      14:04:53,359 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      14:04:53,906 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
      ed. Attempt #5. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
      again in 1 sec.
      java.lang.OutOfMemoryError: PermGen space
      14:04:57,796 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
      ed. Attempt #6. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
      again in 1 sec.
      java.lang.OutOfMemoryError: PermGen space
      14:04:58,343 ERROR [STDERR] Exception in thread "ScannerThread"
      14:04:58,343 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      14:04:59,453 ERROR [STDERR] Exception in thread "ScannerThread"
      14:05:00,015 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      14:05:03,562 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
      ed. Attempt #7. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
      again in 1 sec.
      java.lang.OutOfMemoryError: PermGen space
      14:05:04,125 ERROR [JIoEndpoint] Error allocating socket processor
      java.lang.OutOfMemoryError: PermGen space
      14:05:05,281 ERROR [JIoEndpoint] Error allocating socket processor
      java.lang.OutOfMemoryError: PermGen space
      14:05:07,562 ERROR [JIoEndpoint] Error allocating socket processor
      java.lang.OutOfMemoryError: PermGen space
      14:05:07,562 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
      ed. Attempt #8. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
      again in 1 sec.
      java.lang.OutOfMemoryError: PermGen space
      14:05:09,781 ERROR [JIoEndpoint] Error allocating socket processor
      java.lang.OutOfMemoryError: PermGen space
      14:05:11,437 WARN  [ConcurrentStatsCollector] PermGen space
      java.lang.OutOfMemoryError: PermGen space
      14:05:12,000 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
      ed. Attempt #9. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
      again in 1 sec.
      java.lang.OutOfMemoryError: PermGen space
      14:05:27,562 WARN  [ConcurrentStatsCollector]
      14:05:29,796 ERROR [STDERR] Exception in thread "QuartzScheduler_org.hyperic.hq.
      scheduler.server.mbean.SchedulerService-NON_CLUSTERED_MisfireHandler"
      14:05:29,796 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      14:05:46,125 ERROR [STDERR] Exception in thread "org.hyperic.hq.scheduler.server
      .mbean.SchedulerService_QuartzSchedulerThread"
      14:05:46,125 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      14:06:09,859 ERROR [STDERR] Exception in thread "ContainerBackgroundProcessor[St
      andardEngine[jboss.web]]"
      14:06:10,421 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      14:08:27,718 ERROR [STDERR] Exception in thread "Timer-3"
      14:08:28,328 ERROR [STDERR] java.lang.NoClassDefFoundError: org/apache/commons/p
      ool/impl/CursorableLinkedList$Cursor
      14:09:32,109 ERROR [STDERR] Exception in thread "RMI RenewClean-[127.0.0.1:2098]
      "
      14:09:32,671 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      14:09:33,796 ERROR [STDERR] Exception in thread "RMI TCP Connection(idle)"
      14:09:33,796 ERROR [STDERR] java.lang.NoClassDefFoundError: Could not initialize
      class java.util.concurrent.SynchronousQueue$TransferStack$SNode
      14:10:02,578 ERROR [JIoEndpoint] Error allocating socket processor
      java.lang.OutOfMemoryError: PermGen space
      14:10:02,578 ERROR [DataPurgeJob] org/hyperic/hq/measurement/shared/DataCompress
      Util
      14:10:08,109 ERROR [JIoEndpoint] Error allocating socket processor
      java.lang.OutOfMemoryError: PermGen space
      14:10:17,578 ERROR [JIoEndpoint] Error allocating socket processor
      java.lang.OutOfMemoryError: PermGen space
        • 1. Re: error msg in build ok but run failed
          Scotty_hyperic Hot Shot
          VMware Employees
          Seeing the following in your logs

          14:04:44,062 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
          ed. Attempt #2. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
          again in 1 sec.
          java.lang.OutOfMemoryError: PermGen space
          14:04:46,187 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
          ed. Attempt #3. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
          again in 1 sec.
          java.lang.OutOfMemoryError: PermGen space
          14:04:50,578 ERROR [HQDBHealthStartupListener$HQDBHealthTask] HQ DB Health: Fail
          ed. Attempt #4. Last successful check at Thu Jan 01 08:00:00 CST 1970. Checking
          again in 1 sec.
          java.lang.OutOfMemoryError: PermGen space
          14:04:52,234 WARN [ConcurrentStatsCollector] PermGen space
          java.lang.OutOfMemoryError: PermGen space


          Edit the server.java.opts in your hq-server.conf .  Example:

          In hq-server.conf change:
             server.java.opts=-Xmx10024m -Xms1028m

          Double it too:
          server.java.opts=-XX:MaxPermSize=192m -Xmx2048m -Xms2048m