• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help: RMI Client Timeout Error?  RSS feed

 
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!