I don’t know if this forum is the right place for my query, but here goes:
I’m using webwork-2.1.7 and xwork-1.0.5 and hibernate2.
I have an application ( A ) that includes in its war, a jar from application ( B ), this jar contains mapping files ( hbm.xml ) to the models in application B, but when I deploy application A, I get the error that it can’t find the mapping files for the models in B.
In application A’s jboss-service.xml file I configure the datasources for A and B.
These 2 applications run on the same server, if I restart the server, Application A can reference the models in B, but when I redeploy A, I get an error (net.sf.hibernate.MappingException: No persister for:) when referencing any of the models in B.
Can anybody give some advice?
|