Re: Logging and Using Log4J

From: Arun Gupta <>
Date: Tue, 16 Sep 2003 19:57:06 -0700

Hi Sharib and Mihir,

It seems your webapp is not able to find the classes in log4j.jar file.
You need to make sure either log4j.jar is bundled within your war file
(WEB-INF/lib directory) or to copy log4j.jar file in
JWSDP_HOME/common/lib directory.

Thanks for your interest in JAX-RPC.


Mihir B Joshi wrote:

>I too am facing the same problem. Can anyone help me on this?
>-----Original Message-----
>From: Sharib Anis [mailto:sharib.anis_at_WILABS.COM]
>Sent: Tuesday, August 26, 2003 3:06 PM
>Subject: Logging and Using Log4J
>1] My application is using log4J for logging. Has anyone tried using
>Log4J with the JWSDP 1.2? I get errors like:
>java.lang.NoClassDefFoundError: org/apache/log4j/Logger
>I'm using a property file to configure log4j.
>Thanks and Regards,
>Sharib Anis
>Senior Research Engineer
>Wireless Intellect Labs Pte Ltd
>A MobileOne Company
>DID: +65-6843 8672; Fax: +65-6560-4950 (TZ: +0800 GMT)
>DISCLAIMER: This email (including any attachments) is intended for the
>recipient(s) named above and may contain information that is
>to Wireless Intellect Labs Pte Ltd. Any use of the information
>but not limited to, total or partial reproduction, distribution or
>dissemination in any form) by persons other than the intended
>is prohibited. If you are not an intended recipient of this email,
>notify the sender immediately and delete it. Any views expressed in this
>message are those of the individual sender, except where the sender
>them, with requisite authority, to be those of Wireless Intellect Labs
>Pte Ltd.
>This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.