tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Apache Tomcat 6.0 loads blank page
Date Mon, 02 Feb 2009 07:51:59 GMT
zia mohades wrote:
> On Sun, Feb 1, 2009 at 6:41 PM, André Warnier <aw@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

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 :
>>
>> <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" />
> 

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


Mime
View raw message