Hi All,

My config ..

tomcat 5.5
jdk1.5._06
apr 1.2.2
tomcat-jni 1.1.0

server.xml
 <Connector port="80" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               compression="on"
               compressionMinSize="2048"
               noCompressionUserAgents="gozilla, traviata"
               compressableMimeType="text/html,text/xml"
               protocol="org.apache.coyote.http11.Http11AprProtocol"
               connectionTimeout="20000" disableUploadTimeout="true" />

The problem is this, I have a jsp page with will result in about 14KB worth
of HTML..

with compression off .. this page doesnt not load, i keep getting a could
not load page .. if i create a html file representing the output of the jsp
... this is what i get when using wget ..

FOR THE HTML FILE -------------------------------------------
wget www.mydomain.com/foo.html
--22:32:38--  
http://www.mydomain.com:80/foo.html<http://www.mydomain.com/foo.html>
Connecting to www.mydomain.com:80 <http://www.mydomain.com/>... connected!
HTTP request sent, awaiting response... 200 OK
Length: 13,202 [text/html]
0K -> .......... ..                                          [ 97%]
22:32:59 ( 641.20 B/s) - Read error at byte 12824/13202 (No such file or
directory). Retrying.

--22:32:59--  
http://www.mydomain.com:80/foo.html<http://www.mydomain.com/foo.html>
  (try: 2) =>
Connecting to www.mydomain.com:80 <http://www.mydomain.com/>... connected!
HTTP request sent, awaiting response... 206 Partial Content
Length: 13,202 (378 to go) [text/html]

    0K -> ,,,,,,,,,, ,,                                          [100%]

22:32:59 (369.14 KB/s) - `foo.html.3' saved [13202/13202]

FOR THE JSP FILE


C:\wget>wget www.mydomain.com/p.jsp?id=4
--22:36:28--  
http://www.mydomain.com:80/p.jsp?id=4<http://www.mydomain.com/p.jsp?id=4>
           => [EMAIL PROTECTED]' <[EMAIL PROTECTED]'>
Connecting to www.mydomain.com:80 <http://www.mydomain.com/>... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    0K -> .......... ..

22:36:48 (639.90 B/s) - Read error at byte 12798 (No such file or
directory).Ret
rying.

--22:36:48--  
http://www.mydomain.com:80/p.jsp?id=4<http://www.mydomain.com/p.jsp?id=4>
  (try: 2) => [EMAIL PROTECTED]' <[EMAIL PROTECTED]'>
Connecting to www.mydomain.com:80 <http://www.mydomain.com/>... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    0K -> .......... ..

22:37:09 (639.90 B/s) - Read error at byte 12798 (No such file or
directory).Ret
rying.

--22:37:09--  
http://www.mydomain.com:80/p.jsp?id=4<http://www.mydomain.com/postanswer.jsp?id=4>
  (try: 3) => [EMAIL PROTECTED]' <[EMAIL PROTECTED]'>
Connecting to www.mydomain.com:80 <http://www.mydomain.com/>... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    0K -> .......... ..

22:37:29 (639.90 B/s) - Read error at byte 12798 (No such file or
directory).Ret
rying.

--22:37:29--  
http://www.mydomain.com:80/p.jsp?id=4<http://www.mydomain.com/postanswer.jsp?id=4>
  (try: 4) => [EMAIL PROTECTED]' <[EMAIL PROTECTED]'>
Connecting to www.mydomain.com:80 <http://www.mydomain.com/>... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

JSP WGET END

For the JSP file it keeps looping ..

I have set no-cache for the jsp page and the page buffer is 32 kb ...

Any ideas on what could be going wrong .. like i said .. it works fine with
compression on ...

Cheers

Mo

Reply via email to