HI,

I have an ear  files that contain some ejbs and war and a jar files..


Structure of the ear is as follows

MyWar.war
APP-INF\lib\castor-0.9.5.3.jar
APP-INF\lib\log4j-1.2.8,jar
APP-INF\lib\xercesImpl.jar
APP-INF\lib\xmlParserAPIs.jar
Meta-Inf\Manifest.mf
Meta-Inf\application.xml
BusinessInvokerEJB.jar
DataAccessEJB.jar
MyEJB.jar
common.jar  -    this is not an EJB...


Currently I have kept castor mapping xmls at  domain folder of server. Now I want to package these castor mapping xmls in my ear. But wherever I keep these files...these files are not getting loaded..in my code I am referring files as follows from common.jar


castor mapping file in common.jar

Mapping map = new Mapping(getClass().getClassLoader());
map.loadMapping("MyMapping.xml");



Any idea how to package these Mapping XMLs in my ear file.

Govind
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to