Announcement Announcement Module
Collapse
No announcement yet.
Delay between rmi lookup and creation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Delay between rmi lookup and creation

    I tried to use the spring remoting.

    I followed the rmi method for remoting in the springframework site
    Chapter 17. Remoting and web services using Spring

    But, the lookup fails after 4-5 minutes and it creates a new one with the following log message.

    "Could not detect RMI registry - creating new one"

    How do I reduce the lookup timeout?

    Thanks for your help.

  • #2
    Do you have a RMI registry running? I guess if not, then lookups will be really slow.....

    Comment


    • #3
      Originally posted by gkumar3 View Post
      I tried to use the spring remoting.

      I followed the rmi method for remoting in the springframework site
      Chapter 17. Remoting and web services using Spring

      But, the lookup fails after 4-5 minutes and it creates a new one with the following log message.

      "Could not detect RMI registry - creating new one"

      How do I reduce the lookup timeout?

      Thanks for your help.
      No spring code is active during the problem you described. Spring delegates the task of registry locating to the underlying RMI subsystem via LocateRegistry.getRegistry(). So, if you have a problem with that I recommend you to ask the question at the specific Sun forums.

      P.S. I never experienced such a long registry lookup. It's rather quick even if the registry is not running.

      Comment

      Working...
      X