Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 82429 invoked from network); 23 Apr 2003 14:53:23 -0000 Received: from ext-ch1gw-2.online-age.net (216.34.191.36) by daedalus.apache.org with SMTP; 23 Apr 2003 14:53:23 -0000 Received: from int-ch1gw-5.online-age.net (int-ch1gw-5 [3.159.232.69]) by ext-ch1gw-2.online-age.net (8.12.9/8.12.9/030701) with ESMTP id h3NErNhk024805 for ; Wed, 23 Apr 2003 10:53:24 -0400 (EDT) Received: from MAILER-DAEMONewman.nbc.COM (localhost [127.0.0.1]) by int-ch1gw-5.online-age.net (8.12.9/8.12.3/990426-RLH) with ESMTP id h3NErHwU028716 for ; Wed, 23 Apr 2003 10:53:17 -0400 (EDT) Received: from ny07nbcge.nbc.com (ny07nbcge.nbc.com [3.23.83.20]) by MAILER-DAEMONewman.nbc.COM (8.9.1b+Sun/8.6.12) with ESMTP id KAA00715 for ; Wed, 23 Apr 2003 10:52:08 -0400 (EDT) Received: by ny07nbcge.nbc.com with Internet Mail Service (5.5.2656.59) id <2F8L9HL6>; Wed, 23 Apr 2003 10:53:15 -0400 Message-ID: From: "Wax, Michael (NBC)" To: "'Ant Users List'" Subject: RE: problem with EjbJar Task and Iplanet not able to look for the loc al DTD Date: Wed, 23 Apr 2003 10:53:08 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Using iPlanet 6.5, I found that I needed to have the doctype in the ejb-jar.xml file point to a local dtd: However, it still took a lot of playing to make things work. I ending up using the jar and iplanet-ejbc tasks as follows: -----Original Message----- From: Ravendranath S (Adyar) [mailto:sravi@rsi.ramco.com] Sent: Monday, April 21, 2003 8:25 PM To: user@ant.apache.org Subject: problem with EjbJar Task and Iplanet not able to look for the loc al DTD Hi, I am having this problem trying to use the ejbjar task with iplanet, even when I include the dtd publicId ant is not looking at the local copy instead its trying to make socket conections to get the dtd. I am having my machine configured to use a proxy, using ant -1.5.2 and jdk1.4.0 If I remove the DOCTYPE everything works fine Thanks in advance Ravi Build script: The Error Message I get is BUILD FAILED IOException while parsing'ActBonus_Jar\ejb-jar.xml'. T his probably indicates that the descriptor doesn't exist. Details: Connection timed out: connect at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.processDesc riptor(Generi cDeploymentTool.java:501) at org.apache.tools.ant.taskdefs.optional.ejb.IPlanetDeploymentTool.processDesc riptor(IPlane tDeploymentTool.java:219) at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java:592) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1339) at org.apache.tools.ant.Project.executeTargets(Project.java:1255) at org.apache.tools.ant.Main.runBuild(Main.java:609) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148) at java.net.Socket.connect(Socket.java:425) at java.net.Socket.connect(Socket.java:375) at sun.net.NetworkClient.doConnect(NetworkClient.java:139) at sun.net.www.http.HttpClient.openServer(HttpClient.java:366) at sun.net.www.http.HttpClient.openServer(HttpClient.java:582) at sun.net.www.http.HttpClient.(HttpClient.java:292) at sun.net.www.http.HttpClient.(HttpClient.java:253) at sun.net.www.http.HttpClient.New(HttpClient.java:321) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:301) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j ava:463) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:4 54) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:556) at java.net.URL.openStream(URL.java:955) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:314) at javax.xml.parsers.SAXParser.parse(SAXParser.java:253) at org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbc.getEjbs(IPlanetEjbc.j ava:537) at org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbc.execute(IPlanetEjbc.j ava:413) at org.apache.tools.ant.taskdefs.optional.ejb.IPlanetDeploymentTool.parseEjbFil es(IPlanetDep loymentTool.java:296) Because e-mail can be altered electronically, the integrity of this communication cannot be guaranteed.