logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Farquhar <sc...@atlassian.com>
Subject [Fwd: FW: Error on ejbc]
Date Thu, 10 Jan 2002 12:14:46 GMT
This is not a log4j problem.  Check the ant archives for how to set the 
classpath for ant.

-------- Original Message --------
Subject: FW: Error on ejbc
Date: Thu, 10 Jan 2002 11:37:26 +0200
From: itay peleg <itay.peleg@convergys.co.il>
To: "'scott@atlassian.com'" <scott@atlassian.com>




-- 
Scott Farquhar
E :: s.farquhar@student.unsw.edu.au
M :: +61 414 884 583
W :: http://www.atlassian.com


hi again

I check the classpath and try in few version and all the time get the 
same error (as bellow). here is my classpath:
echo $CLASSPATH
/apps/weblogic-6.1/jdk131/lib:/apps/weblogic-6.1/jdk131/jre/lib::/apps/weblogic-6.1/lib/weblogic_sp.jar:/apps/weblogic-6.1/lib/weblogic.jar:/apps/weblogic-6.1/lib/ejb20.jar:/apps/weblogic-6.1/lib:/apps/weblogic-6.1:/apps/jdbc-1.2/classes12.zip:/apps/junit/junit.jar:/apps/log4j/dist/lib/log4j.jar:/apps/rmi-iiop-1.0/lib/idlj.jar:/apps/sax-1.0/sax.jar:/apps/sax-1.0/jaxp.jar:/apps/sax-1.0/parser.jar:/apps/sax-1.0/xerces.jar:/apps/ldap-1.2.2/lib:/apps/junit/junit.jar:/apps/log4j/dist/classes:.:/home/itayp/myclasses:/wizard/ccadmin/projects/ppv_v100/class/:/wizard/ccadmin/projects/ppv_v100/class/base/weblogic:/wizard/ccadmin/projects/ppv_v100/class/base:/apps/jdbc-1.2/classes12.zip:/home/itayp/PpvProj/deploy:/home/itayp/PpvProj/cls

if you have some idea...

thanks

-----------------------------------------------------------------
   Itay Peleg
   e-mail: itay.peleg@convergys.co.il
            
   phone: work: 972-9-9716551
           


-----Original Message-----
From: Scott Farquhar [ mailto:scott@atlassian.com]
Sent: Thursday, January 10, 2002 7:54 AM
To: Log4J Users List
Subject: Re: Error on ejbc

Your problem is that log4j is not in the classpath.

Look at the documentation for weblogic and ejbc to find how to set the
classpath for ejbc.

Cheers,
Scott


Shimon Atias wrote:

 > Hi,
 >
 > log4j version: 1.1.3
 > weblogic version: 6.1.1.0
 >
 > I'm experiencing problem during the implementation of Log4j in my 
component,
 > The error occurs when I'm trying to build a jar file, below error 
occurs at
 > the point
 > of adding the log4j usees during the build command that make ejbc
 > compilation:
 >
 > the error:
 >
 > Buildfile: build.xml
 >
 > init:
 >     [mkdir] Created dir: /d10/home/itayp/PpvProj/cls/build
 >     [mkdir] Created dir: /d10/home/itayp/PpvProj/cls/build/META-INF
 >     [mkdir] Created dir: /d10/home/itayp/PpvProj/cls/dist
 >      [copy] Copying 3 files to /d10/home/itayp/PpvProj/cls/build/META-INF
 >
 > javac:
 >     [javac] Compiling 106 source files to 
/d10/home/itayp/PpvProj/cls/build
 >
 > jar_ejb:
 >       [jar] Building jar: /d10/home/itayp/PpvProj/cls/dist/ppv.jar
 >
 > ejbc:
 >      [java]
 >      [java] ERROR: Error from ejbc: java.lang.NoClassDefFoundError:
 > Lorg/apache/log4j/Category;
 >      [java]     at java.lang.Class.getFields0(Native Method)
 >      [java]     at java.lang.Class.getDeclaredFields(Class.java:998)
 >      [java]     at
 > 
weblogic.ejb20.compliance.SessionBeanClassChecker.checkEJBContextIsNotTransi
 > ent(SessionBeanClassChecker.java:61)
 >      [java]     at java.lang.reflect.Method.invoke(Native Method)
 >      [java]     at
 > 
weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.ja
 > va:266)
 >      [java]     at
 > 
weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBCompli
 > anceChecker.java:220)
 >      [java]     at
 > weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:453)
 >      [java]     at
 > weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:410)
 >      [java]     at
 > weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:203)
 >      [java]     at weblogic.ejbc20.runBody(ejbc20.java:360)
 >      [java]     at weblogic.utils.compiler.Tool.run(Tool.java:79)
 >      [java]     at weblogic.ejbc.main(ejbc.java:21)
 >      [java]
 >      [java] ERROR: ejbc found errors
 >
 >
 >
 > please let me know what could be the problem and
 > what should be the CLASSPATH for the log4j,
 >
 >
 > Thanks
 > Atias Shimon
 >
 >
 > --
 > To unsubscribe, e-mail:   < 
mailto:log4j-user-unsubscribe@jakarta.apache.org>
 > For additional commands, e-mail: < 
mailto:log4j-user-help@jakarta.apache.org>
 >
 >


--
Scott Farquhar :: scott@atlassian.com

Atlassian :: http://www.atlassian.com
      Supporting YOUR J2EE World



--
To unsubscribe, e-mail:   < 
mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: < 
mailto:log4j-user-help@jakarta.apache.org>


-- 
Scott Farquhar :: scott@atlassian.com

Atlassian :: http://www.atlassian.com
     Supporting YOUR J2EE World



--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message