Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 1534 invoked from network); 19 Sep 2000 14:56:36 -0000 Received: from mta02.mail.au.uu.net (HELO mta02.mail.mel.aone.net.au) (203.2.192.82) by locus.apache.org with SMTP; 19 Sep 2000 14:56:36 -0000 Received: from cognetnt ([63.34.199.169]) by mta02.mail.mel.aone.net.au with SMTP id <20000919145600.IUCE348.mta02.mail.mel.aone.net.au@cognetnt> for ; Wed, 20 Sep 2000 01:56:00 +1100 From: "Conor MacNeill" To: Subject: RE: ejbjar task Date: Wed, 20 Sep 2000 01:54:29 +1100 Message-ID: <006c01c02249$833ace00$80dc1fcb@cognet.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: <0056940012202230000002L402*@MHS> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Oliver, > Hi, > > I read in the last mailings about the EJB support, but when I try > it I run from > one trouble ino the next one. > At least I got the error message > > ERROR: Error from ejbc: The JNDI name of bean AGOEditor was not set > > It seems the weblocgic-ejb-jar.xml file is missing in the input > jar file for > the EJB compiler, but why? > Here's my target which I copied from the documentation: > > > descriptordir="${descriptor.dir}"> > > > > > > > When I do the EJB compile manually it works so the XML and class > files are ok. > Any hints what I made wrong? Not really. What you have pretty much matches what I have. The only different being that I use a classpath attribute on the element. This classpath contains all the weblogic classes, and the classes from, in your case, ${build.classes.server}. The only other thing I can think of would be the name of the weblogic-ejb-jar.xml relative to the ejb-jar.xml file. Can you give us the full names of both these files? Cheers Conor