00000000.htm
来自「水木清华BBS」· HTM 代码 · 共 181 行
HTM
181 行
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: badzsf (计算机低手), 信区: Java <BR>标 题: 求助:RMI的server无法启动的问题? <BR>发信站: BBS 水木清华站 (Tue May 4 09:52:08 1999) WWW-POST <BR> <BR>
<BR>我今天刚刚按照JAVA教程中的例子试做RMI的SERVER,在NT下.我没有办法用start <BR>rmiregistry,只有用javaw rmiregistry,命令没有任何的输出,也没有新窗口.然后启动 <BR>server,报
<BR>
<BR>java.security.AccessControlException:access denied(java.net.socket.
<BR>permission myipadresss:1099 connect,resolve)
<BR>
<BR>
<BR>谢谢 <BR>-- <BR>偶是跑得快! <BR> <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.120.223.24] <BR>发信人: lixiaobin ( 浪子), 信区: Java <BR>标 题: Re: 求助:RMI的server无法启动的问题? <BR>发信站: BBS 水木清华站 (Tue May 4 15:53:43 1999) WWW-POST <BR> <BR>【 在 badzsf (计算机低手) 的大作中提到: 】
<BR>∶<I>
</I><BR>∶<I> 我今天刚刚按照JAVA教程中的例子试做RMI的SERVER,在NT下.我没有办法用start
</I><BR>∶<I> rmiregistry,只有用javaw rmiregistry,命令没有任何的输出,也没有新窗口.然后启动 </I><BR>∶<I>
</I><BR>∶<I> server,报
</I><BR>∶<I>
</I><BR>∶<I> java.security.AccessControlException:access denied(java.net.socket.
</I><BR>∶<I> permission myipadresss:1099 connect,resolve)
</I><BR>∶<I>
</I><BR>∶<I>
</I><BR>∶<I> 谢谢
</I><BR>I do this under Windows98.Maybe I could give you some advice.
<BR>There are maybe two reasons:
<BR> 1;You don't set security in your program.
<BR> 2:You don't set your path correctly.
<BR>Wish you good luck! <BR> <BR>-- <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.119.199.118] <BR>发信人: badzsf (计算机低手), 信区: Java <BR>标 题: Re: 求助:RMI的server无法启动的问题? <BR>发信站: BBS 水木清华站 (Wed May 5 12:59:16 1999) WWW-POST <BR> <BR>
<BR>Thank you very much!
<BR>
<BR>I follow the steps describing in the jdk1.2_doc, the server can be binded. <BR>The example of applet can run.
<BR>
<BR>I try another example of application. the server can run successfully, but <BR>when I compile and run client on another computer, it throws:
<BR>
<BR>ComputePi exception: error unmarshalling return; nested exception is:
<BR> java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
<BR>java.rmi.UnmarshalException: error unmarshalling return; nested exception <BR>is:
<BR> java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
<BR>java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
<BR> at java.io.ObjectInputStream.inputObject(Compiled Code)
<BR> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
<BR> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
<BR> at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
<BR> at java.rmi.Naming.lookup(Naming.java:89)
<BR> at client.ComputePi.main(ComputePi.java:14)
<BR>
<BR>I don't know why.
<BR>
<BR>【 在 lixiaobin ( 浪子) 的大作中提到: 】
<BR>∶<I> 【 在 badzsf (计算机低手) 的大作中提到: 】
</I><BR>∶<I> I do this under Windows98.Maybe I could give you some advice.
</I><BR>∶<I> There are maybe two reasons:
</I><BR>∶<I> 1;You don't set security in your program.
</I><BR>∶<I> 2:You don't set your path correctly.
</I><BR>∶<I> Wish you good luck!
</I><BR> <BR>-- <BR>偶是跑得快! <BR> <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.120.223.24] <BR>发信人: badzsf (计算机低手), 信区: Java <BR>标 题: Re: 求助:RMI的server无法启动的问题? <BR>发信站: BBS 水木清华站 (Wed May 5 13:00:29 1999) WWW-POST <BR> <BR>
<BR>Thank you very much!
<BR>
<BR>I follow the steps describing in the jdk1.2_doc, the server can be binded. <BR>The example of applet can run.
<BR>
<BR>I try another example of application. the server can run successfully, but <BR>when I compile and run client on another computer, it throws:
<BR>
<BR>ComputePi exception: error unmarshalling return; nested exception is:
<BR> java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
<BR>java.rmi.UnmarshalException: error unmarshalling return; nested exception <BR>is:
<BR> java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
<BR>java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
<BR> at java.io.ObjectInputStream.inputObject(Compiled Code)
<BR> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
<BR> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
<BR> at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
<BR> at java.rmi.Naming.lookup(Naming.java:89)
<BR> at client.ComputePi.main(ComputePi.java:14)
<BR>
<BR>I don't know why.
<BR>
<BR>【 在 lixiaobin ( 浪子) 的大作中提到: 】
<BR>∶<I> 【 在 badzsf (计算机低手) 的大作中提到: 】
</I><BR>∶<I> I do this under Windows98.Maybe I could give you some advice.
</I><BR>∶<I> There are maybe two reasons:
</I><BR>∶<I> 1;You don't set security in your program.
</I><BR>∶<I> 2:You don't set your path correctly.
</I><BR>∶<I> Wish you good luck!
</I><BR> <BR>-- <BR>偶是跑得快! <BR> <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.120.223.24] <BR>发信人: lixiaobin ( 浪子), 信区: Java <BR>标 题: Re: 求助:RMI的server无法启动的问题? <BR>发信站: BBS 水木清华站 (Wed May 5 18:26:27 1999) WWW-POST <BR> <BR>【 在 badzsf (计算机低手) 的大作中提到: 】
<BR>∶<I>
</I><BR>∶<I> Thank you very much!
</I><BR>∶<I>
</I><BR>∶<I> I follow the steps describing in the jdk1.2_doc, the server can be binded. </I><BR>∶<I>
</I><BR>∶<I> The example of applet can run.
</I><BR>∶<I>
</I><BR>∶<I> I try another example of application. the server can run successfully, but </I><BR>∶<I>
</I><BR>∶<I> when I compile and run client on another computer, it throws:
</I><BR>∶<I>
</I><BR>∶<I> ComputePi exception: error unmarshalling return; nested exception is:
</I><BR>∶<I> java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
</I><BR>∶<I> java.rmi.UnmarshalException: error unmarshalling return; nested exception
</I><BR>∶<I> is:
</I><BR>∶<I> java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
</I><BR>∶<I> java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
</I><BR>∶<I> at java.io.ObjectInputStream.inputObject(Compiled Code)
</I><BR>∶<I> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
</I><BR>∶<I> </I><BR>∶<I> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
</I><BR>∶<I> </I><BR>∶<I> at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
</I><BR>∶<I> at java.rmi.Naming.lookup(Naming.java:89)
</I><BR>∶<I> at client.ComputePi.main(ComputePi.java:14)
</I><BR>∶<I>
</I><BR>∶<I> I don't know why.
</I><BR>∶<I>
</I><BR>∶<I> 【 在 lixiaobin ( 浪子) 的大作中提到: 】
</I><BR>The compiled class of interface and class of stub and the class of client <BR>must
<BR>be the same machine!Ok?! <BR> <BR>-- <BR>※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.119.199.83] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?