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