java.rmi.ConnectException: > Connection refused to host: localhost; nested exception is: > java.net.ConnectException: Connection refused: connect > at > org.springframework.beans.factory.access.SingletonBeanFactoryLocator.use > BeanFactory(SingletonBeanFactoryLocator.java: > 389) > at > com.algoTrader.RemoteServiceLocator.getContext(RemoteServiceLocator.ja > va: > 119) > at > com.algoTrader.RemoteServiceLocator.getRuleService(RemoteServiceLocato > r.java: > 203)

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 > at > org.springframework.beans.factory.access.SingletonBeanFactoryLocator.use > BeanFactory(SingletonBeanFactoryLocator.java: > 389) > at > com.algoTrader.RemoteServiceLocator.getContext(RemoteServiceLocator.ja > va: > 119) > at > com.algoTrader.RemoteServiceLocator.getRuleService(RemoteServiceLocato > r.java: > 203)

    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.use > BeanFactory(SingletonBeanFactoryLocator.java: > 389) > at > com.algoTrader.RemoteServiceLocator.getContext(RemoteServiceLocator.ja > va: > 119) > at > com.algoTrader.RemoteServiceLocator.getRuleService(RemoteServiceLocato > r.java: > 203)

      at com.algoTrader.service.mov.MovStarter.start()
    2. 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