I am using the ant task to cactify my war. My war file does not contain the dtds, so I have used <xmlcatalog> to locally resolve to the filesystem. I've tried accessing the source code over fisheye, but it's a bit of a maze to a newbie.
The error message is "Failed to open WAR" which occurs if an IOException occurs. The stack trace reports a connection exception, which I assume from resolving the DTDs but I am behind a proxy. However, I have used xmlcatalog with relative paths (also tried absolute). <cactifywar version="2.3" srcfile="release/app.war" destfile="dist/cactified.war"> <classes dir="classes/test" includes="**/*.class"/> <lib file="build/lib/cactus-1.7.2.jar"/> <lib file="build/lib/junit.jar"/> <lib file="build/lib/aspectjrt-1.2.1.jar"/> <lib file="build/lib/commons-logging.jar"/> <lib file="build/lib/log4j-1.2.8.jar.jar"/> <lib file="release/test.jar"/> <servletredirector mapping="/ServletRedirector"/> <!-- The web.xml should contain the generated: <servlet> <servlet-name>ServletRedirector</servlet-name> <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-c lass> </servlet> <servlet-mapping> <servlet-name>ServletRedirector</servlet-name> <url-pattern>/ServletRedirector</url-pattern> </servlet-mapping> --> <xmlcatalog> <dtd publicId="-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" location="build/dtd/web-app_2_3.dtd"/> <dtd publicId="-//BEA Systems, Inc.//DTD Web Application 8.1//EN" location="build/dtd/weblogic810-web-jar.dtd"/> </xmlcatalog> </cactifywar> C:\work\build\build.xml:204: Failed to open WAR at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHe lper.java:539) Caused by: C:\work\build\build.xml:204: Failed to open WAR at org.apache.cactus.integration.ant.CactifyWarTask.getOriginalWebXml(Cacti fyWarTask.java:858) at org.apache.cactus.integration.ant.CactifyWarTask.execute(CactifyWarTask. java:487) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382) ... 14 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:461) at java.net.Socket.connect(Socket.java:411) at sun.net.NetworkClient.doConnect(NetworkClient.java:139) at sun.net.www.http.HttpClient.openServer(HttpClient.java:402) at sun.net.www.http.HttpClient.openServer(HttpClient.java:618) at sun.net.www.http.HttpClient.<init>(HttpClient.java:306) at sun.net.www.http.HttpClient.<init>(HttpClient.java:267) at sun.net.www.http.HttpClient.New(HttpClient.java:339) at sun.net.www.http.HttpClient.New(HttpClient.java:320) at sun.net.www.http.HttpClient.New(HttpClient.java:315) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti on.java:521) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja va:498) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec tion.java:626) 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(Unk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76) at org.codehaus.cargo.module.webapp.weblogic.WeblogicXmlIo.parseWeblogicXml (WeblogicXmlIo.java:49) at org.codehaus.cargo.module.webapp.DefaultWarArchive.addWeblogicDescriptor (DefaultWarArchive.java:201) at org.codehaus.cargo.module.webapp.DefaultWarArchive.getWebXml(DefaultWarA rchive.java:107) at org.apache.cactus.integration.ant.CactifyWarTask.getOriginalWebXml(Cacti fyWarTask.java:848) Tariq --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]