Even I tried the way you specified like. just including mapping1.xml and mapping2.xml, given that the files reside in the same path as mapping.xml.But it dint work.
It is searching in bin directory of JBoss whereas the mapping files are in war/target/classes/. Please help me out soon. -----Original Message----- From: Werner Guttmann [mailto:[EMAIL PROTECTED] Sent: Monday, January 07, 2008 7:19 PM To: [email protected] Subject: Re: [castor-user] Issues with castor mapping file <include> Hi, it looks like JBoss and its set of classloaders is doing some harm here. The way you have specified the (relative) location of the included mapping files (given that the main mapping file is locatd in src/main/resources as well) looks fine to me. Alternatively, you could just include mapping1.xml and mapping2.xml, given that the files reside in the same path as mapping.xml. Werner Aparajitha wrote: > Hi > > > > I am using castor for xml data binding. I have a mapping file which > includes three other mapping files. > > <mapping> > > <include href="src/main/resources/mapping1.xml" /> > > <include href="src/main/resources/mapping2.xml" /> > > </mapping> > > > > It worked fine. But when deployed as ear in jboss, it is searching in > the bin directory of jboss. It is not taking from the path which I have > specified. > > I just want to know , how to give the path for the mapping file. > > Please help me out. > > > > Regards, > > aparvatala > > > > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

