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,
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;
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
-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