Unable to connect to tomcat through browser

Thread Solved

Join Date: May 2009
Posts: 4
Reputation: deepak.marur is an unknown quantity at this point 
Solved Threads: 1
deepak.marur deepak.marur is offline Offline
Newbie Poster

Unable to connect to tomcat through browser

 
0
  #1
Oct 25th, 2009
I have tomcat 6.0.18 running on my laptop. Tomcat is installed under my /home/xxx/bin directory. However, after I start tomcat, I'm unable to connect to tomcat through my browser but my eclipse is able to do so. I do not get any error message, the browser just keeps on trying.

I've reached a dead end trying to resolve this. Any ideas, anybody ??
Last edited by deepak.marur; Oct 25th, 2009 at 4:02 am. Reason: give more info on issue
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 114
Reputation: ejosiah is an unknown quantity at this point 
Solved Threads: 12
ejosiah's Avatar
ejosiah ejosiah is offline Offline
Junior Poster
 
0
  #2
34 Days Ago
in your tomcat home directory check the logs folder you should find log files in there, see if you can find any answers in there
Knowledge is power but love conquers all
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,191
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 485
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer
 
-1
  #3
34 Days Ago
If Tomcat been installed through IDE it may have assign different port then 8080 or 80. Check it with server.xml file that is inside conf folder of your Tomcat directory
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 4
Reputation: deepak.marur is an unknown quantity at this point 
Solved Threads: 1
deepak.marur deepak.marur is offline Offline
Newbie Poster
 
0
  #4
33 Days Ago
Thanks a lot. catalina.out gave me the clue. The error was in tomcat-users.xml. The user and role element did not have the closing forward slash /. This is surprising, since this is a fresh install of Tomcat. Anyways I'm now able to see the tomcat index page.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC