UDP fails, but doesn't throw a SecurityException

2009-06-24 Thread Christopher Piggott
I have a servlet that sends and listens to a local UDP service. To allow this, I established the following policy: grant codebase file:${catalina.base}/webapps/modbus/- { permission java.net.SocketPermission localhost:502, connect; }; This allowed packets out to the external service,

Re: UDP fails, but doesn't throw a SecurityException

2009-06-24 Thread Konstantin Kolinko
2009/6/24 Christopher Piggott cpigg...@gmail.com: I have a servlet that sends and listens to a local UDP service.  To allow this, I established the following policy: grant codebase file:${catalina.base}/webapps/modbus/- {        permission java.net.SocketPermission localhost:502, connect;

Re: UDP fails, but doesn't throw a SecurityException

2009-06-24 Thread Christopher Piggott
Here's my question: if this was failing, why didn't it throw a SecurityException?  It would have been less challenging to figure out what was going on had there been one. Ask your Java vendor. :) There is no Tomcat code there. Really? I guess I didn't realize that. I figured the security

Re: UDP fails, but doesn't throw a SecurityException

2009-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 6/24/2009 5:17 PM, Christopher Piggott wrote: Here's my question: if this was failing, why didn't it throw a SecurityException? It would have been less challenging to figure out what was going on had there been one. Ask your Java