logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31557] New: - java.lang.NoClassDefFoundError: org/apache/log4j/Category
Date Wed, 06 Oct 2004 05:27:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31557>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31557

java.lang.NoClassDefFoundError: org/apache/log4j/Category

           Summary: java.lang.NoClassDefFoundError:
                    org/apache/log4j/Category
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: mdevender@hotmail.com


Hi All,
I am getting class not found exception when I am running my application even 
when the class path is set properly.
 
 
Symptoms are as follows
1) After starting the application it is able to log the messages properly
2) Class not found exception is thrown only when i excecute Naming.rebind code
 
Note: Please take note that it is definitely a class path problem, as some of 
my codes are working properly.
 
My environment is as follows
Java - JDK 1.3.1
Log4j 1.2.8
O.S Linux 8
Xerces 1.7.1 ( for some xml configuration)
 
Attached below is part of my log file which will give u a better Idea.
 
Possible reason:
1) I am using jdk 1.3.1 and I doubt if log4j got any problem
2) I am using xerces 1.7.0 for some logging and do not know if it got any 
problem with log4j.

Thanks in advance for all the help.
 
1165 DEBUG [main] simios.framework.trn.SysHealthCfgFileData     - Total no of 
subsystems : 4
1166 DEBUG [main] simios.framework.trn.SysHealthCfgFileData     - Total no of 
subsystems : 4
1166 DEBUG [main] simios.framework.trn.SysHealthCfgFileData     - Total no of 
subsystems : 3
1167 DEBUG [main] simios.framework.trn.SysHealthCfgFileData     - Total no of 
subsystems : 3
1351 ERROR [main]       amtios.ui.CRDN_MGM_ServerMainUI     -
java.rmi.ServerError: Error occurred in server thread; nested exception is:
        java.lang.NoClassDefFoundError: org/apache/log4j/Category
java.lang.NoClassDefFoundError: org/apache/log4j/Category
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer
(StreamRemoteCall.java:245)
        at sun.rmi.transport.StreamRemoteCall.executeCall
(StreamRemoteCall.java:220)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:354)
        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
        at java.rmi.Naming.rebind(Naming.java:160)
        at amtios.ui.CRDN_MGM_ServerMainUI.main(CRDN_MGM_ServerMainUI.java:142)

---------------------------------------------------------------------
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