Jsf应用程序抛出java.io.IOException:java.io.IOException:连接已关闭

时间:2016-09-21 04:24:28

标签: java jsf java-ee glassfish

我在Glassfish4.1上有一个JSF2.2应用程序。它部署在2016年7月。一切都很好。但是从最近几天突然,我在日志中看到以下异常。

  
    

[2016-09-19T22:34:07.390 + 0530] [glassfish 4.1] [INFO] [] [] [tid:_ThreadID = 31 _ThreadName = Thread-8] [timeMillis:1474304647390] [levelValue:800] [ [errorAn已建立的连接被中止     主机中的软件]]

  
     

[2016-09-19T22:34:07.624 + 0530] [glassfish 4.1] [警告]   [jsf.application.resource.unable_to_serve_from_library]   [javax.enterprise.resource.webcontainer.jsf.application] [tid:   _ThreadID = 28 _ThreadName = http-listener-1(2)] [timeMillis:1474304647624] [levelValue:900] [[JSF1064:无法找到或服务   资源,jquery / jquery-plugins.js,来自库,primefaces。]]

     

[2016-09-19T22:34:07.624 + 0530] [glassfish 4.1] [警告] []   [javax.enterprise.resource.webcontainer.jsf.application] [tid:   _ThreadID = 28 _ThreadName = http-listener-1(2)] [timeMillis:1474304647624] [levelValue:900] [[

     
    

java.io.IOException:java.io.IOException:连接已关闭     org.glassfish.grizzly.http.io.OutputBuffer.blockAfterWriteIfNeeded(OutputBuffer.java:969)         在     org.glassfish.grizzly.http.io.OutputBuffer.write(OutputBuffer.java:686)         在     org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:355)         在     org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:342)         在     org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:161)         at java.nio.channels.Channels $ WritableByteChannelImpl.write(Unknown     来源)at     com.sun.faces.application.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:346)         在     javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)         在     org.primefaces.application.resource.PrimeResourceHandler.handleResourceRequest(PrimeResourceHandler.java:74)         在     javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)         在javax.faces.webapp.FacesServlet.service(FacesServlet.java:643)at     org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)         在     org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344)         在     org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)         在filters.AuthFilter.doFilter(AuthFilter.java:44)at     org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)         在     org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)         在     org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)         在     org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)         在     org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)         在     org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)         在com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)at     org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)         在     org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415)         在     org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282)         在     com.sun.enterprise.v3.services.impl.ContainerMapper $ HttpHandlerCallable.call(ContainerMapper.java:459)         在     com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)         在     org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)         在     org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)         在     org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)         在     org.glassfish.grizzly.filterchain.ExecutorResolver $ 9.execute(ExecutorResolver.java:119)         在     org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)         在     org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)         在     org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)         在     org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)         在     org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)         在     org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)         在     org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)         在     org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)         在     org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access $ 100(WorkerThreadIOStrategy.java:56)         在     org.glassfish.grizzly.strategies.WorkerThreadIOStrategy $ WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)         在     org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:565)         在     org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:545)         在java.lang.Thread.run(未知来源)引起:     java.io.IOException:连接已关闭     org.glassfish.grizzly.asyncqueue.TaskQueue.onClose(TaskQueue.java:317)         在     org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.onClose(AbstractNIOAsyncQueueWriter.java:475)         在     org.glassfish.grizzly.nio.transport.TCPNIOTransport.closeConnection(TCPNIOTransport.java:400)         在     org.glassfish.grizzly.nio.NIOConnection.doClose(NIOConnection.java:593)         在     org.glassfish.grizzly.nio.NIOConnection $ 5.run(NIOConnection.java:559)         在     org.glassfish.grizzly.nio.DefaultSelectorHandler.execute(DefaultSelectorHandler.java:234)         在     org.glassfish.grizzly.nio.NIOConnection.terminate0(NIOConnection.java:553)         在     org.glassfish.grizzly.nio.transport.TCPNIOConnection.terminate0(TCPNIOConnection.java:292)         在     org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.writeCompositeRecord(TCPNIOAsyncQueueWriter.java:169)         在     org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.write0(TCPNIOAsyncQueueWriter.java:87)         在     org.glassfish.grizzly.nio.AbstractNIOAsyncQueueWriter.processAsync(AbstractNIOAsyncQueueWriter.java:333)         在     org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:108)         在     org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)         在     org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)         在     org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)         在     org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)         在     org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.executeIoEvent(WorkerThreadIOStrategy.java:103)         在     org.glassfish.grizzly.strategies.AbstractIOStrategy.executeIoEvent(AbstractIOStrategy.java:89)         在     org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:414)         在     org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:383)         在     org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:347)         在     org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:278)         ... 3更多引起:java.io.IOException:已建立的连接     被主机上的软件中止了     sun.nio.ch.SocketDispatcher.write0(Native Method)at     sun.nio.ch.SocketDispatcher.write(未知来源)at     sun.nio.ch.IOUtil.writeFromNativeBuffer(未知来源)at     sun.nio.ch.IOUtil.write(未知来源)at     sun.nio.ch.SocketChannelImpl.write(未知来源)at     org.glassfish.grizzly.nio.transport.TCPNIOUtils.flushByteBuffer(TCPNIOUtils.java:149)         在     org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueWriter.writeCompositeRecord(TCPNIOAsyncQueueWriter.java:158)         ... 16更多]]

  
     

请咨询

0 个答案:

没有答案