DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21650>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21650

Sort order of EJB descriptors in META-INF catalog are significant when parsing 
the xmls

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-09-12 07:05 -------
The order is not important, but you need to select only the ejb-jar descriptors.
These are the only files processed by <ejbjar>. The CMP descriptors are picked
up automatically from the content of the weblogic descriptor (the type-storage
element). Trying to process the CMP descriptors will generate a bogus ejb-jar.

Please refer to the doco 
http://ant.apache.org/manual/OptionalTasks/ejb.html#ejbjar

There are a few tidbits worth noting:

"The task works as a directory scanning task, and performs an action for each
deployment descriptor found. As such the includes and excludes should be set to
ensure that all desired EJB descriptors are found, but no application server
descriptors are found. For each descriptor found, ejbjar will parse the
deployment descriptor to determine the necessary class files which implement the
bean."

and

"In Ant 1.3, ejbjar parses the weblogic deployment descriptor to discover the
CMP descriptors, which are then included automatically. This behaviour is
controlled by the newCMP attribute. Note that if you move to the new method of
determining CMP descriptors, you will need to update your weblogic deployment
descriptor's <type-storage> element. In the above example, you would define this
as META-INF/Customer-weblogic-cmp-rdbms-jar.xml."


So, you need to set up your includes a bit more tightly. Please check out the
examples.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to