Hi,
I am using log4j in my servlet running in tomcat. Everything works fine on
my dev desktop, but when I upload the war file to a hosted service I get the
following error everytime I try to access any servlet:
java.lang.NoClassDefFoundError
NoClassDefFoundError comes up when a class that was present at compile
time isn't there at runtime.
Check that you have uploaded every jar you used during the dev process
to the WEB-INF/lib directory at your hosting service.
On 7/6/06, avilay parekh [EMAIL PROTECTED] wrote:
Hi,
I am using
Don't know if this is related to your problem, but I think you must declare the
appender before the logger (root)
Heri
-Original Message-
From: chuanjiang lo [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 4:54 PM
To: log4j-user@logging.apache.org
Subject: [SPAM (Bayesain
Do you use the log4j class PropertyConfigurator within your code? Then you
would have to change this to DOMConfigurator.
Heri
-Original Message-
From: chuanjiang lo [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 4:54 PM
To: log4j-user@logging.apache.org
Subject: [SPAM
Apart from log4j-1.2.13.jar, are there any other jars that Logger would be
dependent on? I looked at the source code starting from Logger.java:104 (as
stated in the exeption stacktrace) but didnt find any classes outside of
org.apache.log4j. Looking at all the import statements in the source code
On 7/6/06, avilay parekh [EMAIL PROTECTED] wrote:
Apart from log4j-1.2.13.jar, are there any other jars that Logger would be
dependent on?
Nopes.
A possiblity is that my desktop tomcat has some pre-installed jars that
might not be present on the hosting service's tomcat installation. I
guess