ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Pullin <kpulli...@yahoo.com>
Subject Ant/Weblogic/EJB build question
Date Tue, 29 Jun 2004 12:46:55 GMT
Hi - I'm using the <ejbjar> task with Ant 1.6.  I'm using Weblogic version 8.1.0.  I'm
compiling 3 Stateless Session Bean and 1 Entity Bean.  The 3 Stateless Session Beans build
correctly, but when it gets to the CMP Bean, I get the error message below.  I've read that
you shouldn't have to set up a proxy configuration because it will actually use the local
dtd. 
 
   [ejbjar] 3 deployment descriptors located.
   [ejbjar] Mapped publicId -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
1.1//EN to resource /weblogic/ejb20/dd/xml/ejb11-jar.dtd
   [ejbjar] Mapped publicId -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//EN to resource /weblogic/ejb20/dd/xml/ejb20-jar.dtd
   [ejbjar] Resolved -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN
 to local resource /weblogic/ejb20/dd/xml/ejb20-jar.dtd
   [ejbjar] Mapped publicId -//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN to
resource /weblogic/ejb20/dd/xml/weblogic510-ejb-jar.dtd
   [ejbjar] Mapped publicId -//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN to
resource /weblogic/ejb20/dd/xml/weblogic600-ejb-jar.dtd
   [ejbjar] Mapped publicId -//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN to
resource /weblogic/ejb20/dd/xml/weblogic700-ejb-jar.dtd
   [ejbjar] Could not resolve ( publicId: -//BEA Systems, Inc.//DTD WebLogic 8.1
.0 EJB//EN, systemId: http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd
) to a local entity
BUILD FAILED
file:C:/ngusBuild/build.xml:586: Exception while adding Vendor specific files: j
ava.net.ConnectException: Connection refused: connect
        at org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool.add
VendorFiles(WeblogicDeploymentTool.java:506)
        at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc
essDescriptor(GenericDeploymentTool.java:446)
        at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java
:592)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:610)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

		
---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message