tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deniz <denizdurmu...@gmail.com>
Subject Tomcat 7 & JDK 7 access permissions: error or bug?
Date Tue, 17 Jan 2012 03:44:33 GMT
Hi all,

I am getting a weird error on tomcat 7. at first  i deploy my war file and
everything is smooth.. but after some time - randomly - i cant access
anything on tomcat and in the log file I see these lines: 
<code>
Jan 17, 2012 11:37:37 AM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failed
java.security.AccessControlException: access denied
("java.net.SocketPermission" "127.0.0.1:50092" "accept,resolve")
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:366)
        at
java.security.AccessController.checkPermission(AccessController.java:555)
        at
java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
        at java.lang.SecurityManager.checkAccept(SecurityManager.java:1174)
        at java.net.ServerSocket.implAccept(ServerSocket.java:526)
        at java.net.ServerSocket.accept(ServerSocket.java:490)
        at
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
        at
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:207)
        at java.lang.Thread.run(Thread.java:722)
</code>

i have to kill tomcat and then after some time it happens again... any
ideas?

--
View this message in context: http://tomcat.10.n6.nabble.com/Tomcat-7-JDK-7-access-permissions-error-or-bug-tp3679835p3679835.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message