| 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: 364
|
|
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 !!
|
 |
 |
|
|
subject: Waiting for Tomcat to shut down
|
|
|