Re: error Dynamic stub download

Peter Jones - JavaSoft East <[email protected]>
Newsgroups gmane.comp.java.sun.rmi
Message-ID <20051029000130.GC1833@east>
We would need more information in order to provide any help, starting
with the complete stack trace of the exception(s) encountered.  Also
potentially useful would be

- the server command line
- whether the client codebase's HTTP server shows the client.jar being
  downloaded
- the System.err output of the server with RMI class loading logging
  enabled[*]
- etc.

-- Peter

[*] Use "-Dsun.rmi.loader.logLevel=v" or configure the sun.rmi.loader
logger:
        http://java.sun.com/j2se/1.5.0/docs/guide/rmi/logging.html


Quoting Deleep Kumar <[email protected]>:
> Hi,
> i am trying to Download the client stub at the server side dynamically.
> but i am unable to the same.
>
> for this i am using the following codebase and policy file.
> please check and get back me
>
>
> codebase :  at Client
> ---------
> java -cp $CLASSPA -Djava.security.policy=test.policy
> -Djava.rmi.server.codebase="http://10.0.43.14/~nkumar/public_html/rmi/client.jar" SimuClient 10.0.43.52
>
> policy file :
> -----------
>
> grant {
> permission java.security.AllPermission;
> };
>
> grant
> {
>  permission java.net.SocketPermission "*:1024-65535",
> "connect,accept,resolve";
>  permission java.net.SocketPermission "*:1-1023","connect,resolve";
> };

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.