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.

konnte nicht auf HTTP-invoker remote-service

Anzahl der Antworten 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

Last spring-Kontext in einem EJB-basierten Anwendung

Anzahl der Antworten 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

org.springframework.remoting.RemoteAccessException: Konnte nicht auf HTTP-invoker remote-service-tritt beim starten von Aufgaben aus anbother thread

Anzahl der Antworten 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

Frühjahr: Richtig einrichten @ComponentScan

Anzahl der Antworten 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

Immer ConnectionTimeoutException mit dem host nicht akzeptieren, wird die Verbindung innerhalb von timeout

Anzahl der Antworten 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)