glassfish 4 - java.util.concurrent.TimeoutException how to solve? -


when display image using com.jsos.image.imageservlet glassfish 4.0 server fire error please give me solution.

this working in java 6 , glassfish 3

my stacktrash :

   [2014-03-07t08:32:38.465-0500] [glassfish 4.0] [warning] [] [javax.enterprise.web] [tid: _threadid=20 _threadname=http-listener-1(2)] [timemillis: 1394199158465] [levelvalue: 900] [[       standardwrappervalve[fileservlet]: servlet.service() servlet fileservlet threw exception     java.io.ioexception: java.util.concurrent.timeoutexception         @ org.glassfish.grizzly.utils.exceptions.makeioexception(exceptions.java:81)         @ org.glassfish.grizzly.http.io.outputbuffer.blockafterwriteifneeded(outputbuffer.java:958)         @ org.glassfish.grizzly.http.io.outputbuffer.write(outputbuffer.java:682)         @ 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)         @ utilities.mobilevideoservlet.copy(mobilevideoservlet.java:401)         @ utilities.mobilevideoservlet.processrequest(mobilevideoservlet.java:298)         @ utilities.mobilevideoservlet.doget(mobilevideoservlet.java:74)         @ javax.servlet.http.httpservlet.service(httpservlet.java:687)         @ javax.servlet.http.httpservlet.service(httpservlet.java:790)         @ org.apache.catalina.core.standardwrapper.service(standardwrapper.java:1682)         @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:318)         @ 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)         @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:174)         @ org.apache.catalina.connector.coyoteadapter.doservice(coyoteadapter.java:357)         @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:260)         @ com.sun.enterprise.v3.services.impl.containermapper.service(containermapper.java:188)         @ org.glassfish.grizzly.http.server.httphandler.runservice(httphandler.java:191)         @ org.glassfish.grizzly.http.server.httphandler.dohandle(httphandler.java:168)         @ org.glassfish.grizzly.http.server.httpserverfilter.handleread(httpserverfilter.java:189)         @ org.glassfish.grizzly.filterchain.executorresolver$9.execute(executorresolver.java:119)         @ org.glassfish.grizzly.filterchain.defaultfilterchain.executefilter(defaultfilterchain.java:288)         @ org.glassfish.grizzly.filterchain.defaultfilterchain.executechainpart(defaultfilterchain.java:206)         @ org.glassfish.grizzly.filterchain.defaultfilterchain.execute(defaultfilterchain.java:136)         @ org.glassfish.grizzly.filterchain.defaultfilterchain.process(defaultfilterchain.java:114)         @ org.glassfish.grizzly.processorexecutor.execute(processorexecutor.java:77)         @ org.glassfish.grizzly.nio.transport.tcpniotransport.fireioevent(tcpniotransport.java:838)         @ org.glassfish.grizzly.strategies.abstractiostrategy.fireioevent(abstractiostrategy.java:113)         @ org.glassfish.grizzly.strategies.workerthreadiostrategy.run0(workerthreadiostrategy.java:115)         @ org.glassfish.grizzly.strategies.workerthreadiostrategy.access$100(workerthreadiostrategy.java:55)         @ org.glassfish.grizzly.strategies.workerthreadiostrategy$workerthreadrunnable.run(workerthreadiostrategy.java:135)         @ org.glassfish.grizzly.threadpool.abstractthreadpool$worker.dowork(abstractthreadpool.java:564)         @ org.glassfish.grizzly.threadpool.abstractthreadpool$worker.run(abstractthreadpool.java:544)         @ java.lang.thread.run(thread.java:744)     caused by: java.util.concurrent.timeoutexception         @ java.util.concurrent.futuretask.get(futuretask.java:201)         @ org.glassfish.grizzly.http.io.outputbuffer.blockafterwriteifneeded(outputbuffer.java:951)         ... 36 more     ]] 

this problem has been fixed in latest version of glassfish, can see here.

update glassfish 4.0.1 in turn may solve problem. can download updated glassfish here.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -