-
1. AS 4.2.2GA, Hibernate and war-files
mikelitton Mar 23, 2011 6:15 AM (in response to mikelitton)I enabled logging of the class loading during the deploy attempt and searched for the ClassValidator and got
[117724,RepositoryClassLoader,ScannerThread] loadClass org.jboss.mx.loading.UnifiedClassLoader3@2a6d5bb4{ url=file:/Users/mikelitton/Servers/jboss-4.2.2.GA/server/default/tmp/deploy/tmp5045897735863384069medcert-exp.war/ ,addedOrder=45} name=org.hibernate.validator.ClassValidator, loadClassDepth=0
[117724,RepositoryClassLoader,ScannerThread] Loaded class from cache, org.hibernate.validator.ClassValidator@101b6d56<CodeSource: (file:/Users/mikelitton/Servers/jboss-4.2.2.GA/server/default/lib/hibernate-annotations.jar <no signer certificates>)>
[117724,RepositoryClassLoader,ScannerThread] loadClass org.jboss.mx.loading.UnifiedClassLoader3@2a6d5bb4{ url=file:/Users/mikelitton/Servers/jboss-4.2.2.GA/server/default/tmp/deploy/tmp5045897735863384069medcert-exp.war/ ,addedOrder=45} name=org.hibernate.validator.ClassValidator class="class" org.hibernate.validator.ClassValidator cl=org.jboss.mx.loading.UnifiedClassLoader3@1fcef4f7{ url=null ,addedOrder=2}
It exists only at one place from over 2500 loading statements during the deploy attempt.
From what I can see it loads the class from cache (in bold), using the JBoss 4.2.2GA libraries. This is exactly what jboss-web.xml is supposed to prevent. Looking at the original file, could someone try to explain the details of it? Or point to a document where the porting process is described in detail.
Thanks in advance!