ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Davis" <jsd2...@bellatlantic.net>
Subject RE: ejbjar error
Date Fri, 26 Jan 2001 04:03:11 GMT
Double check your CLASSPATH first... at work, we've noticed ejbjar requires
CLASSPATH to be set 'just right'.

> -----Original Message-----
> From: Bill Lynch [mailto:blynch@4charity.com]
> Sent: Thursday, January 25, 2001 11:32 AM
> To: Ant-User
> Subject: ejbjar error
>
>
> All,
>
> I've been trying to get the ejbjar (using weblogic) task to work and I've
> run into what appears to be an internal ejbc error. I'm using the latest
> version of ant from CVS (jan 22, ver 1.3alpha) but I've also noticed the
> same problem with Ant 1.2.
>
> My task is the following:
>
> <target name="ejb">
>   <ejbjar srcdir="${rel.path}/classes"
>     descriptordir="${ejb.descriptor.dir}/${ejb.name}"
>     basejarname="${ejb.name}"
>   >
>     <weblogic destdir="${rel.path}/newejbs"
>       classpath="${weblogic.jar}:${weblogicaux.jar}:${rel.path}/classes"
> 	keepgeneric="true"
>     />
>     <include name="**/${ejb.name}-ejb-jar.xml" />
>     <include name="**/${ejb.name}-weblogic-ejb-jar.xml" />
>   </ejbjar>
> </target>
>
> I can verify that the jar's are being produced correctly (the step before
> calling ejbc), however when the task calles ejbc, i get the
> following error:
>
> C:\cvs>ant -Dejb.name=CcReceipt ejb
> Buildfile: build.xml
>
> ejb:
>    [ejbjar] building CcReceipt.jar with 6 files
>      [java] ERROR: Error from ejbc: weblogic.boot.ZipSource
>      [java] weblogic.utils.compiler.ToolFailureException: ERROR:
> ejbc found
> erro
> rs
>      [java]     at weblogic.ejbc.runBody(ejbc.java:340)
>      [java]     at weblogic.utils.compiler.Tool.run(Tool.java:80)
>      [java]     at weblogic.ejbc.main(ejbc.java:365)
>      [java] Java Result: 1
>
> My WL classes have been updated to the most recent service pack but that
> still doesn't solve the problem.
>
> Any ideas?
>
> Thanks in advance,
> --Bill
>
> -------------------------------------------------------
> 4charity.com                        blynch@4charity.com
> CoolServlets.com                  bill@coolservlets.com
>


Mime
View raw message