Announcement Announcement Module
Collapse
No announcement yet.
RMI service becoming unbound Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • RMI service becoming unbound

    Spring 2.0.7

    I'm using a RmiServiceExporter bean to expose an RMI service.
    Mostly, it all works fine.

    However it occasionally becomes unbound. That is, the client gets an exception that includes:

    Caused by: org.springframework.remoting.RemoteLookupFailureEx ception: Could not find RMI service [rmi://myhost:12505/HedgeFundsService] in RMI registry; nested exception is java.rmi.NotBoundException: MyService
    Caused by: java.rmi.NotBoundException: MyService

    This is after it's been running for a while.
    The service is contained in a tomcat environment. The war file has not been re-deployed between when it last worked and when it failed. There's no error in any logs.

    If I restart the tomcat process, it comes back.

    Any clues? Any diagnostic settings I can use to help work it out?

    Thanks, Ian

  • #2
    Hi,

    Even I face the same issue. I am using Websphere. It occasionally works. Sometimes, it doesnt work despite server restart.

    Regards,
    Bharat

    Comment

    Working...
    X