Does Jdk1.3.1p4 can work java_rmi application?

Does Jdk1.3.1p4 can work java_rmi application?

Post by ray » Wed, 06 Feb 2002 11:33:50



This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C1ADE3.00E45530
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_0006_01C1ADE3.00E45530
Content-Type: text/html;
        charset="big5"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_0006_01C1ADE3.00E45530--

==========================================================
 PC home 9q$l+H=c!A%S=P=P&\: http://www.pchome.com.tw

==========================================================


with "unsubscribe freebsd-java" in the body of the message

 
 
 

Does Jdk1.3.1p4 can work java_rmi application?

Post by ray » Wed, 06 Feb 2002 12:25:29


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

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

------=_NextPart_000_0019_01C1AE2B.1D4D8190--


with "unsubscribe freebsd-java" in the body of the message

 
 
 

1. Native JDK1.3.1p4 works sweet!

In terms of the core JDK running green threads, patchset 5 will probably
be beta quality (there are some bugfixes on top of 4 which are in CVS).

However, I'm with Bill.  The package with a whole won't be beta until
native threads, HotSpot and the plugin all work reliably, preferably
on all the BSDs :).

--

Eyes Beyond                           Phone : (801) 765 1887
Information Technology                Web   : http://www.eyesbeyond.com


with "unsubscribe freebsd-java" in the body of the message

2. authentication with msql - installation problem

3. Using OpenJIT with jdk1.3.1p4

4. CONFIG_IP_ROUTE_FWMARK

5. applet fails under jdk1.3.1p8_1, works under jdk1.3.1p7_2

6. Hostname on internal lan behind cable router???

7. How PCSIM works(how to run Dos application in AIX)?

8. Unable to open an initial console!!!

9. JDK1.2.2 vs JDK1.1.7 on COL 2.3 -- some comments

10. linux-jdk1.3.0_02 problems [Was: JDK1.1.8 segfaults]

11. GC is not work in jdk1.3.1p5+OpenJIT1.1.16

12. offtopic question [Re: Shujit doesn't work with Forte and JDK1.3.1

13. Q: Working Java JDK1.1 for Sparc/Linux ?