java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect

Google Groups | Ananda Shaleen | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RMI Issue in non simulated mode for MOV strategy

    Google Groups | 5 years ago | Ananda Shaleen
    java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect

    Root Cause Analysis

    1. java.rmi.ConnectException

      Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect

      at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory()
    2. Spring Beans
      SingletonBeanFactoryLocator.useBeanFactory
      1. org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:389)
      1 frame
    3. com.algoTrader
      RemoteServiceLocator.getRuleService
      1. com.algoTrader.RemoteServiceLocator.getContext(RemoteServiceLocator.java:119)
      2. com.algoTrader.RemoteServiceLocator.getRuleService(RemoteServiceLocator.java:203)
      2 frames
    4. com.algoTrader.service
      MovStarter.main
      1. com.algoTrader.service.mov.MovStarter.start(MovStarter.java:21)
      2. com.algoTrader.service.mov.MovStarter.main(MovStarter.java:14)
      2 frames