Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 83225 invoked by uid 500); 1 May 2001 06:22:00 -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 83215 invoked from network); 1 May 2001 06:22:00 -0000 Message-ID: <003f01c0d207$87318f30$65010c3f@cognetnt> From: "Conor MacNeill" To: References: <0373D1CCF679D411A80300B0D03DE06FCE7FB7@CHALFONT> Subject: Re: Anyone got the element for to work with weblogic 6? Date: Tue, 1 May 2001 16:25:26 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Andrew, The location is a file path, and not a URL. Try that and let me know if you still have problems. Conor ----- Original Message ----- From: "Andrew Thompson" To: Sent: Tuesday, May 01, 2001 3:14 PM Subject: Anyone got the element for to work with weblogic 6? > I have an odd problem. I'm trying to run ejbjar from ant 1.3 with Weblogic > 6. > > I've disabled all the weblogic functionality and stripped my ejbjar tag down > to this: > > > descriptordir="${ddstaging.dir}" > destdir="${output.dir}" > basenameterminator="." > > > > location="file:///d:/java/weblogicclasses/weblogic/ejb20/dd/xml/ejb11-jar.d t > d" /> > > > > > > The -ejb-jar.xml files I have all start: > > > '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' > 'http://java.sun.com/j2ee/dtds/ejb11-jar.dtd'> > > When I try to run ant I get the dreaded: > D:\Builds\ctc\src\antBuildFiles\build.xml:180: SAXException while parsing > 'address.ejb-jar.xml'. This probably indicates badly-formed XML. Details: > External entity not found: "http://java.sun.com/j2ee/dtds/ejb11-jar.dtd". > --- Nested Exception --- > org.xml.sax.SAXParseException: External entity not found: > "http://java.sun.com/j > 2ee/dtds/ejb11-jar.dtd". > at com.sun.xml.parser.Parser.fatal(Parser.java:2817) > > > > Am I missing something obvious? (needless to day the DTD is in the location > given above, we unpacked the weblogic jar file to get it). Nothing I've > tried seems to help, not writing d:\ instead of file:///d:/, not running > setEnv from weblogic, or setting a classpath from within or without the > build.xml file. > > I'm at something of a loss. With my network cable in, it works fine, without > it faile. Does anyone have this feature ( tags) working with ant1.3 and > weblogic 6? (parser is xserces, JDK is 1.3) > > Thanks, > > AndyT > > ... >