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 8920 invoked from network); 7 Nov 2000 17:40:20 -0000 Received: from gkca-public.discoverbrokerage.com (HELO gkca.discoverbrokerage.com) (63.85.63.20) by locus.apache.org with SMTP; 7 Nov 2000 17:40:20 -0000 Received: by gkca.discoverbrokerage.com; id JAA24897; Tue, 7 Nov 2000 09:39:54 -0800 Received: from seal.discoverbrokerage.com(204.242.31.83) by gkca.discoverbrokerage.com via smap (V5.5) id xma024792; Tue, 7 Nov 00 09:38:48 -0800 Received: from bayexch.discoverbrokerage.com (bayexch1.discoverbrokerage.com [10.2.200.20]); by seal.discoverbrokerage.com with ESMTP id JAA15000 for ; Tue, 7 Nov 2000 09:38:44 -0800 (PST) Received: by bayexch1.discoverbrokerage.com with Internet Mail Service (5.5.2650.21) id ; Tue, 7 Nov 2000 09:39:00 -0800 Message-ID: <13356BB49A60D311A446009027B0F4670166D063@bayexch2.discoverbrokerage.com> From: "Ventimiglia, David" To: "'ant-user@jakarta.apache.org'" Subject: RE: Unable to run EJB Jar Task .. Date: Tue, 7 Nov 2000 09:38:44 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N You're searching for deployment descriptors named *-ejb-jar.xml, but your actual descriptors are named ejb-jar.xml. You need to rename your descriptor control\ejb-jar.xml to control\Control-ejb-jar.xml. You'll end up with an ejb called Control.jar. If you'd like it to be a little more explicit that it's a bean, set the "suffix" attribute of the task to something. For example, with "-weblogic-ejb.jar", you'll end up with Control-weblogic-ejb.jar. Cheers, David -----Original Message----- From: Ritendra Sinha [mailto:ritendra.sinha@db.com] Sent: Tuesday, November 07, 2000 8:33 AM To: ant-user@jakarta.apache.org Subject: Unable to run EJB Jar Task .. Hi, Can anyone there tell me what is it that I could be doing wrong even when there are no error messages got back from the ejbjar task. I am trying to build multiple ejbs under weblogic. I have written my build script so that it does the following: ... the directory "build" now contains a package structure: com\build\com\db\efk\catalog\ejb\Catalog.class com\build\com\db\efk\catalog\ejb\CatalogBean.class com\build\com\db\efk\catalog\ejb\CatalogHome.class ... com\build\com\db\efk\control\ejb\Control ... (All the xml scripts that are necessary are there for each ejb.. such as catalog\ejb-jar.xml, control\ejb-jar.xml, etc) now I try and build the ejbjar... The ant build script does not give any errors and when it comes to do the ejbjar task it simply walks through without giving any messages. I check the location deployjars.dir but that is empty. If I remove the from the wlejb task then I get the following error message wlejb: BUILD FAILED simple.xml:49: SAXException while parsing 'catalog\weblogic-ejb-jar.xml'. This probably indicates badly-forme nal entity not found: "http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd". org.xml.sax.SAXParseException: External entity not found: "http://www.bea.com/servers/wls510/dtd/weblogic-ejb at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137) at com.sun.xml.parser.Parser.parseInternal(Parser.java:481) at com.sun.xml.parser.Parser.parse(Parser.java:284) at javax.xml.parsers.SAXParser.parse(SAXParser.java:155) at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.processDesc riptor(GenericDeployme Code) .... What am i doing wrong? Regards, Ritendra -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.