java - EOF / Invalid function argument (errno:4022) with Jetty 9 -


couldnt find whether there configuration static content. not downloading js file, hope because of larger in size when compare others.

enter image description here

jetty version : 9.2.10
os : hp nonstop

i can see following errors in jetty debug

debug org.eclipse.jetty.io.writeflusher - write exception org.eclipse.jetty.io.eofexception: null @ org.eclipse.jetty.io.channelendpoint.flush(channelendpoint.java:192) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.io.writeflusher.flush(writeflusher.java:408) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.io.writeflusher.write(writeflusher.java:302) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.io.abstractendpoint.write(abstractendpoint.java:129) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.httpconnection$sendcallback.process(httpconnection.java:676) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.util.iteratingcallback.processing(iteratingcallback.java:246) ~[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.util.iteratingcallback.iterate(iteratingcallback.java:208) ~[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.httpconnection.send(httpconnection.java:471) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.httpchannel.sendresponse(httpchannel.java:763) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.httpchannel.write(httpchannel.java:801) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.httpoutput.write(httpoutput.java:142) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.httpoutput.sendcontent(httpoutput.java:583) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.httpoutput.sendcontent(httpoutput.java:669) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.httpoutput.sendcontent(httpoutput.java:571) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.servlet.defaultservlet.senddata(defaultservlet.java:955) ~[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.servlet.defaultservlet.doget(defaultservlet.java:533) ~[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310] @ javax.servlet.http.httpservlet.service(httpservlet.java:687) ~[servlet-api-3.1.jar:3.1.0] @ javax.servlet.http.httpservlet.service(httpservlet.java:790) ~[servlet-api-3.1.jar:3.1.0] @ org.eclipse.jetty.servlet.servletholder.handle(servletholder.java:808) ~[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.servlet.servlethandler.dohandle(servlethandler.java:587) ~[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:143) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.security.securityhandler.handle(securityhandler.java:577) ~[jetty-security-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.session.sessionhandler.dohandle(sessionhandler.java:223) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.handler.contexthandler.dohandle(contexthandler.java:1127) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.servlet.servlethandler.doscope(servlethandler.java:515) ~[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.session.sessionhandler.doscope(sessionhandler.java:185) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.handler.contexthandler.doscope(contexthandler.java:1061) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:141) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.handler.contexthandlercollection.handle(contexthandlercollection.java:215) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.handler.handlercollection.handle(handlercollection.java:110) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.handler.handlerwrapper.handle(handlerwrapper.java:97) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.server.handle(server.java:497) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.httpchannel.handle(httpchannel.java:310) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.server.httpconnection.onfillable(httpconnection.java:257) ~[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.io.abstractconnection$2.run(abstractconnection.java:540) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.util.thread.queuedthreadpool.runjob(queuedthreadpool.java:635) ~[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310] @ org.eclipse.jetty.util.thread.queuedthreadpool$3.run(queuedthreadpool.java:555) ~[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310] @ java.lang.thread.run(thread.java:724) ~[na:1.7.0_25]  caused by: java.io.ioexception: invalid function argument (errno:4022) @ sun.nio.ch.filedispatcherimpl.writev0(native method) ~[na:1.7.0_25] @ sun.nio.ch.socketdispatcher.writev(socketdispatcher.java:51) ~[na:1.7.0_25] @ sun.nio.ch.ioutil.write(ioutil.java:149) ~[na:1.7.0_25] @ sun.nio.ch.socketchannelimpl.write(socketchannelimpl.java:512) ~[na:1.7.0_25] @ org.eclipse.jetty.io.channelendpoint.flush(channelendpoint.java:172) ~[jetty-io-9.2.10.v20150310.jar:9.2.10.v20150310] ... 37 common frames omitted 

you mean jetty uploading or sending content, not downloading. evident stacktrace.

the main problem having connection terminated eof when attempting flush out connection.

however, more fundamental problem having java.io.ioexception: invalid function argument (errno:4022) isn't jetty can fix or work around. os level error indicating either inability use file descriptor network connection, or file system error indicating inability use file descriptor access file on disk.

either way should check os, filesystem, health of war file, filesystem temp directory, , consider upgrade of java jvm (1.7.0_25 expired in nov 15, 2013)


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -