java
Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-04-2009, 00:14
manishrathi manishrathi is offline
Junior Member
 
Join Date: Apr 2009
Posts: 5
Default tomcat not working

I have set up tomcat on windows xp pro sp2 as below

<Server port="8005" shutdown="SHUTDOWN">

<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="8080" maxHttpHeaderSize="8192"........./>

Now when I run the "http://localhost:8080", I get an error essage "Internet Explorer cannot display the webpage "

I have looked around and did lot of reading but can not figure out. Tomcat service is started.

what is wrong in here ?

When I start tomcat service from "services" console, it starts. But when I try to start it from "C:\Program Files\apache-tomcat-5.5.27\bin>startup " , it does not start and command stops running at "INFO : Server start up in 8032 ms"

Why is it so ?

Last edited by manishrathi; 10-04-2009 at 00:18.
Reply With Quote
  #2  
Old 10-04-2009, 08:47
Kees de Kooter Kees de Kooter is offline
Moderator
 
Join Date: Jul 2008
Location: Rotterdam
Posts: 197
Default

"Server start up in 8032 ms" means tomcat has succesfully started.

The reason why you get an IE error probably means there is no default application installed.
__________________
Kees
moderator Tomcat Administration forum
Reply With Quote
  #3  
Old 10-04-2009, 11:34
kjkoster kjkoster is offline
Forum Operator
 
Join Date: Jul 2008
Posts: 1,123
Default

Dear manishrathi,

What may help is to switch off IE's "friendly error messages" somewhere in the advanced options. They are friendly only to my mom, not to developers trying to get some work done. That will give you an exact error message.

Also, check that Tomcat is listening on port 8080.

Kees Jan

Last edited by kjkoster; 19-04-2009 at 18:59.
Reply With Quote
  #4  
Old 10-04-2009, 15:54
manishrathi manishrathi is offline
Junior Member
 
Join Date: Apr 2009
Posts: 5
Default

How to get default application installed. I did not have this problem before ?
I just did a fresh download and installed it. Default application shd be automatically installed as I did not have to install anything before to get default tomcat page.
If tomcat is starting successfully then it should show started in "services" console. But in "services"console tomcat does not show started.

I did turn off IE friendly error messages, but still I am getting same error message, why is that ?

thanks
Reply With Quote
  #5  
Old 19-04-2009, 19:05
kjkoster kjkoster is offline
Forum Operator
 
Join Date: Jul 2008
Posts: 1,123
Default

Dear manishrathi,

Check out this discussion on how to check that Tomcat is actually running and listening on the specified port: http://java-monitor.com/forum/showthread.php?t=22

Also, try starting and stopping Tomcat manually to verify that it works. I am not a Windows man, so I cannot help you with Windows services.

Kees Jan
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump