From conor@cortexebusiness.com.au Mon Aug 21 14:11:49 2000 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 64025 invoked from network); 21 Aug 2000 14:11:49 -0000 Received: from mta05.mail.au.uu.net (HELO mta05.mail.mel.aone.net.au) (203.2.192.85) by locus.apache.org with SMTP; 21 Aug 2000 14:11:49 -0000 Received: from cognetnt ([63.12.0.4]) by mta05.mail.mel.aone.net.au with SMTP id <20000821141146.YJVH3895.mta05.mail.mel.aone.net.au@cognetnt> for ; Tue, 22 Aug 2000 00:11:46 +1000 From: "Conor MacNeill" To: Subject: RE: EjbJar Task Date: Tue, 22 Aug 2000 00:10:21 +1000 Message-ID: <002d01c00b79$8b156f40$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: X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Christian, I have changed the version of ejbjar in CVS to handle this problem. I also changed, however, the syntax of the ejbjar task, which I haven't documented yet. The general solution to trying to load a dtd is to redirect the parser to a local copy of the dtd. I know where that exists in the weblogic scheme of things, so for weblogic, I am able to load the dtd as a resource. To make the weblogic dependency explicit, I moved the weblogic specific parameters to a nested element. So now you have For other application servers, I really need others to submit the code for those servers. If you are using weblogic and want to try the nightly build, let me know and I can give you more information. Conor > -----Original Message----- > From: Lauer, Christian - lrc [mailto:Christian.Lauer@deka.lu] > Sent: Monday, 21 August 2000 21:11 > To: 'ant-user@jakarta.apache.org' > Subject: EjbJar Task > > > Hello, > > I'm trying to use the EjbJar task to build our EJBs for Weblogic 5.1. This > fails here at work, because we are accessing the web by proxy, and so the > parser can't download the DTDs from the internet. > > Here's the exception: > build.xml:16: SAXException while parsing 'ejb-jar.xml'. This probably > indicates badly-formed XML. Details: External entity not found: > "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd". > org.xml.sax.SAXParseException: External entity not found: > "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd". at > com.sun.xml.parser.Parser.fatal(Parser.java:2817) > > Isn't it possible to configure SAX, not to access the DTDs, or is there > perhaps another solution? > > Regards, > Chris >