wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Waiting for Tomcat to shut down Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Waiting for Tomcat to shut down" Watch "Waiting for Tomcat to shut down" New topic
Author

Waiting for Tomcat to shut down

Joshan Chetri
Greenhorn

Joined: Sep 10, 2011
Posts: 2
I am using NetBeans IDE. After closing the IDE Tomcat server is not shutting down, instead a progress bar appears and says "Waiting for Tomcat". This goes forever ....

This started happening after i reconfigured my firewall (iptables).

#rules of firewall

iptables -P INPUT DROP # Input Policy
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT


# LO ( setting Input Chain rules for loopback interface)

iptables -A INPUT -i lo -p tcp --dport 8084 -j ACCEPT # accepting everything coming to port 8084 (for tomcat). Earlier this line was to accept all the traffic on localhost (iptables -A INPUT -i lo -j ACCEPT



I want to know what other port i have to enable to solve the prob !!


After all this is a small world !!
Karthik Shiraly
Ranch Hand

Joined: Apr 04, 2009
Posts: 489
    
    5
Open Tomcat server.xml and see the port number for the root <server> element. It'll be something like
<Server port="8005" shutdown="SHUTDOWN">
That's the port on which tomcat accepts a shutdown command.
Joshan Chetri
Greenhorn

Joined: Sep 10, 2011
Posts: 2
thanks !!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Waiting for Tomcat to shut down
 
Similar Threads
Apache prox to tomcat image problems
ServerSocket IP address?
can't connect to server via socket
Facing problem while accessing tomcat on a dedicated hosting Linux server
Cannot Connect to Tomcat Externally