D
depo
hi
it is impossible to connect via rmi with a local java server (but ok
from remote) using ipaddress or 127.0.0.1 url
my client exception is:
AgentAndCall::service call remote exception
//127.0.0.1:1101/SocketAlarmSS Unknown host: 172.16.241.97 ; nested
exception is:
java.net.UnknownHostException: 172.16.241.97
The used javaPolicy file is:
grant {
permission java.security.AllPermission;
};
/*
grant codeBase "file:${java.home}/lib/ext/*" {
permission java.security.AllPermission;
};
grant {
permission java.lang.RuntimePermission "stopThread";
permission java.net.SocketPermission "*:1-", "listen, accept,
connect, listen, resolve";
permission java.util.PropertyPermission "java.version", "read";
permission java.util.PropertyPermission "java.vendor", "read";
permission java.util.PropertyPermission "java.vendor.url", "read";
permission java.util.PropertyPermission "java.class.version",
"read";
permission java.util.PropertyPermission "os.name", "read";
permission java.util.PropertyPermission "os.version", "read";
permission java.util.PropertyPermission "os.arch", "read";
permission java.util.PropertyPermission "file.separator", "read";
permission java.util.PropertyPermission "path.separator", "read";
permission java.util.PropertyPermission "line.separator", "read";
permission java.util.PropertyPermission
"java.specification.version", "read";
permission java.util.PropertyPermission "java.specification.vendor",
"read";
permission java.util.PropertyPermission "java.specification.name",
"read";
permission java.util.PropertyPermission
"java.vm.specification.version", "read";
permission java.util.PropertyPermission
"java.vm.specification.vendor", "read";
permission java.util.PropertyPermission
"java.vm.specification.name", "read";
permission java.util.PropertyPermission "java.vm.version", "read";
permission java.util.PropertyPermission "java.vm.vendor", "read";
permission java.util.PropertyPermission "java.vm.name", "read";
permission java.util.PropertyPermission "user.dir", "read";
permission java.util.PropertyPermission "JAVLIN_HOME", "read";
permission java.io.FilePermission "<<ALL FILES>>", "read, write,
delete";
permission java.util.PropertyPermission "*", "read, write";
};
*/
it seems to be commented
Can you help me?
thanks
it is impossible to connect via rmi with a local java server (but ok
from remote) using ipaddress or 127.0.0.1 url
my client exception is:
AgentAndCall::service call remote exception
//127.0.0.1:1101/SocketAlarmSS Unknown host: 172.16.241.97 ; nested
exception is:
java.net.UnknownHostException: 172.16.241.97
The used javaPolicy file is:
grant {
permission java.security.AllPermission;
};
/*
grant codeBase "file:${java.home}/lib/ext/*" {
permission java.security.AllPermission;
};
grant {
permission java.lang.RuntimePermission "stopThread";
permission java.net.SocketPermission "*:1-", "listen, accept,
connect, listen, resolve";
permission java.util.PropertyPermission "java.version", "read";
permission java.util.PropertyPermission "java.vendor", "read";
permission java.util.PropertyPermission "java.vendor.url", "read";
permission java.util.PropertyPermission "java.class.version",
"read";
permission java.util.PropertyPermission "os.name", "read";
permission java.util.PropertyPermission "os.version", "read";
permission java.util.PropertyPermission "os.arch", "read";
permission java.util.PropertyPermission "file.separator", "read";
permission java.util.PropertyPermission "path.separator", "read";
permission java.util.PropertyPermission "line.separator", "read";
permission java.util.PropertyPermission
"java.specification.version", "read";
permission java.util.PropertyPermission "java.specification.vendor",
"read";
permission java.util.PropertyPermission "java.specification.name",
"read";
permission java.util.PropertyPermission
"java.vm.specification.version", "read";
permission java.util.PropertyPermission
"java.vm.specification.vendor", "read";
permission java.util.PropertyPermission
"java.vm.specification.name", "read";
permission java.util.PropertyPermission "java.vm.version", "read";
permission java.util.PropertyPermission "java.vm.vendor", "read";
permission java.util.PropertyPermission "java.vm.name", "read";
permission java.util.PropertyPermission "user.dir", "read";
permission java.util.PropertyPermission "JAVLIN_HOME", "read";
permission java.io.FilePermission "<<ALL FILES>>", "read, write,
delete";
permission java.util.PropertyPermission "*", "read, write";
};
*/
it seems to be commented
Can you help me?
thanks