You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by William Ferguson <wi...@versata.com.au> on 2002/06/28 08:23:13 UTC

ejbc failing to understand 'acknowledge-mode' value for MDB descriptor

Hi all,

I can't seem to get the ejbc task to process 'Auto-acknowledge' as a valid
value for the 'acknowledge-mode' entry of an MDB descriptor in Weblogic 6.1.

Fails for both Ant 1.4.1 and Ant 1.5 beta 3.

The 1.5 BEta 3 Error msg (similar to 1.4.1) is below:

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.acknowledge-mode. must be on
e of the values:
auto-acknowledge,dups-ok-acknowledge,no_acknowledge,multicast_no_acknowledge
     [ejbc] ERROR: ejbc found errors

ejbc seems to expect 'auto-acknowledge', ie lower-case leading 'a'. But this
does not gel with the EJB spec.
NB I haven't been able to try the lower case version as XDoclet (which bis
generating the descriptor) will barf if it is not set correctly.

Who's got this working and how?


William Ferguson
Technical Lead - Workflow Functionality
Versata, Inc.
"Business Logic Development and Management"
Ph     +61 03 9428 0788
Fax    +61 03 9428 0786
Email  william_ferguson@versata.com.au
www.versata.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>