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