RE: Tomcat started and localhost:8080 is loading

2011-09-16 Thread COETZEE Philip
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.coet...@oberthur.com - www.oberthur.com

 
-Original Message-
From: beau.hutche...@thomsonreuters.com 
[mailto:beau.hutche...@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:a...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


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


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



Re: Tomcat started and localhost:8080 is loading

2011-09-16 Thread André Warnier

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.coet...@oberthur.com - www.oberthur.com


 
-Original Message-
From: beau.hutche...@thomsonreuters.com [mailto:beau.hutche...@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:a...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


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


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





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



RE: Tomcat started and localhost:8080 is loading

2011-09-15 Thread beau.hutcheson
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:a...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


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



Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread Priya Ram Prasad
Hi,

I don't think there is any problem with the tomcat.

Did you add the plugin properly and started the eclipse with -clean option ?

Check your Tomcat version and tomcat home directory in eclipse preference.

Also whether your eclipse's installed JRE is pointing to jdk directory.

Thanks,
Priya

On Sun, Aug 28, 2011 at 10:53 PM, Pratibha S psund...@gmail.com wrote:

 Hi,

 I'm using Tomcat 7.0 and Eclipse Indigo. I'm using Mongrel plug-in for
 Tomcat.

 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.
 From here, (

 http://stackoverflow.com/questions/2280064/tomcat-started-in-eclipse-but-unable-to-connect-to-link-to-http-localhost8085
 )
 I changed the settings of server to use Tomcat Installation rather than
 from
 workspace. But still I'm unable to load the page. My Catalina.out is not
 showing any errors (it is given below)

 Please guide me.

 -
 INFO: Starting service Catalina
 Aug 28, 2011 8:38:48 PM org.apache.catalina.core.StandardEngine
 startInternal
 INFO: Starting Servlet Engine: Apache Tomcat/7.0.20
 Aug 28, 2011 8:38:48 PM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deploying web application directory manager
 Aug 28, 2011 8:38:48 PM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deploying web application directory host-manager
 Aug 28, 2011 8:38:49 PM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deploying web application directory ROOT
 Aug 28, 2011 8:38:49 PM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deploying web application directory examples
 Aug 28, 2011 8:38:49 PM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deploying web application directory docs
 Aug 28, 2011 8:38:49 PM org.apache.coyote.AbstractProtocol start
 INFO: Starting ProtocolHandler [http-bio-8080]
 Aug 28, 2011 8:38:49 PM org.apache.coyote.AbstractProtocol start
 INFO: Starting ProtocolHandler [ajp-bio-8009]
 Aug 28, 2011 8:38:49 PM org.apache.catalina.startup.Catalina start
 INFO: Server startup in 1667 ms
 Aug 28, 2011 11:02:37 PM org.apache.catalina.core.StandardServer await
 INFO: A valid shutdown command was received via the shutdown port. Stopping
 the Server instance.
 Aug 28, 2011 11:02:37 PM org.apache.coyote.AbstractProtocol pause
 INFO: Pausing ProtocolHandler [http-bio-8080]
 Aug 28, 2011 11:02:39 PM org.apache.coyote.AbstractProtocol pause
 INFO: Pausing ProtocolHandler [ajp-bio-8009]
 Aug 28, 2011 11:02:40 PM org.apache.catalina.core.StandardService
 stopInternal
 INFO: Stopping service Catalina
 Aug 28, 2011 11:02:40 PM org.apache.coyote.AbstractProtocol stop
 INFO: Stopping ProtocolHandler [http-bio-8080]
 Aug 28, 2011 11:02:40 PM org.apache.coyote.AbstractProtocol stop
 INFO: Stopping ProtocolHandler [ajp-bio-8009]
 Aug 28, 2011 11:02:40 PM org.apache.coyote.AbstractProtocol destroy
 INFO: Destroying ProtocolHandler [http-bio-8080]
 Aug 28, 2011 11:02:40 PM org.apache.coyote.AbstractProtocol destroy
 INFO: Destroying ProtocolHandler [ajp-bio-8009]
 ---



Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread Priya Ram Prasad
Hi,

I don't think there is any problem with the tomcat.

Did you add the plugin properly and started the eclipse with -clean option ?

Check your Tomcat version and tomcat home directory in eclipse preference.

Also whether your eclipse's installed JRE is pointing to jdk directory.

Thanks,
Priya


Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread Pratibha S
Hi Priya,

Thank you for the response. I started eclipse with -clean option. error
remains the same.
Tomcat version and home directory are configured in mongrel settings. How do
I check plug-in is installed properly or not?

Installed JRE is poiting to jdk directory.

Regards,

On Mon, Aug 29, 2011 at 12:09 PM, Priya Ram Prasad priya@gmail.comwrote:

 Hi,

 I don't think there is any problem with the tomcat.

 Did you add the plugin properly and started the eclipse with -clean option
 ?

 Check your Tomcat version and tomcat home directory in eclipse preference.

 Also whether your eclipse's installed JRE is pointing to jdk directory.

 Thanks,
 Priya



Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread Priya Ram Prasad
Hi,

Add the plugin to eclipse\plugins and then run eclipse with -clean option.

Can you send the error trace when you open localhost:8080 page ?

thanks

On Mon, Aug 29, 2011 at 1:32 PM, Pratibha S psund...@gmail.com wrote:

 Hi Priya,

 Thank you for the response. I started eclipse with -clean option. error
 remains the same.
 Tomcat version and home directory are configured in mongrel settings. How
 do
 I check plug-in is installed properly or not?

 Installed JRE is poiting to jdk directory.

 Regards,

 On Mon, Aug 29, 2011 at 12:09 PM, Priya Ram Prasad priya@gmail.com
 wrote:

  Hi,
 
  I don't think there is any problem with the tomcat.
 
  Did you add the plugin properly and started the eclipse with -clean
 option
  ?
 
  Check your Tomcat version and tomcat home directory in eclipse
 preference.
 
  Also whether your eclipse's installed JRE is pointing to jdk directory.
 
  Thanks,
  Priya
 



Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread Pratibha S
The plug-in is already in the plugins directory. I started eclipse with
-clean option.

Sorry for a naive question.The eclipse console does not show any error. Is
error trace, the file localhost_access_log.date.txt? If yes, please find
the entry below:


127.0.0.1 - - [29/Aug/2011:00:21:28 -0400] GET / HTTP/1.1 404 -
0:0:0:0:0:0:0:1 - - [29/Aug/2011:00:21:38 -0400] GET /manager HTTP/1.1 404
-
0:0:0:0:0:0:0:1 - - [29/Aug/2011:00:21:47 -0400] GET /manager HTTP/1.1 404
-
0:0:0:0:0:0:0:1 - - [29/Aug/2011:00:21:55 -0400] GET /manager/status
HTTP/1.1 404 -
0:0:0:0:0:0:0:1 - - [29/Aug/2011:00:22:12 -0400] GET /manager/status
HTTP/1.1 404 -
0:0:0:0:0:0:0:1 - - [29/Aug/2011:00:22:19 -0400] GET / HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:00:33:20 -0400] GET / HTTP/1.1 404 -
0:0:0:0:0:0:0:1 - - [29/Aug/2011:00:33:34 -0400] GET / HTTP/1.1 404 -
0:0:0:0:0:0:0:1 - - [29/Aug/2011:00:33:43 -0400] GET /manager HTTP/1.1 404
-
0:0:0:0:0:0:0:1 - - [29/Aug/2011:00:33:49 -0400] GET /manager/status
HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:00:34:22 -0400] GET
/RecommendationApp/registration.jsp HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:00:34:23 -0400] GET /favicon.ico HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:13:49:13 -0400] GET / HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:13:49:39 -0400] GET
/RecommendationApp/registration.jsp HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:13:49:42 -0400] GET /favicon.ico HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:14:23:53 -0400] GET / HTTP/1.1 404 -
0:0:0:0:0:0:0:1 - - [29/Aug/2011:14:24:42 -0400] GET /manager HTTP/1.1 404
-
0:0:0:0:0:0:0:1 - - [29/Aug/2011:14:24:50 -0400] GET / HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:14:25:10 -0400] GET
/RecommendationApp/registration.jsp HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:14:25:11 -0400] GET /favicon.ico HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:14:50:39 -0400] GET / HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:14:53:28 -0400] GET / HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:14:54:39 -0400] GET / HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:14:54:55 -0400] GET
/RecommendationApp/registration.jsp HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:14:54:55 -0400] GET /favicon.ico HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:15:09:47 -0400] GET / HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:15:10:03 -0400] GET
/RecommendationApp/registration.jsp HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:15:10:04 -0400] GET /favicon.ico HTTP/1.1 404 -
0:0:0:0:0:0:0:1 - - [29/Aug/2011:15:10:35 -0400] GET /manager HTTP/1.1 404
-
0:0:0:0:0:0:0:1 - - [29/Aug/2011:15:10:40 -0400] GET / HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:15:15:54 -0400] GET / HTTP/1.1 404 -
0:0:0:0:0:0:0:1 - - [29/Aug/2011:15:17:37 -0400] GET / HTTP/1.1 404 -
0:0:0:0:0:0:0:1 - - [29/Aug/2011:15:17:42 -0400] GET /manager HTTP/1.1 404
-
127.0.0.1 - - [29/Aug/2011:16:26:26 -0400] GET / HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:16:26:27 -0400] GET
/RecommendationApp/registration.jsp HTTP/1.1 404 -
127.0.0.1 - - [29/Aug/2011:16:26:29 -0400] GET /favicon.ico HTTP/1.1 404 -

--


On Mon, Aug 29, 2011 at 3:07 PM, Priya Ram Prasad priya@gmail.comwrote:

 Hi,

 Add the plugin to eclipse\plugins and then run eclipse with -clean option.

 Can you send the error trace when you open localhost:8080 page ?

 thanks

 On Mon, Aug 29, 2011 at 1:32 PM, Pratibha S psund...@gmail.com wrote:

  Hi Priya,
 
  Thank you for the response. I started eclipse with -clean option. error
  remains the same.
  Tomcat version and home directory are configured in mongrel settings. How
  do
  I check plug-in is installed properly or not?
 
  Installed JRE is poiting to jdk directory.
 
  Regards,
 
  On Mon, Aug 29, 2011 at 12:09 PM, Priya Ram Prasad priya@gmail.com
  wrote:
 
   Hi,
  
   I don't think there is any problem with the tomcat.
  
   Did you add the plugin properly and started the eclipse with -clean
  option
   ?
  
   Check your Tomcat version and tomcat home directory in eclipse
  preference.
  
   Also whether your eclipse's installed JRE is pointing to jdk directory.
  
   Thanks,
   Priya
  
 



Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread André Warnier

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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org