tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Tomcat started and localhost:8080 is loading
Date Fri, 16 Sep 2011 08:09:47 GMT
Guys,

if you want help, you are going to have to make an effort and be a bit systematic in your

answers. Phrases like "it does'nt work" and "there is communication with Tomcat" don't 
help, because they don't really mean anything to someone trying to help you.

So could you, for example, go through the checklist A & B which I indicated at the end,

item by item, and tell us what you do, and what happens (precisely) at each step.
Do not be afraid to cut-and-paste what you see on the screen at each step.
Do not interpret if you are not sure, give us facts.
If you mention a message in the logfile, paste the real message here, not what you think 
it means.
Do not send files or screenshots as attachments, the list strips them.
Do not be afraid to repeat which versions of Tomcat and Java you are using, on which 
platform, and if your browser is running on the same host as Tomcat or not. It all saves time.


Thanks.



COETZEE Philip wrote:
> I have the same issues. Everything worked fine with Tomcat 4.1 but since Tomcat 7.0 not.
I checked all below.
> 
> 
> Nothing, yet when you look at Tomcat's listening connection log file, there is communication
with Tomcat, but no page is displayed.
> 
> Philip Coetzee -Technical Manager, Southern African Region
> Oberthur Technologies, South Africa (Pty) Ltd
> 10 Cleveland Rd., Cleveland Johannesburg. South Africa
> Cell: +27 82 870 5904 l +27 11 622-0400 l Fax: +27 11 622-5874 
> email: p.coetzee@oberthur.com - www.oberthur.com
> 
>  
> -----Original Message-----
> From: beau.hutcheson@thomsonreuters.com [mailto:beau.hutcheson@thomsonreuters.com] 
> Sent: 15 September 2011 08:40 PM
> To: users@tomcat.apache.org
> Subject: RE: Tomcat started and localhost:8080 is loading
> 
> I had some issues regarding Eclipse and Tomcat.
> Try setting the IP address for your tomcat to 127.0.0.1
> Access it from your browser by the same ip and your port and you should be able to load
the tomcat welcome page.
> 
> --b
> 
> -----Original Message-----
> From: André Warnier [mailto:aw@ice-sa.com] 
> Sent: Monday, August 29, 2011 5:17 PM
> To: Tomcat Users List
> Subject: Re: Tomcat started and localhost:8080 is loading
> 
> Hi.
> 
> At the beginning, you said :
> 
> When I start startup.sh, I can load the localhost:8080 page.
> But when I start Tomcat from Eclipse, it is able to start but I'm unable to
> load the localhost page. Explorer says, "could not connect to
> localhost:8080".
> 
> 
> That seems to indicate that Tomcat is not listening on port 8080, when you start it from

> Eclipse.  I am not an Eclipse user, but from similar previous posts on this list, that

> seems to indicate that Eclipse is using another set of configuration files for Tomcat,

> than the ones that are used when you start Tomcat from startup.sh.
> 
> You did not say on which platform you are running this, but try the following to confirm
:
> 
> A)
> 1) start Tomcat with startup.sh
> 2) in a command window, enter "netstat -pan" (Linux) or "netstat -aopn" (Windows), and

> look for lines containing the word LISTEN.  You should see a line containing the port
":8080".
> That is Tomcat, and its PID is at the end of the same line.
> 3) stop Tomcat
> 
> B)
> 1) start Tomcat with Eclipse
> 2) in a command window, enter "netstat -pan" (Linux) or "netstat -aopn" (Windows), and

> look for lines containing the word LISTEN.  Do you see a line containing the port ":8080"

> ?  If not, and you see for instance a line with port ":80" instead, then it means that

> Tomcat is started differently. (And try "http://localhost:80")
> If so, search the archives of this list as to how to correct that issue.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


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


Mime
View raw message