Is this a bug?  

Normally, when you deploy an ejb jar file, you can include ejb-jar.xml,
jaws.xml, jboss.xml.  So in making my ear file, where I have 3 entity jar
files, each jar has ejb-jar.xml, jaws.xml, jboss.xml.  However, I noticed
that during deployment of each ejb jar file, it seemed to be using the same
jaws.xml every time. 

looking through the code, I noticed in
org/jboss/ejb/plugins/jaws/metadata/JawsXmlFileLoader.java, line 64, where
the jaws.xml file is loaded, that we are simply looking in the classpath for
the name META-INF/jaws.xml.  Assuming that all ejb jars are added to the
classpath at one time, and that all use the same classloader, it seems like
we would be loading the same jaws.xml every time even if there was one in
every ejb jar.  There doesn't seem to be the same problem with the
ejb-jar.xml though.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to