Hi everyone!!!  Hows everything??

   I was wondering if someone could help with this.

  I'm using the next sentence:

<java classname="weblogic.ejbc" fork="yes">
      <!--<sysproperty key="weblogic.home"
value="${RUTA_WEBLOGIC}"/>-->
   <arg line="-compiler javac -iiop 
${DESTINO_COMPILAR}/EJBDisTEMP.jar
${DESTINO_COMPILAR}/${DIRECTORIO_JARS}/disEJB.jar"/>
      <classpath>        
        <pathelement path="${CLASSPATHDis}"/>
      </classpath>
</java>

  and I have this defined for my classpath used in the
classpath element:

      <property name="CLASSPATHDis"
Value="${DESTINO_COMPILAR}/${DIRECTORIO_JARS}/segEJB.jar;${DIRECTORIO_JARS}/segUtil.jar;${DIRECTORIO_JARS}/arqUtil.jar;${RUTA_JDK}/lib/tools.jar;${RUTA_JDK}/lib/dt.jar;${RUTA_JDK}/jre/lib/rt.jar;${RUTA_JDK}/jre/lib;${RUTA_WEBLOGIC}/lib/weblogic.jar;${RUTA_LOG4J_LIB}/log4j.jar;d:/j2sdkee1.2.1/lib/j2ee.jar;%CLASSPATH%"/>

  The question is.... at the moment of running the xml
when it reachs the java task. it sends the following
error:

    [java] ERROR: Error from ejbc:
java.lang.NoClassDefFoundError:
vicsa/intelgas/seguridad/EJB/SeguridadHome
    [java]     at java.lang.Class.getMethod0(Native
Method)........

  acording that, SeguridadHome.class is not included
into the jar, but that file doesn't need to be inside
it.  If you saw the classpath property I get, at the 
beginning of the line I put the segUtil.jar which has
SeguridadHome.jar, but it seems that classpathelement
in my java task is useless.

  Does anyone know what could be the problem??

  thanks in advance
Edgar

=====

_________________________________________________________________

"Puedes sentirte desilusionado si fallas, pero est�s condenado si no lo intentas."

"You can get disappointed if you fail down, but you are doomed if you do not try it."

ICQ #  22338121


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com

Reply via email to