Hi
Could someone please tell me as to why there is no setOutputStream() in the
class WriterAppender. I am asking this because like other classes, this
class too provides a default ctor, but does not allow mechanism to set the
OutputStream after constructing the object using the default ctor. I need
this function so as to provide a JDK 1.4 Logging API compatibility.

Rgds
Guru

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 3:24 PM
To: Log4J Users List; Michael Zhou
Cc: [EMAIL PROTECTED]
Subject: Re: WLS 6.1 can't find log4j


I have same strange things. All is now OK with a patch CR065104 obtained
from 
BEA support.

Bernard

Michael Zhou <[EMAIL PROTECTED]> wrote:

> I'm using Log4j 1.2 with the following configurations:
>   Windows XP professional
>   WLS 6.1 sp2 as the Web Server
>   CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
> 
> I packaged the log4j-1.2.jar in the WEB-INF/lib of a war file and the
> strange things happened.
> 
> Weblogic complains: NoClassDefFoundError : org.apache.log4j.Category.
> 
> The same war file works in other servlet engine such as Tomcat, Resin.
> 
> I tried to expand all jar files in my WEB-INF/lib including
> log4j-1.2.jar to WEB-INF/classes (so ugly!) and redeploy the war file.
> Then the war works properly!
> 
> I tried this war on many platform(with the same weblogic version),
> Windows 2000 server     - work
> Windows XP professional - not work
> Sun Solaris             - not work
> 
> BTW, if I replace the log4j-1.2.jar with log4j-1.1.3, it works again.
> 
> Anyone can help me? thks.
> -- 
> Michael Zhou <[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this 
communication is strictly Prohibited. 
If you have received this message by error, please notify us 
immediately, return the original mail to the sender and delete the 
message from your system."


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to