ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Boehm <bo...@Informatik.BA-Stuttgart.De>
Subject Re: problem with the build
Date Tue, 07 Nov 2000 21:34:52 GMT
gbhalerao@ironmax.com wrote:
> 
> I am using Ant build script to build.  But for some reason it is unable to
> restart the server. Can sombody help?
> The error I am getting is
> 
> [java] Error : Java.lang.NoClassDefFoundError :javax/ejb/EJBObject
> the corresponding code looks like this
> 
> <java
>           fork="yes"
>           classname="com.evermind.client.orion.OrionConsoleAdmin">
>           <arg value="ormi://localhost/"/>
>           <arg value="admin"/>
>           <arg value="ironmax"/>
>           <arg value="-restart"/>
>           <classpath>
>                <pathelement location="lib/jndi.jar"/>
>                <pathelement location="lib/orion.jar"/>
>           </classpath>
> </java>
> Thanx,
> 
> Gauri

as the error message says: the javax.ejb.EJBObject is missing. Look, in which
jar file (or path) it is placed (e.g. for weblogic this is /opt/weblogic/classes
or /opt/weblogic/lib/weblogicaux.jar) and add it to your class path

cheers
oli b.
-- 
Oliver Böhm
mailto:boehm@ba-stuttgart.de
http://www.ba-stuttgart.de/~boehm

Mime
View raw message