spring-remoting

Spring: Properly setup @ComponentScan

為{幸葍}努か 提交于 2019-12-12 10:48:33
问题 I have following set up for my 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 Controller Controller() { return new ControllerImpl(); } } @Configuration @Import({RmiContext.class, LocalContext

Getting ConnectionTimeoutException with the host did not accept the connection within timeout

旧街凉风 提交于 2019-12-12 08:22:34
问题 Can Some one Help me, how we can solve the following 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

spring hessian client socket connection reset

╄→гoц情女王★ 提交于 2019-12-11 15:04:45
问题 I am using spring 3.1.0, com.springsource.com.caucho-3.2.1.jar and tomcat-6.0.33 both sides (client/server). All the remote service calls are working fine without any issues except long time taking services(more then 9/10 minutes). I am using Spring-Security to protect remote calls. I have created a new remote service that takes approx 30 minutes to make a response to client in real schenerio. The service works perfectly if time taken of execution is less then 9.xx/10 minutes but after

Spring Remoting Serialization and De-serialization

折月煮酒 提交于 2019-12-08 03:31:14
问题 We have been using Spring Remoting in our project for sometime. It is used with some other systems to access our web-services. We are currently evolving in terms of what parameters web service takes; but at the same time we are trying to be independent of our consumers. So, currently my question is around how serialization and deserialization works in spring remoting. Here are the details: I have a web-service exposed through spring remoting which has following parameters in a class name age

Getting ConnectionTimeoutException with the host did not accept the connection within timeout

浪子不回头ぞ 提交于 2019-12-04 00:44:39
Can Some one Help me, how we can solve the following 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