Tag: spring-remoting
Spring Remoting stellt Dienstleistungen über das Internet seit Frühjahr clients verbrauchen so leicht, als wären Sie lokal instanziiert. Allgemein, Spring Remoting verwendet wird, um über eine veröffentlichte Schnittstelle über HTTP und mit Daten serialisiert, die zwischen client und server mit Java-Serialisierung.
1
Antworten
Im mit Frühjahr und im Versuch, den Zugriff auf eine HTTP-invoker remote-Dienst und die Angabe der url in der spring-http-client-config.xml. Aber ich bin immer die, die unten Ausnahme org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at
3
Antworten
Folgendes ist die situation : Habe ich eine business-Schicht, das ist ein EJB-Projekt. In der Tat, es ist nur eine EJB, die erstellt wird. Dieser EJB verantwortlich ist, setzen Sie das service-Klassen auf anderen Ebenen, ruft die
1
Antworten
Ich habe spring-Anwendung mit JavaFX client, und ich bekomme diese Ausnahme, wenn Sie überhaupt kommen-Methode aufgerufen, die läuft in einem anderen thread (für Hintergrundaufgaben) - das ist nicht das wichtigste JavaFx-thread. org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker
3
Antworten
Habe ich folgende Konfiguration für mein Spring Application Context. @Configuration public class RmiContext { @Bean public RmiProxyFactoryBean service() { RmiProxyFactoryBean rmiProxy = new RmiProxyFactoryBean(); rmiProxy.setServiceUrl("rmi://127.0.1.1:1099/Service"); rmiProxy.setServiceInterface(Service.class); return rmiProxy; } } @Configuration public class LocalContext { @Bean public
1
Antworten
Kann jemand mir Helfen, wie lösen wir das folgende problem. nested exception is org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 10000 ms at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:211) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy19.isEmployeeToken(Unknown Source)