Re: problem w/ serialization of java.rmi.Remote pointer across HTTP through firewall

Gregg Wonderly <[email protected]>
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
Niclas Hedhman wrote:
> On Friday 13 May 2005 01:37, George Ludwig wrote:
>
>>Has anyone had a similar experience? Any ideas on what
>>could be causing the slowdown?
>
>
> I would strongly suspect the DNS resolution of the names in the Remote
> reference, which in my experience accounts for almost all 'real long' delays
> and failures.
>
> Can you verify that the hostnames and/or IP numbers that are populated in the
> Remote references are FQDN and properly resolvable.
> Perhaps a java.rmi.server.hostname (do I remember that property correctly?) is
> needed.

Or perhaps the 'hostname' being derived from the runtime environment is
  a private IP address that is not routable.  At any rate, make sure
that the above property is set with an FQDN that resolves both locally
and remotely, or is an IP address that is routable from both sides.
Typically though, you need an FQDN...

Gregg Wonderly

===========================================================================
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.