Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/396.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
嵌套异常是java.net.SocketException:下载大型应用程序时重置连接_Java_Spring_Nolio - Fatal编程技术网

嵌套异常是java.net.SocketException:下载大型应用程序时重置连接

嵌套异常是java.net.SocketException:下载大型应用程序时重置连接,java,spring,nolio,Java,Spring,Nolio,Im获取“嵌套异常为java.net.SocketException:连接重置” 导出应用程序时,导出持续时间超过五分钟。客户端弹出错误消息,但在服务器端,导出继续并成功完成。将ASAP与应用程序服务器的直接地址连接不会产生问题,只有通过F5 loadbalancer使用别名地址时,我们才需要更新任何别名地址来纠正此问题 [![在此处输入图像描述][1][1] SwingWorker-pool-18484408-thread-37] ERROR (ExportForm.java:249) - e

Im获取“嵌套异常为java.net.SocketException:连接重置”

导出应用程序时,导出持续时间超过五分钟。客户端弹出错误消息,但在服务器端,导出继续并成功完成。将ASAP与应用程序服务器的直接地址连接不会产生问题,只有通过F5 loadbalancer使用别名地址时,我们才需要更新任何别名地址来纠正此问题

[![在此处输入图像描述][1][1]

SwingWorker-pool-18484408-thread-37] ERROR (ExportForm.java:249) - error exporting element Generic JBoss to file C:\Program Files (x86)\Mozilla Firefox\export.dat Could not access HTTP invoker remote service at [http://nolio-test:80/datamanagement/remoting/ExportImportService]; nested exception is java.net.SocketException: Connection reset
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://nolio-test:80/datamanagement/remoting/ExportImportService]; nested exception is java.net.SocketException: Connection reset
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:212)
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:145)
    at com.nolio.platform.server.dataservices.services.auth.NolioHttpInvokerProxyFactoryBean.invoke(NolioHttpInvokerProxyFactoryBean.java:14)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    at com.sun.proxy.$Proxy63.exportApplication(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
    at com.nolio.platform.aspects.ProfilingAspect.invoke(ProfilingAspect.java:43)
    at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
    at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
    at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    at com.sun.proxy.$Proxy64.exportApplication(Unknown Source)
    at com.nolio.platform.shared.app.view.impexp.ExportForm$4.exportElement(ExportForm.java:311)
    at com.nolio.platform.shared.app.view.impexp.ExportForm$4.doInBackground(ExportForm.java:246)
    at com.jidesoft.utils.SwingWorker$1.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at com.jidesoft.utils.SwingWorker.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
    at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
    at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1110)
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1391)
    at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1824)
    at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1584)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:393)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:168)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:393)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
    at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.executePostMethod(CommonsHttpInvokerRequestExecutor.java:205)
    at org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor.doExecuteRequest(CommonsHttpInvokerRequestExecutor.java:140)
    at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:136)
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:192)
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:174)
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:142)
    ... 32 more
2015-08-17 13:16:19,162 [RequestsDispatcher-1-thread-4] DEBUG (JobTracker.java:101) - Job Tracker cycle: 0 jobs to track.


  [1]: http://i.stack.imgur.com/7fGNb.jpg

听起来客户端正在超时。我觉得服务器正在忽略错误代码。一些服务器端代码会更好。您是否尝试为ASAP进程提供更多内存?您可以通过编辑ASAP启动器jsp文件来实现这一点。