aspose file tools*
The moose likes Tomcat and the fly likes Tomcat Not Accessible Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Not Accessible" Watch "Tomcat Not Accessible" New topic
Author

Tomcat Not Accessible

Samir Parmar
Greenhorn

Joined: Mar 12, 2013
Posts: 2
Hello
We have a deployment of Business Objects XIR3.1 running on TOMCAT 5.5.20 as web/application server. Yesterday the users lost connection to the application. I have restarted the TOMCAT service and rebooted the machine but I still cannot access the application. TomCat is running on Windows 2008 R2 VM server. I have checked the TomCat logs and there is nothing out of the ordinary. All I get is some couple of standard errors on the log file. What I have noticed is that I cannot get to the Tomcat homepage from within the server where the TomCat is installed by using http://localhost:8080
or by using http://[servername]:8080.
I do not get an error message but the request for the page keeps on going to no end. All it shows is Waiting for the [servername].
I really need help as I am under tremendous pressure to resolve the issue.

Thanks!
Samir
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

Check for any firewall based exceptions that need to be defined. Both inbound and outbound.


Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
Samir Parmar
Greenhorn

Joined: Mar 12, 2013
Posts: 2
Hi Saif

Thanks for the response.I have checked there is no firewall setup on the server. Is there anything I can look into.

Thanks!
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

One thing that is puzzling me is that you mentioned that the users lost connection to the application abruptly and even on tomcat and machine reboot , your unable to see the tomcat home page.

Did you see the logs of the exact time when the server stopped entertaining connections ?

Also double check the catalina logs and any other external logs ( if configured ) to see that the tomcat startup was normal. At the moment I am thinking that there be an exception like this



Do post back for further queries .
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

There can be multiple reasons why tomcat is not responding to connections
1) child container faliure
2) permgen out of memory ( but it should have worked on re-boot )

There has to be something in the logs that will point us in the right direction.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12783
    
    5
Another possible reason for a running Tomcat failing to connect - all available request Threads are in use.

If this was my problem I would use the Management app to look at the status of request Threads. (Obviously this has to be done while users are still getting through. You may see an accumulation of very long running request threads.)

Bill
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

all available request Threads are in use.


Wouldn't a restart of the tomcat service solved this issue ? He even mentioned that he re-booted the machine completely , this would have solved the threading issue .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Not Accessible