org.springframework.remoting.RemoteConnectFailureException

Cannot connect to Hessian remote service at [http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service]; nested exception is com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8

  • via Google Groups by Colin McGlynn, 6 months ago
    Cannot connect to Hessian remote service at [http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service]; nested exception is com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service
  • Cannot connect to Hessian remote service at [http://localhost:8083/application/remoting/SomeService]; nested exception is com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://localhost:8083/application/remoting/SomeService
  • Cannot connect to Hessian remote service at [http://localhost:8084/device]; nested exception is java.net.ConnectException: Connection refused
  • Stack trace

    • org.springframework.remoting.RemoteConnectFailureException: Cannot connect to Hessian remote service at [http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service]; nested exception is com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service at org.springframework.remoting.caucho.HessianClientInterceptor.convertHessianAccessException(HessianClientInterceptor.java:262) at org.springframework.remoting.caucho.HessianClientInterceptor.invoke(HessianClientInterceptor.java:231) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy34.getStopWithArrivalsAndDepartures(Unknown Source) at org.onebusaway.api.actions.api.where.ArrivalsAndDeparturesForStopAction.show(ArrivalsAndDeparturesForStopAction.java:98) at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at org.onebusaway.api.actions.api.ExceptionInterceptor.intercept(ExceptionInterceptor.java:56) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at org.onebusaway.api.actions.api.ApiKeyInterceptor.intercept(ApiKeyInterceptor.java:72) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:100) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265) at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at org.apache.struts2.rest.ContentTypeInterceptor.intercept(ContentTypeInterceptor.java:66) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at org.onebusaway.presentation.impl.StackInterceptor.intercept(StackInterceptor.java:71) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:104) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:139) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at org.apache.struts2.interceptor.MessageStoreInterceptor.intercept(MessageStoreInterceptor.java:197) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:138) at com.opensymphony.xwork2.DefaultActionProxy.execute(DefaultActionProxy.java:147) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562) at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:701) Caused by: com.caucho.hessian.client.HessianConnectionException: HessianProxy cannot connect to 'http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:194) at com.sun.proxy.$Proxy33.getStopWithArrivalsAndDepartures(Unknown Source) at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.springframework.remoting.caucho.HessianClientInterceptor.invoke(HessianClientInterceptor.java:222) ... 101 more Caused by: java.io.FileNotFoundException: http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service at sun.reflect.GeneratedConstructorAccessor48.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:534) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1549) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1545) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1543) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1194) at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:179) ... 106 more Caused by: java.io.FileNotFoundException: http://localhost:8080/onebusaway-transit-data-federation-webapp/remoting/transit-data-service at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397) at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:168) ... 106 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    4 times, 9 months ago
    2 times, 1 year ago
    Unknown user
    Once, 7 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    3 more bugmates