ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dawson <tdaw...@is.com>
Subject ejbjar fails when behind firewall/proxy server
Date Fri, 12 Jan 2001 18:17:20 GMT
this works fine when working at one location, which doesn't use a proxy
server...

    <ejbjar srcdir="${classes.source}"
            descriptordir="source/com/wamnet/wap/server"
            basejarname="wap-ejb">

      <weblogic destdir="${staging.dir}"
 
classpath="${weblogic.home}/classes;${weblogic.home}/lib/weblogic.jar;${clas
ses.source}"/>
      <include name="ejb-jar.xml"/>
      <exclude name="weblogic-ejb-jar.xml"/>

but from another location which DOES  use a proxy server, I get THIS:

BUILD FAILED

C:\Projects\WamNet-AssociatesProgram\system\build.xml:94: SAXException while
par
sing 'ejb-jar.xml'. This probably indicates badly-formed XML.  Details:
External
 entity not found: "http://java.sun.com/dtd/ejb-jar_2_0.dtd".
org.xml.sax.SAXParseException: External entity not found:
"http://java.sun.com/d
td/ejb-jar_2_0.dtd".
        at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
        at
com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2506)
        at com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1137)
        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.proc
essDescriptor(GenericDeploymentTool.java:244)
        at
org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java
:273)
        at org.apache.tools.ant.Target.execute(Target.java:142)
        at org.apache.tools.ant.Project.runTarget(Project.java:818)
        at org.apache.tools.ant.Project.executeTarget(Project.java:532)
        at org.apache.tools.ant.Project.executeTargets(Project.java:506)
        at org.apache.tools.ant.Main.runBuild(Main.java:420)
        at org.apache.tools.ant.Main.main(Main.java:149)

Any ideas how I can get around this?

Thanks,

Tim

Mime
View raw message