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:
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
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!
Well, we found the cause, so I'm posting here in case anyone should encounter this problem:
The network admin had installed, unbeknownst to us, an antivirus/firewall app that was blocking ports required by JBoss. He didn't notice the server log was full of errors indicating that ports were in use, etc.