zia mohades wrote: > On Sun, Feb 1, 2009 at 6:41 PM, André Warnier 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 Good, this last line means that there is really something listening on port 8080, which I was starting to doubt. And since it shows up only when Tomcat is started, we'll asume it is Tomcat. > >> >> (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 : >> >> > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" >> enableLookups="false" redirectPort="8443" acceptCount="100" >> connectionTimeout="20000" disableUploadTimeout="true" /> >> > > > These are all my connectionTimeout="20000" > redirectPort="8443" /> > > > port="8080" protocol="HTTP/1.1" > connectionTimeout="20000" > redirectPort="8443" /> > > > > maxThreads="150" scheme="https" secure="true" > clientAuth="false" sslProtocol="TLS" /> > Well, they cannot all be active at the same time, so I suppose you have omitted the comment signs ( ) around all except one of them, right ? > > > >> 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 > That is just not possible. Ok, nothing is impossible. Let's just say very, very improbable. And you say that when you call up http://www.google.com, then there is something ? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org