Users List
Sent: Tuesday, February 19, 2008 5:07:03 AM
Subject: Re: java.security.AccessControlException
Hi!
no change, even if I chmod 777 such file, change its owner to tomcat5, group
to nogroup (like the rest of logs) etc. That is why I am completely puzzled
with this problem.
thanks!
On 19/0
etLoggercommand, such like:
> >
> > public class InportGalleryContent extends SecureHttpServlet {
> > static Logger log =Logger.getLogger(InportGalleryContent.class);
> >
> > However, when I try to access any of my servlets, the result is a
> security
> > acce
=Logger.getLogger(InportGalleryContent.class);
However, when I try to access any of my servlets, the result is a security
access error (?), as if I didn't have permissions to write the file:
java.security.AccessControlException: access denied
(java
result is a security
access error (?), as if I didn't have permissions to write the file:
java.security.AccessControlException: access denied
(java.io.FilePermission /var/log/tomcat5/cosa.log write)
java.security.AccessControlCon
You could use a socket appender to send the logs to the server.
On 4/22/06, Swati Das <[EMAIL PROTECTED]> wrote:
> Daling Xu 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 i
Daling Xu 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 bo