Solved

remote exception error intializing: java.rmi.UnmarshalException: Transport return code invalid

Posted on 1998-05-08
3
1,153 Views
Last Modified: 2012-08-13
We have a multi-tiered client-server system that uses RMI to communicate between a client applet within a Netscape browser and our server. On our LAN, everythingruns just fine. At another site we get the error:

Remote Exception error intializing: java.rmi.UnmarshalException: Transport return code invalid.

The remote sit'es network is quite large and complex. I was wondering if certain types of hardware or software configurations could cause problems in RMI's mode of communication over an Intranet. Both the server and clients reside on the site's Intranet.

Any and all thoughts on this problem would be greatly appreciated.

Jeff Kish
ait@concentric.net

or John Victor
victorj@ait-mmii.com
0
Comment
Question by:kishj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:kishj
ID: 1220876
Adjusted points to 100
0
 
LVL 4

Accepted Solution

by:
evijay earned 100 total points
ID: 1220877
This error may occur if the default port used by rmi registry is also used by some other machine or process.

try to run rmiregistry on a different port number by saying
rmiregistry <portnumber>

ensure that the client/server uses the naming convention as
  rmi://host:port/name
  host = host name of registry  (defaults to current host)
  port = port number of registry (defaults to the registry port number)
  name = name for remote object

for registering and lookup


0
 

Author Comment

by:kishj
ID: 1220878
The problem seems to have turned out to be not an issue with the port number, but an issue with the name referenced for the RMI registry.

It seems that where we test we don't use DNS, and the machine names are what is used for the server/rmi registry creation and the client/rmi registry naming.lookup. The Server at the customer site, because of it's setup and use of DNS and 'lack' of a computer name created a registry with the name www.thename.com. The client was trying to connect with another name it got via an incorrect method that had worked back at the office.

Thanks
Jeff Kish ait@concentric.net
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question