On Sun, Feb 1, 2009 at 6:41 PM, André Warnier <a...@ice-sa.com> wrote:
> zia mohades wrote: > [...] > >> but again, I can successfully access http://localhost:8080 and blank >> for >> http://localhost:8080/mms_test. so the log files are not very >> informative. >> >> 2) I have downloaded LiveHttpHeaders plugin and followed your >> instructions. >> Believe it or not when I access http://localhost:8080/mms_test or >> http://localhost:8080 or http://localhost:8080/mms_test , and when i >> click >> on "Live http headers" form tools , the headers are empty. However when I >> access any other sites , like google , the headers has info in it( as it >> is >> expected) >> >> Here are answers : > > You are right, I don't believe it. > I do not believe the combination above : that you can succesfully access > http://localhost:8080, but do not see headers in LiveHttpHeaders when you > do that. Something in that combination is wrong. > > So, do exactly the following : > > 1) Tell me again : > - what is your OS ? > I am using Ubuntu > - what version of Tomcat is this ? I am using Apache Tomcat Version 6.0.18 > > - where did you get it from ? > I used to the synaptic manager in ubuntu to install it > > 2) > - stop Tomcat > - in a command window, enter : netstat -tan | grep LISTEN tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN > > > - start Tomcat > > tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp6 0 0 127.0.0.1:8005 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN > > > (Yes, the same 2 times. Once with Tomcat stopped, once with Tomcat > started.) > > 3) Then, also copy here the portion of your tomcat conf/server.xml which > looks like this : > > <Connector port="xxxx" maxHttpHeaderSize="8192" > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > enableLookups="false" redirectPort="8443" acceptCount="100" > connectionTimeout="20000" disableUploadTimeout="true" /> > These are all my <connector port : <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> <!-- A "Connector" using the shared thread pool--> <Connector executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> <!-- Define a SSL HTTP/1.1 Connector on port 8443 This connector uses the JSSE configuration, when using APR, the connector should be using the OpenSSL style configuration described in the APR documentation --> <Connector port="8080" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" /> > > 4) > - close Firefox > - re-open Firefox > - click on Tools..LiveHttpHeader. *Leave that window open*, and make sure > that the checkbox "capture headers" is checked. > - go back to the main browser window > - enter http://localhost:8080 > - go back to the LiveHttpHeaders window > - what is in it ? (you can cut and paste it here) Absolutely nothing: :( blank > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >