From owner-freebsd-java Mon Feb 4 18: 3:30 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.channel.com.tw (A166-115.netpoly.net [211.73.166.115]) by hub.freebsd.org (Postfix) with ESMTP id 8F3C737B419 for ; Mon, 4 Feb 2002 18:03:20 -0800 (PST) Received: from servlet (gate1 [211.73.166.114]) by mail.channel.com.tw (8.11.1/8.11.1) with SMTP id g1520GW46214 for ; Tue, 5 Feb 2002 10:00:16 +0800 (CST) (envelope-from ray@channel.com.tw) Message-ID: <001e01c1ade8$51396b60$2201a8c0@servlet> From: "ray" To: Subject: Does Jdk1.3.1p4 can work java_rmi application? Date: Tue, 5 Feb 2002 09:54:34 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01C1AE2B.1D4D8190" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0019_01C1AE2B.1D4D8190 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable 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? ------=_NextPart_000_0019_01C1AE2B.1D4D8190 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
i get error on rmi application = that Source=20 include LocalRegistry.Registrity(1099):
and i am change = jre/lib/security/java.policy=20 file
add some security = rule:
 
but get this = error:
  Exception in Thread = "main"=20 java.security.AccessControlException:access denied
(java.net.SocketPermission = 192.168.1.2:1099=20 connect,resolve)
  at=20 java.security.AccessController.checkPermissiom(AccessController.jav:399)<= /FONT>
......
......
......
 
i am run at Linux = RedHat6.2 fine,but why can't run=20 with FreeBSD4.2 or 4.4.
is java version = question?
 
------=_NextPart_000_0019_01C1AE2B.1D4D8190-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message