0

I am getting some error from tomcat server using the security manager as shown below.

java.security.AccessControlException: access denied ("java.net.SocketPermission" "<some ip address>:<some port>" "accept,resolve")
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
        at java.security.AccessController.checkPermission(AccessController.java:886)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
        at java.lang.SecurityManager.checkAccept(SecurityManager.java:1167)
        at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl$1.run(UnixAsynchronousServerSocketChannelImpl.java:223)
        at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl$1.run(UnixAsynchronousServerSocketChannelImpl.java:219)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.finishAccept(UnixAsynchronousServerSocketChannelImpl.java:219)
        at sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.onEvent(UnixAsynchronousServerSocketChannelImpl.java:167)
        at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293)
        at java.lang.Thread.run(Thread.java:748)
        at sun.misc.InnocuousThread.run(InnocuousThread.java:106)

does anyone have any idea why this errors?

0 Answers0