ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject RE: ejbjar task
Date Tue, 19 Sep 2000 14:54:29 GMT

> Hi,
> I read in the last mailings about the EJB support, but when I try
> it I run from
> one trouble ino the next one.
> At least I got the error message
>     ERROR: Error from ejbc: The JNDI name of bean AGOEditor was not set
> It seems the weblocgic-ejb-jar.xml file is missing in the input
> jar file for
> the EJB compiler, but why?
> Here's my target which I copied from the documentation:
>   <target name="weblogic.ejb" depends="compile.server">
>     <ejbjar srcdir="${build.classes.server}"
>             descriptordir="${descriptor.dir}">
>       <weblogic destdir="${deploymentjars.dir}"/>
>       <include name="**/*-ejb-jar.xml"/>
>       <exclude name="**/*weblogic*.xml"/>
>     </ejbjar>
>   </target>
> When I do the EJB compile manually it works so the XML and class
> files are ok.
> Any hints what I made wrong?

Not really.

What you have pretty much matches what I have. The only different being that
I use a classpath attribute on the <weblogic> element. This classpath
contains all the weblogic classes, and the classes from, in your case,

The only other thing I can think of would be the name of the
weblogic-ejb-jar.xml relative to the ejb-jar.xml file. Can you give us the
full names of both these files?


View raw message