You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/12/05 05:56:13 UTC

[Bug 55846] New: Static resources Greater than 48k can not be accessed when I Config the Connector with Http11NioProtocol

https://issues.apache.org/bugzilla/show_bug.cgi?id=55846

            Bug ID: 55846
           Summary: Static resources Greater than 48k can not be accessed
                    when I Config the Connector with Http11NioProtocol
           Product: Tomcat 7
           Version: 7.0.30
          Hardware: Other
                OS: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: conquer0715@163.com

My Hardware:
    IP:168.1.100.113
    OS:AIX

My Configuration:
<Connector port="8082" protocol="org.apache.coyote.http11.Http11NioProtocol" 
               connectionTimeout="20000"
               redirectPort="8443" />
My app:
    t/
      t.html
      t.jsp


http://168.1.100.113:8082/t/t.html         Failure !
http://168.1.100.113:8082/t/t.jsp          Success !

And This problem only occurs on the AIX platform !

Thank You !

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55846] Static resources Greater than 48k can not be accessed when I Config the Connector with Http11NioProtocol

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55846

conquer0715 <co...@163.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major

--- Comment #1 from conquer0715 <co...@163.com> ---
It is very important to me.
Thanks in advance.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55846] Static resources Greater than 48k can not be accessed when I Config the Connector with Http11NioProtocol

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55846

--- Comment #6 from conquer0715 <co...@163.com> ---
Thank you, I'll try.

(In reply to Mark Thomas from comment #5)
> I've tested this on a couple of other platforms without error. This is
> looking like an AIX specific error. You'll need to raise this with IBM
> through whatever support contract you have with them. The good news is you
> have a simple to reproduce test case.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55846] Static resources Greater than 48k can not be accessed when I Config the Connector with Http11NioProtocol

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55846

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Konstantin Kolinko <kn...@gmail.com> ---
1. Please re-test with an up-to date version (7.0.42 or 7.0.47).

2. The DefaultServlet uses "sendfile" feature to send files larger than 48kb if
connector announces that it supports such a feature.

You can disable sendfile support on <Connector>.

http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
https://issues.apache.org/bugzilla/show_bug.cgi?id=55806#c1

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55846] Static resources Greater than 48k can not be accessed when I Config the Connector with Http11NioProtocol

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55846

--- Comment #4 from conquer0715 <co...@163.com> ---
Thank you very much for your reply. It is really usefull.

I re-test with an up-to date version (7.0.47) and this problem is reproducible.

And please email me if there are some ways that can make me use "sendfile"
feature on AIX platform.

Thank you.

(In reply to Konstantin Kolinko from comment #3)
> 1. Please re-test with an up-to date version (7.0.42 or 7.0.47).
> 
> 2. The DefaultServlet uses "sendfile" feature to send files larger than 48kb
> if connector announces that it supports such a feature.
> 
> You can disable sendfile support on <Connector>.
> 
> http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
> https://issues.apache.org/bugzilla/show_bug.cgi?id=55806#c1

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55846] Static resources Greater than 48k can not be accessed when I Config the Connector with Http11NioProtocol

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55846

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Mark Thomas <ma...@apache.org> ---
I've tested this on a couple of other platforms without error. This is looking
like an AIX specific error. You'll need to raise this with IBM through whatever
support contract you have with them. The good news is you have a simple to
reproduce test case.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55846] Static resources Greater than 48k can not be accessed when I Config the Connector with Http11NioProtocol

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55846

--- Comment #2 from conquer0715 <co...@163.com> ---
(In reply to conquer0715 from comment #0)
> My Hardware:
>     IP:168.1.100.113
>     OS:AIX
> 
> My Configuration:
> <Connector port="8082" protocol="org.apache.coyote.http11.Http11NioProtocol" 
>                connectionTimeout="20000"
>                redirectPort="8443" />
> My app:
>     t/
>       t.html
>       t.jsp
> 
    Note: t.html  size:216 kb
          t.jsp   size:216 kb
    Static resources Greater than 48k can not be accessed !!!
> 
> http://168.1.100.113:8082/t/t.html         Failure !
> http://168.1.100.113:8082/t/t.jsp          Success !
> 
> And This problem only occurs on the AIX platform !
> 
> Thank You !

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org