org.springframework.remoting.RemoteAccessException: Cannot access HTTP invoker remote service at [http://localhost:7001/mywebcontext/test]; nested exception is java.net.SocketException: Software caused connection abort: recv failed
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at weblogic.net.http.MessageHeader.isHTTP(MessageHeader.java:220)
at weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:143)
at weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:404)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:337)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:31)
at org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor.readResponseBody(SimpleHttpInvokerRequestExecutor.java:144)
at org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor.doExecuteRequest(SimpleHttpInvokerRequestExecutor.java:65)
at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:68)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:146)
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:120)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy1.CostFeeIntegrationForOuter(Unknown Source)
at com.westerasoft.kdcerp.sys.cost.CostInterface.useCost(CostInterface.java:19)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)我得服务段配置<bean id="testAccount" parent="baseTxService"> 
<property name="target">
<bean class="com..service.impl.testAccountImpl"></bean>
</property>
</bean>
<bean name="/test" class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
<property name="service"><ref bean="testAccount"/></property>
<property name="serviceInterface">
<value>com.service.testAccount</value>
</property>
</bean>客户端连接:<bean id="testAccountImpl" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
<property name="serviceUrl">
<value>http://localhost:7001/mywebcontext/test</value>
</property>
<property name="serviceInterface">
<value>com.service.testAccount</value>
</property>
</bean>调用代码:
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("/test.xml");
Object obj = ctx.getBean("testAccountImpl");
(testAccount)obj.Mytest(); //testAccount中定义的方法。
这时候就抛出开始的异常了,各位大侠,帮忙看看,感激不尽!!!