[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    ejbc failing to understand 'acknowledge-mode' value for MDB descriptor
From:       "William Ferguson" <william_ferguson () versata ! com ! au>
Date:       2002-06-28 6:23:13
[Download RAW message or body]

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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic