File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes LoggingPermission Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "LoggingPermission" Watch "LoggingPermission" New topic


Alessandro Ilardo
Ranch Hand

Joined: Dec 23, 2005
Posts: 218
Hi there,

I left the same request at the Tomcat forum, but with no success, probably because is not about Tomcat itself.
I'll try to check out with you if is actually a class problem or in anycase about my j2ee application instead a server permission.

Basically, I wrote a class wich on a local Tomcat 5.0 help me to log errors sent by the servlet on files.
When I tested it on the finally hosting, I got this message:

Onestly, I did not understand what the problem is, and if anyone of you has the solution I'll really appreciate. In anycase I searched the Web looking for the answer and I found this code wich propably is helpfull, but I have no idea on where and how implement it.

Can anyone help me to fix this problem?
Thanks in advance.


trying to decode a woman mind....
Emanuel Kadziela
Ranch Hand

Joined: Mar 24, 2005
Posts: 187
Is there any reason why you can't use log4j or apache commons logging packages (or some other existing logging package)? Unless the point of your exercise is to build yet another logging package, I would strongly recommend not reinventing the wheel and using what is already out there, well-tested and proven to work.
I agree. Here's the link:
subject: LoggingPermission
It's not a secret anymore!