[jboss-user] [Installation, Configuration & DEPLOYMENT] - occasional NoClassDefFoundError

trey.howard do-not-reply at jboss.com
Thu Sep 4 12:40:33 EDT 2008


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
	com.opensymphony.module.sitemesh.filter.Buffer.getOutputStream(Buffer.java:68)
	com.opensymphony.module.sitemesh.filter.PageResponseWrapper$4.create(PageResponseWrapper.java:84)
...

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!
-Trey


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174374#4174374

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174374



More information about the jboss-user mailing list