Irc Chat Applet
843790May 24 2008 — edited May 30 2008I tried to make an Irc chat client with JApplet and It works great as long as I run in netbeans....
but if I run it in internet explore with html in build folder, it says:
java.security.AccessControlException: access denied (java.net.SocketPermission irc.hanirc.org resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at java.net.InetSocketAddress.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.jibble.pircbot.PircBot.connect(PircBot.java:140)
at org.jibble.pircbot.PircBot.connect(PircBot.java:91)
at GgodeChat.start(GgodeChat.java:59)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
this is my Applet.poicy file:
grant {
permission java.security.AllPermission;
};
Does Anyone have an idea...? i worked on this such long time googled for weeks...
It works great on netbeans but not on internet explore. is this a joke?
Edited by: bookgekgom on May 24, 2008 2:51 PM