|
-
September 23rd, 1999, 03:43 AM
#1
Java RMI
I am trying to implement the RMI server on the Remote Host. I do it in the following manner :
1) Create the Remote Interface
2) Create a Class that Implements the Remote Interface.
3) Create the Stub and Skeleton Classes (using rmic...)
4) Copy the Remote Interface and Stub File to the Client Host
5) Start Up the remote registry
6) create and Register the Remote Object : When I try to do this procedure I use the following command at the prompt
java ServerDir.MyServerImpl
On execution the exception thrown is
'java.security.AccessControlException : access denied ( java.net.SocketPermission "111.111.111.111" connect, resolve)
(Note : the IP address here is only for understanding)
The Remote object does not get registered. How do I solve this problem ?? Please help.
Thanks
Uma
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|