Wesley Wu wrote:
> Without this bug fixed, 4.0.2 can't be used in production environment.
>
> I use two machines with two resin as a load balance cluster, one with
> a web-tier and a app-tier the other only a app-tier.
>   

Can you turn on "finer" logging for both machines and send the protocol 
part of the logs? I can't reproduce the issue here; posts are going 
through fine. So there must be some difference in the request or the 
reading that's triggering the problem.

-- Scott
> Every file upload block it.
>
> 2009/11/30 Wesley Wu <wumen...@gmail.com>
>   
>> This bug should be marked as "block" because it prevents resin load-balancer 
>> and third-party web server integration from working properly.
>> It seems caucho QA team did not pay much attention to Hmux stuff, because I 
>> suffered a lot from it...
>>
>> -Wesley
>>
>> 2009/11/29 Alex <a...@caucho.com>
>>     
>>>> Multi-Part request error when using HmuxRequest.
>>>>         
>>> Thanks Wesley,
>>>
>>> I reported a bug: http://bugs.caucho.com/view.php?id=3790
>>>
>>> Alex
>>>       
>>>> My resin 4.0.2 was behind an apache 2.1.x using CauchoRequest to forward 
>>>> all request for a virtual host to resin.
>>>>
>>>> If I use 8080 port without apache, everything goes fine.
>>>>
>>>> 2009-11-28 13:14:28.916 ERROR [server-127.0.0.1:6800-5] 
>>>> c.b.c.s.MultiPartRequest (103) - Unable to parse request
>>>> org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: 
>>>> Processing of multipart/form-data request failed. Stream ended unexpectedly
>>>>       at 
>>>> org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367)
>>>>  [FileUploadBase.class:1.2.1]
>>>>       at 
>>>> com.buysou.cms.servlet.JakartaMultiPartRequest.parse(JakartaMultiPartRequest.java:61)
>>>>  [classes:na]
>>>>       at 
>>>> com.buysou.cms.servlet.MultiPartRequestWrapper.<init>(MultiPartRequestWrapper.java:47)
>>>>  [classes:na]
>>>>       at 
>>>> com.buysou.cms.servlet.CmsPageFilter.wrapRequest(CmsPageFilter.java:268) 
>>>> [classes:na]
>>>>       at 
>>>> com.buysou.cms.servlet.CmsPageFilter.doFilter(CmsPageFilter.java:138) 
>>>> [classes:na]
>>>>       at 
>>>> com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:88)
>>>>  [resin.jar:4.0.2]
>>>>       at 
>>>> com.buysou.servlet.filters.encoding.EnhancedEncodingFilter.doFilter(EnhancedEncodingFilter.java:85)
>>>>  [classes:na]
>>>>       at 
>>>> com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:88)
>>>>  [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
>>>>  [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:169)
>>>>  [pro.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
>>>>  [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
>>>>  [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.hmux.HmuxRequest.handleInvocation(HmuxRequest.java:475) 
>>>> [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.hmux.HmuxRequest.handleRequestImpl(HmuxRequest.java:394) 
>>>> [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:357) 
>>>> [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:619)
>>>>  [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:556)
>>>>  [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.port.TcpConnection$AcceptTask.doTask(TcpConnection.java:1194)
>>>>  [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1127)
>>>>  [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1158)
>>>>  [resin.jar:4.0.2]
>>>>       at 
>>>> com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901) 
>>>> [resin.jar:4.0.2]
>>>>       at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866) 
>>>> [resin.jar:4.0.2]
>>>> Caused by: 
>>>> org.apache.commons.fileupload.MultipartStream$MalformedStreamException: 
>>>> Stream ended unexpectedly
>>>>       at 
>>>> org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:983)
>>>>  [MultipartStream$ItemInputStream.class:1.2.1]
>>>>       at 
>>>> org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:887)
>>>>  [MultipartStream$ItemInputStream.class:1.2.1]
>>>>       at java.io.InputStream.read(InputStream.java:85) [na:1.6.0_14]
>>>>       at org.apache.commons.fileupload.util.Streams.copy(Streams.java:94) 
>>>> [Streams.class:1.2.1]
>>>>       at org.apache.commons.fileupload.util.Streams.copy(Streams.java:64) 
>>>> [Streams.class:1.2.1]
>>>>       at 
>>>> org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:362)
>>>>  [FileUploadBase.class:1.2.1]
>>>>       ... 21 common frames omitted
>>>>
>>>>         
>>>
>>>
>>> _______________________________________________
>>> resin-interest mailing list
>>> resin-interest@caucho.com
>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>>       
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>   




_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to