1 Reply Latest reply on Sep 4, 2008 5:15 PM by Trey Howard

    occasional NoClassDefFoundError

    Trey Howard Newbie

      One of our deployment occasionally gets a NoClassDefFoundError.
      We have deployed with the PermGen garbage collection turned on, and I'm curious to know if that is perhaps resulting in an error like this:
      java.lang.NoClassDefFoundError: com/opensymphony/module/sitemesh/util/FastByteArrayOutputStream

      Note: It's not always a SiteMesh library. It seems to be a different library each time, sometimes even lower-level JBoss libs.

      I'm totally lost here, as identical installations elsewhere have NEVER seen an error like this, so I'm not sure where to begin.
      Is it possible that the class unloading i've enabled:
      -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
      is interfering?
      Could this be due to a network admin stopping and/or starting JBoss improperly (GUI 'X' followed by 'End Now').

      Any help would be greatly appreciated!