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.
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.