Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help: RMI Client Timeout Error?

 
Dixon
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all:
I'm developing a RMI project. When the RMI client try to get the RMI Server object using the Naming.lookup(...) function, sometimes there is a timeout error.
One of the advise is that I should modify the ConnectionTimeout property from 30000 to 60000.
But how to midify the property? where is the property file?
My JDK is sun's JDK1.3.1 and the platform is Win2000.
Help!!! thank you very much!
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dixon -
Please change your name to conform to JavaRanch's naming policy.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at the sun.rmi Properties:
http://java.sun.com/j2se/1.4/docs/guide/rmi/sunrmiproperties.html
Hope this helps
 
Hey cool! They got a blimp! But I have a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!