Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 66809 invoked by uid 500); 29 Aug 2001 09:24:44 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 66800 invoked from network); 29 Aug 2001 09:24:42 -0000 Message-ID: From: Atherton Richard - Z9V To: ant-user@jakarta.apache.org Subject: ejbjar headaches Date: Wed, 29 Aug 2001 11:24:12 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm getting a lot of Ant headaches this morning! I'm using ejbjar to try to build an EJB JAR. However I get a SAXException when I use the ejbjar task, but I'm using the same descriptors that work successfully when I build using batch files (using the same Weblogic instance). Has anyone ever experienced this? ********* buildfile **************** ********* error **************** buildEJB: [ejbjar] 2 deployment descriptors located. BUILD FAILED D:\Work\Phoenix\bin\buildejb.xml:99: SAXException while parsing 'brokerportal-ejb-jar.xml'. This probably indicates badly-formed XML. Details: com.sun.xml.parser/P-055 D:\Work\Phoenix\dtd\ejb-jar_1_1.dtd --- Nested Exception --- org.xml.sax.SAXParseException: com.sun.xml.parser/P-055 D:\Work\Phoenix\dtd\ejb-jar_1_1.dtd at com.sun.xml.parser.Parser.fatal(Parser.java:2817) at com.sun.xml.parser.Parser.fatal(Parser.java:2811) at com.sun.xml.parser.Parser.parseSystemId(Parser.java:2412) at com.sun.xml.parser.Parser.maybeExternalID(Parser.java:2390) at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1100) 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(GenericDeploymentTool.java, Compiled Code) at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java, Compiled Code) at org.apache.tools.ant.Target.execute(Target.java, Compiled Code) at org.apache.tools.ant.Project.runTarget(Project.java:898) at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code) at org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Code) at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code) at org.apache.tools.ant.Main.main(Main.java:149) Total time: 0 seconds I downloaded the dtds locally. __________________________________________________ Richard Atherton Andersen - Project Phoenix Phone: +32 2 678 8351 Mobile: +44 7939 583728 E-mail: richard.atherton@axa-royalebelge.be __________________________________________________