After a number of RMI client to server connections (55 on my system), subsequent RMI clients trying to connect fail. Why?
You are hitting the default limit of 64 open file descriptors. Try increasing the limit in your OS. In addition there is currently a practical RMI connection limit imposed by the scalability of the VM and the performance of object serialization. This is addressed in JDK 1.2. The actual number of active clients you will be able to support will depend on the workload mix you have (i.e. the number of clients, how often they talk to the server, and how much work must be done per call). • (Sect. 15) I want to use JDK 1.2 at one end of my RMI system, and JDK 1.1 at the other end. You’re getting an error message about version compatibility, right? The RMI Compiler has a -v1.1 option for generating 1.1 compatible stubs and skeletons. It should work with that . • (Sect. 15) I’m using RMI on Win95, and the Naming.lookup() call is taking a long time, even for localhost. How do I fix it? (See also the first answer in next section below, and note that this Windows workaround has never worked for so