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=10313>.
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=10313

ejbc does not recognise valid descriptors for MDBs

           Summary: ejbc does not recognise valid descriptors for MDBs
           Product: Ant
           Version: 1.4.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When using ejbc to generate MDBs for Weblogic 6.1, ejbc requires that the env 
entry values for 'acknowledge-mode' and 'subscription-durability' start with 
lower case letters. 

I belive the spec actually defines the allowed values for these entries, all of 
which start with an upper ase value.
Eg 'Auto-acknowledge', 'Dups-ok-acknowledge' and 'Durable' (for subscriptions).

This occurs for Ant 1.4.1 and Ant 1.5 Beta 3.
Here is the output for 1.5 Beta3

make-ejb-jar:
   [ejbjar] Unable to load dependency analyzer: 
org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer
   [ejbjar] building ple-internal-beans-ejb-20.jar with 5 files
     [ejbc] ERROR: Error processing 'ejb-jar.xml': .ejb-jar.enterprise-
beans.message-driven.message-driven-destination.s
ubscription-durability. must be one of the values: durable,nondurable
     [ejbc] ERROR: ejbc found errors

In this case the ejb descriptor defined the 'subscription-durability' entry to 
be 'Durable'.

This is directly causing me problems because I am using XDoclet to generate the 
EJB descriptor, and XDoclet will barf if I attempt to specify a value that is 
not correct (as it probably should).

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

Reply via email to