Salut,
:-) Just add:
-Dcom.sun.enterprise.server.ss.ASQuickStartup=false
and the problem will magically disappear. Search on that list why you
*always* need to add that property :-) Fortunately for my finger (as I
typed over and over this property), GlassFish 2.1 has is by default,
e.g. ASQuickStartup is tuned off :-)
A+
-- Jeanfrancois
glassfish_at_javadesktop.org wrote:
> Hi again,
>
> For some reason the "Invalid Chunk Header" exception has now become a
> SocketTimeoutException.
>
> I frequently receive this exception after adding -Dcom.sun.enterprise.web.connector.useCoyoteConnector=true
> I never received this before. You have been very helpful and I hope you still have time to try and help me out. I appriciate it very much.
>
> [#|2009-02-12T07:57:50.557+0000|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=18;_ThreadName=http9200-Processor1;_RequestID=d43d7f77-8950-42b1-a6fc-69e87139680d;|
> java.net.SocketTimeoutException: Read timed out
> at com.sun.enterprise.server.ss.provider.ASInputStream.waitForSelect(ASInputStream.java:154)
> at com.sun.enterprise.server.ss.provider.ASInputStream.read(ASInputStream.java:112)
> at com.sun.enterprise.server.ss.provider.ASInputStream.read(ASInputStream.java:104)
> at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:743)
> at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:772)
> at org.apache.coyote.http11.filters.ChunkedInputFilter.readBytes(ChunkedInputFilter.java:250)
> at org.apache.coyote.http11.filters.ChunkedInputFilter.parseChunkHeader(ChunkedInputFilter.java:280)
> at org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(ChunkedInputFilter.java:154)
> at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:702)
> at org.apache.coyote.Request.doRead(Request.java:465)
> at org.apache.coyote.tomcat5.InputBuffer.realReadBytes(InputBuffer.java:326)
> at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:362)
> at org.apache.coyote.tomcat5.InputBuffer.readByte(InputBuffer.java:335)
> at org.apache.coyote.tomcat5.CoyoteInputStream.read(CoyoteInputStream.java:143)
> at java.io.DataInputStream.readShort(DataInputStream.java:295)
> at mmsmidletapiif.WebToMobileServlet.doPost(WebToMobileServlet.java:123)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
> at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:719)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:684)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:561)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
> at java.lang.Thread.run(Thread.java:619)
> |#]
> [Message sent by forum member 'frull' (frull)]
>
> http://forums.java.net/jive/thread.jspa?messageID=331446
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>