Daling Xu <daling.xu <at> sonexent.com> writes: > > Hi, All > > I am considering using log4j in my project, which is a web-application. I > used > j2sdk1.4, servlet 2.3 and java plug in 1.4, and log4j 1.2.3. When I use > log4j to log informations in the jsp or servlet, every thing is fine, I can > write to both the console or a file in the server side. > > But when I tried to use log4j in the applet side, I got the following > exception (See error message at end), and my applet didn't get loaded. > > I tried to trouble-shooting this. It looks that if I change the > log4j.properties file, remove the > appender configuration of the logFile.log, only print out to the console, it > will work. > > Is this a bug? How can I fix it? > > I understand that in the applet I can't write to a file in the server side. > But I still want to have the flexibility to log to the file from the > servlet. Now it looks that I can only log to console if I want the applet > also use log4j. > > > Hi,
Did you get any solution to this error? I am also facing the same problem. I am etting a security exception of Write permissions denied when I call log4j from an applet, although my applet is signed. I am using my applet to write into other files. So why am I getting error in this case How can I call log4j from an applet?? Thanks, Swati --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
