This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes tomcat5, server not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat5, server not found" Watch "tomcat5, server not found" New topic
Author

tomcat5, server not found

Rabi Tumpa
Greenhorn

Joined: Oct 06, 2005
Posts: 9
Hi,
I have copied 2 zip folders for tomcat5 and compat, I have sdk1.4.
I can start the server but
when I am doing http://localhost/ or http://localhost:8080/ , i am getting error "server or DNS not found".

Can someone help please!!
-------------
some more info for the problem.
Mine is windows-xp(pro).

I tried with 127.0...in the browser but getting the same error.
----
Bill,
I strted the server from cmd promt, and all the msg i could see in the cmd prompt. I have checked the log also. It says server started.
Even, I have compared my log with one of my friends, for whom Tomcat is working fine, they look exactly same.
My guess, it has to do with browser settings, but don know how to verify that. Or how to find what is not appropriate for tomcat.
My brower is ie, windows-xp(pro);
I also tried using FireFox(brower) but there also I get the error.


Thanks.

[ November 15, 2005: Message edited by: Rabi Tumpa ]

[ November 16, 2005: Message edited by: Rabi Tumpa ]
[ November 16, 2005: Message edited by: Rabi Tumpa ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12756
    
    5
1. How are you starting the server? Hint, open a command prompt, navigate the the Tomcat bin directory and run the startup.bat command. Do not try to start it by doubleclicking startup.bat, you lose information that way.
2. Why are you sure Tomcat is running at all - does it show up in the Task Manager? It may be starting and immediately stopping.
3. Which operating system? If Win98 you have to make environment space change.
Bill
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

If none of these work, try "127.0.0.1" instead of "localhost". Not all machines are configured to recognize that as an alias for the local machine.


[Jess in Action][AskingGoodQuestions]
Rabi Tumpa
Greenhorn

Joined: Oct 06, 2005
Posts: 9
some more info for the problem.
Mine is windows-xp(pro).

I tried with 127.0...in the browser but getting the same error.

Rabi.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by William Brogden:
1. How are you starting the server? Hint, open a command prompt, navigate the the Tomcat bin directory and run the startup.bat command. Do not try to start it by doubleclicking startup.bat, you lose information that way.
2. Why are you sure Tomcat is running at all - does it show up in the Task Manager? It may be starting and immediately stopping.
3. Which operating system? If Win98 you have to make environment space change.
Bill


Rabi,
You should try to answer all of the questions asked of you by the people trying to help you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Rabi Tumpa
Greenhorn

Joined: Oct 06, 2005
Posts: 9
Hey Bill,
Here are the answers again.
I strted the server from cmd promt, and all the msg i could see in the cmd prompt. I have checked the log also. It says server started.
Even, I have compared my log with one of my friends, for whom Tomcat is working fine, they look exactly same.
My guess, it has to do with browser settings, but don know how to verify that. Or how to find what is not appropriate for tomcat.
My brower is ie, windows-xp(pro);
I also tried using FireFox(brower) but there also I get the error.


Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12756
    
    5
Does Tomcat show up as a java.exe process running in the Windows Task Manager?
Rabi Tumpa
Greenhorn

Joined: Oct 06, 2005
Posts: 9
Hi Guys,
problem solved!
I had to disable nortan antvirus and then call for http://localhost/...

My friend Rajan P helped me to get this resolved.

Thanks to everyone who took their time to think about it.

Thanks!
 
 
subject: tomcat5, server not found
 
Similar Threads
compiling and deploying into Tomcat
Tomcat Page cannot be displayed
why getting 404 error? page is there.
Orion 2.0.2 Installation on WinXP - JDK1.4.2
Problem installing Tomcat 5.5 on Windows XP