Hi everyone,
Has anyone succeeded in deploying an ear that uses JPA/Hibernate together with jboss scoped classloading?
I have an ear that deploys without problem and by adding the following jboss-app.xml in META-INF i get hibernate mapping exceptions.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-app>
<loader-repository>
com.dts:loader=NotaryAs-ClassLoader
<loader-repository-config configParserClass='org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser'>
java2ParentDelegaton=true
</loader-repository-config>
</loader-repository>
</jboss-app>
Any tips?
-Thomas