Date: Tue, 5 Feb 2002 11:41:47 +0000 From: Rasputin <rasputin@submonkey.net> To: ray <ray@channel.com.tw> Cc: java@freebsd.org Subject: Re: Does Jdk1.3.1p4 can work java_rmi application? Message-ID: <20020205114147.A7666@shikima.mine.nu> In-Reply-To: <001e01c1ade8$51396b60$2201a8c0@servlet>; from ray@channel.com.tw on Tue, Feb 05, 2002 at 09:54:34AM %2B0800 References: <001e01c1ade8$51396b60$2201a8c0@servlet>
next in thread | previous in thread | raw e-mail | index | archive | help
* ray <ray@channel.com.tw> [020205 02:05]: > i get error on rmi application that Source include LocalRegistry.Registrity(1099): > and i am change jre/lib/security/java.policy file > add some security rule: > > but get this error: > Exception in Thread "main" java.security.AccessControlException:access denied > (java.net.SocketPermission 192.168.1.2:1099 connect,resolve) > at java.security.AccessController.checkPermissiom(AccessController.jav:399) > ...... > ...... > ...... > > i am run at Linux RedHat6.2 fine,but why can't run with FreeBSD4.2 or 4.4. > is java version question? No, it looks like you haven't allowed that in your policy file. Once you specify a security file, it will override all default permissions, so you need to explicitly grant it. This *shouldn't* be platform specific.... -- Jenkinson's Law: It won't work. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020205114147.A7666>