logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andre Lucas Toledo de Paula" <atol...@synchro.com.br>
Subject NoClassDefFoundError : org/apache/log4j/LogManager
Date Tue, 20 Jul 2004 20:23:19 GMT
Hi everyone,

I have a java program (a XML Parser)  in IBM F80 AIX Server   using JDK
1.1.8   .
This component has the following tree of directories:

-home
--- home/conf   (configuration files)
--- home/lib    (containing all .JAR needed, including log4j-1.2.8.jar)

The following command is used to start the java program in the directory
/home :

where : home -> /in68/oracle/SYN_SAP_R3

java -ms32m -mx256m -ss819200 -oss819200 -classpath
/usr/jdk_base/lib/classes.zip:/in68/oracle/SYN_SAP_R3/lib/listenerSAP.jar:/i
n68/oracle/SYN_SAP_R3/lib/mail.jar:/in68/oracle/SYN_SAP_R3/lib/activation.ja
r:/in68/oracle/SYN_SAP_R3/lib/log4j-1.2.8.jar:/in68/oracle/SYN_SAP_R3/lib/cl
asses12.zip
:/in68/oracle/SYN_SAP_R3/lib/nls_charset12.zip:/in68/oracle/SYN_SAP_R3/lib/o
crs12.zip:/in68/oracle/SYN_SAP_R3/lib/xmlcomp.jar:/in68/oracle/SYN_SAP_R3/li
b/xmlparserv2.jar br.com.synchro.xmllistener.ListenerXML
/F./conf/Listener.ini &


I've checked the name, the size of the log4j component and its the same as
the installation path .
I've created a new version of the component, without using log4J and it did
work as expected . Note that
this is the only JAR file that are unrecognized by the JVM .

The complete error looks like this :

java.lang.NoClassDefFoundError: org/apache/log4j/LogManager
        at br.com.synchro.logging.Log4jLogger._$3128(Compiled Code)
        at br.com.synchro.logging.Log4jLogger.<init>(Compiled Code)
        at br.com.synchro.logging.LoggerFactory.getLogger(Compiled Code)
        at br.com.synchro.xmllistener.ListenerXML.main(Compiled Code)


I really would be gratefull if anyone could help us in this issue .



Thanks for helping,

André Lucas Toledo de Paula
Analista Programador
atoledo@synchro.com.br
Tel: 11 3758 0021 - ramal: 186

SYNCHRO Solução Fiscal Brasil
www.synchro.com.br


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message