16:25:08,811 ERROR [[default]] Servlet.service() for servlet default threw exception java.io.IOException: Bad file descriptor at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:194) at java.io.BufferedInputStream.read1(BufferedInputStream.java:254) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:2046) at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1788) at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:854) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:325) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595)
15:06:49,362 ERROR [[default]] Servlet.service() for servlet default threw exception java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:332) at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381) at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370) at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89) at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:2048) at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1788) at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:854) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:325) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595)
F:\java_ex>java Test2 java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13) java.io.IOException: Bad file descriptor at java.io.FileOutputStream.write(Native Method) at Test2.main(Test2.java:13)