Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2002 09:54:34 +0800
From:      "ray" <ray@channel.com.tw>
To:        <freebsd-java@freebsd.org>
Subject:   Does Jdk1.3.1p4 can work java_rmi application?
Message-ID:  <001e01c1ade8$51396b60$2201a8c0@servlet>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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?


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=MingLiu size=2>i get error on rmi application that&nbsp;Source 
include&nbsp;LocalRegistry.Registrity(1099):</FONT></DIV>
<DIV><FONT face=細明體 size=2>and i am change jre/lib/security/java.policy 
file</FONT></DIV>
<DIV><FONT face=細明體 size=2>add some security rule:</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=細明體 size=2>but get this error:</FONT></DIV>
<DIV><FONT face=細明體 size=2>&nbsp; Exception in Thread "main" 
java.security.AccessControlException:access denied</FONT></DIV>
<DIV><FONT face=細明體 size=2>(java.net.SocketPermission 192.168.1.2:1099 
connect,resolve)</FONT></DIV>
<DIV><FONT face=細明體 size=2>&nbsp; at 
java.security.AccessController.checkPermissiom(AccessController.jav:399)</FONT></DIV>
<DIV><FONT face=細明體 size=2>......</FONT></DIV>
<DIV><FONT face=細明體 size=2>......</FONT></DIV>
<DIV><FONT face=細明體 size=2>......</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=細明體 size=2>i am run at Linux RedHat6.2 fine,but why can't run 
with FreeBSD4.2 or 4.4.</FONT></DIV>
<DIV><FONT face=細明體 size=2>is java version question?</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT>&nbsp;</DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001e01c1ade8$51396b60$2201a8c0>