• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Tomcat problem

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi EveryOne,
This is my first post in this forum.I don't know whether this is write is correct section to my post.sorry for that.
Coming to my problem.I am using Tomcat5.5 from so many days.I didn't face any problems with it.I could run my web applications using this till yesterday.
But when i tried it tomorrow, i started tomcat and i got message like server startup in 187ms and after that when i type the url http://localhost:8080/ on my browser i am getting a message "waiting for localhost.. " on my browser status bar more than 5 minutes. Finally i got connection time out message .

what's wrong with my tomcat.Can any one please help me..

Thanks in advance.
sirisha.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
187ms is pretty fast for a server startup so that doesn't seem like a problem.

Without knowing more about what your app is doing it would be impossible to say what the problem is. Do you any type of logging in your app?
Have you looked at the logs generated by Tomcat to see what the problem might be?
 
sirisha kukunuri
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ben Souther for quick reply,
Actually i wasn't trying to run any application..i just gave url like http://localhost:8080/ to make sure tomcat is working fine or not.
And even when i tried with http://localhost:8080/strutsApplication i am getting same problem.which was worked fine yesterday.
And one more thing my browser is Mozilla Firefox.
Any one please give me some help..
Thanks,
sirisha.
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Just try the following steps:

1. Check the Container Logs..They will tell you where you are going wrong.Tomcat logs directory is present in <TOMCAT-INSTALL-DIRECTORY>/logs

2. ARE you using a script to start your container or is does it start as a service.If Your OS is Windows you can use the standalone installation of Tomcat that runs as a windows service.

Anyways that doesn't have any relationship with the problem and its up to you tco choose.

3.It might be possible that you might be have conflicts with the Port 8080.
Long time back i faced the same problem.In case nothing works just open the server.xml file located in <TOMCAT-INSTALL-DIRECTORY>/\conf path.Change the Port to some other value say 8111. and try restarting Tomcat..

I hope this works for you.
You can use the commmand netstat -ao on the command line to check the ports you are listening to .
 
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic