On 16 Dec 2003 21:08, sgwood wrote:
>>Hello,
>> Is it possible to configure JBoss/Hibernate so that hibernate can
>>lookup the mapping files from another jar (e.g. myHibernateClasses.
jar)
>I think the closest you are going to get is:
>myEar.ear
> hibernateStartup.sar
> META-INF/
> jboss-service.xml
> eg/
> package/
> MyClass.hbm.xml
> myHibernateClasses.jar
> eg/
> package/
> MyClass.class
>
>The Jboss Hibernate MBean needs to be able to find the hbm.xml files
>specified in the MapResources attribute in the MBean descriptor on the
>classpath of the SAR.
I tried to make my .ear file have this structure and the web application
starts OK, nut the .sar file is not deployed/initialised.
Do I have to specify something in the default or jboss deployment
descriptors for this to work? |