Name: stC104175 Date: 03/03/2000
java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)
Description of the problem:
The RMI-IIOP server (RemoteServer.java) implements a remote interface
(RemoteItf.java) with one method. On startup of the server, it creates an
instance of the remote object and registers that instance using JNDI (tnameserv
On startup, the client (client.java) looks for the registered remote object
using JNDI, creates as many threads as specified with the "-t=xxx" option and
passes the interface of the remote object to each thread.
Each thread calls the method of the remote interface os often as specified with
the "-l=xxx" option.
After an arbitrary number of calls, the following exception is thrown in the
java.rmi.MarshalException: CORBA MARSHAL 1398079496 Maybe; nested exception is:
org.omg.CORBA.MARSHAL: minor code: 1398079496 completed: Maybe
After that, the client blocks and is never terminated.
steps to reproduce the error:
- start tnameserv in one command shell
- start the remote server in a second command shell (java RemoteServer)
- start the client in a third command shell (java client -t=20 -l=2000)
Try to vary the number of threads/calls per thread. It may take a while until
the error occures.
This error occures also with JDK1.1.8/1.2.2. There, a block of the communication
occures with AND without the exception described, whereas with JDK1.3/RC1, the
exception is always thrown (as far as I have seen)
I could provide Java source code to reproduce the problem, but could not find a
way to attach the code to that bug report. Please contact me under my EMail
(Review ID: 101966)