I am trying to deploy my application ear(wfc.ear) in "Jboss AS 7.1.1.Final" (i.e. Brontes) in STANDALONE MODE, but getting lots of exception in server.log, and most of them seems due to below mentioned exception---
java.lang.NoClassDefFoundError: Could not initialize class com.kronos.wfc.platform.properties.framework.KronosProperties
KronosProperties is our own class kept in platform_properties_framework.jar, and this jar is kept inside ./WEB-INF/lib folder which is correct as per J2EE standard, and
in AS5, we don't get any such error with same folder-structure/jar/class...
I already gone through following URLs and understand new classloading concept of AS7.1.
I am not understanding when all my application jars are kept inside ./WEB-INF/lib folder (i.e. under jboss\standalone\deployments\wfc.ear\wfc.war\WEB-INF\lib folder) then all these jars, (classes in these jars) should be available, and NoClassDefFoundError: Could not initialize class com.kronos.wfc.platform.properties.framework.KronosProperties error should not occur as
KronosProperties class is inside platform_properties_framework.jar located in ./WEB-INF/lib folder.
In server.log, NoClassDefFoundError for KronosPropertie class(our application class) is occurring while instantiating our filters defined in web.xml.
My wfc.ear has just one application wfc.war inside it. Following is simple structure of wfc.ear
<various jar files>