ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Ferguson" <william_fergu...@versata.com.au>
Subject ejbc failing to understand 'acknowledge-mode' value for MDB descriptor
Date Fri, 28 Jun 2002 06:23:13 GMT
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message