ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Gibbs" <dgi...@smartsynch.com>
Subject Using Ant with Weblogic
Date Thu, 09 Nov 2000 19:27:54 GMT
I have recently downloaded ant and taken a look at the build files that come
with it. I am having problems using ejbs that I have created and depolyed to
Weblogic Server. I cannot get the ejbbar task to work correctly. Is there
any more documentation or examples on how to do this? I am getting the
following error:

Buildfile: build.xml
Detected Java Version: 1.2
Detected OS: Windows NT
Project base dir set to: C:\Temp\ant
Build sequence for target `mj' is [mj]
Complete build sequence is [mj, prepare, compile, dist, makejar, clean,
buildxml
]
   [ejbjar] 1 deployment descriptors located.
   [ejbjar] building weblogic.jar with 1 files
   [ejbjar] adding file 'META-INF/ejb-jar.xml'
   [ejbjar] Calling weblogic.ejbc for
C:\Temp\ant\dist\lib\weblogic-generic.jar
     [java] Forking java -classpath
C:\Temp\ant\build;C:\weblogic\lib\weblogicau
x.jar;C:\weblogic\classes weblogic.ejbc -noexit
C:\Temp\ant\dist\lib\weblogic-ge
neric.jar C:\Temp\ant\dist\lib\weblogic.jar
     [java] weblogic.ejb.deployment.dd.DescriptorLoaderException: Received
low-l
evel error when processing DOM: message was
     [java] "weblogic.xml.dom.ChildCountException"
     [java]     at
weblogic.ejb.deployment.dd.DescriptorLoader.addDOMProcessingE
rror(DescriptorLoader.java:1731)
     [java]     at
weblogic.ejb.deployment.dd.DescriptorLoader.createEntityBeanD
escriptors(Compiled Code)
     [java]     at
weblogic.ejb.deployment.dd.DescriptorLoader.createDeploymentU
nit(DescriptorLoader.java:259)
     [java]     at weblogic.ejbc.runBody(Compiled Code)
     [java]     at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [java]     at weblogic.ejbc.main(ejbc.java:353)
     [java] weblogic.ejb.deployment.dd.DescriptorLoaderException: Received
low-l
evel error when processing DOM: message was
     [java] "weblogic.xml.dom.ChildCountException"
     [java]     at
weblogic.ejb.deployment.dd.DescriptorLoader.addDOMProcessingE
rror(DescriptorLoader.java:1731)
     [java]     at
weblogic.ejb.deployment.dd.DescriptorLoader.createSessionBean
Descriptors(Compiled Code)
     [java]     at
weblogic.ejb.deployment.dd.DescriptorLoader.createDeploymentU
nit(DescriptorLoader.java:261)
     [java]     at weblogic.ejbc.runBody(Compiled Code)
     [java]     at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [java]     at weblogic.ejbc.main(ejbc.java:353)
     [java] ERROR: Error from ejbc: Received low-level error when processing
DOM
: message was
     [java] "weblogic.xml.dom.ChildCountException"
     [java] ERROR: Error from ejbc: Received low-level error when processing
DOM
: message was
     [java] "weblogic.xml.dom.ChildCountException"
     [java] weblogic.utils.compiler.ToolFailureException: ERROR: ejbc found
erro
rs
     [java]     at weblogic.ejbc.runBody(Compiled Code)
     [java]     at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [java]     at weblogic.ejbc.main(ejbc.java:353)
     [java] Java Result: 1
   [ejbjar] deleting generic jar C:\Temp\ant\dist\lib\weblogic-generic.jar

BUILD SUCCESSFUL

===========================================================
Derek Gibbs (dgibbs@smartsynch.com)
SmartSynch, Inc.
805 S.Wheatley,Ridgeland, MS  39157
Phone: 601-206-9313 x1006
Fax: 601-206-9318
http://www.smartsynch.com/


Mime
View raw message