java.util.logging - AccessControlException
843807Apr 28 2004 — edited Apr 29 2004Hi, I'm developing an applet that telnets to a mobile phone base station and monitors its processor load and stuff. Anyway, I have the engine of the code working, i.e it connects to the station through telnet and writes back all the info i need, and i got it working using System.out.print statements in the windows command console. But i need to develop an applet that connects and graphs out the results. I wrote the GUI but when i press the connect button, I get this error message, which is really frustrating, because I don't know whats wrong
java.security.AccessControlException: access denied (java.util.logging.LoggingPermission control)
can anyone help?
My classes are as follows:
Monitor.class (GUI)
TelnetSession.class
TelnetProtocolHandler.class
TelnetScriptHandler.class
The code for logging in TelnetSession is
public TelnetSession()
{
logger = Logger.getLogger("" + this);
logger.setLevel(Level.ALL);
}
I would really appreciate a little help here, thanks guys
Conor