Hi, there, Ranch friends! I have a web application running under j2sdk1.4.2_07 and jakarta-tomcat-5.0.28 and this application has an applet. This little fellow opens a ServerSocket. At some point, a class at the server tries to open a connection with this applet with a Socket. Here I got a problem:
Written in the Java Plug-in console: java.security.AccessControlException: access denied (java.net.SocketPermission 172.16.1.6:4903 accept,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.checkAccept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
.... lots of other stuff ....
Well... What should I do? Should I add some permission file somewhere? Where? How? Please help me, country folks!
.: SCJP 1.4 (95%) / SCWCD 1.4 (91%) / SCBCD (77%) :.
"Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." - Calvin