Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.util.logging - AccessControlException

843807Apr 28 2004 — edited Apr 29 2004
Hi, 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2004
Added on Apr 28 2004
3 comments
209 views