Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Tuesday, July 15, 2014

Command Prompt: searching port status and killing a process

Today, while working with Glassfish server, I encounted a weird issue that I restarted Glassfish server but Glassfish failed to start and the most annoying thing was, I found nothing in it's logs. Tried to restart Glassfish from windows service several time but all in vain.
Then I tried to check all the ports used in Glassfish. Ports used by Glassfish can be checked from domain.xml file. Search "http-listner" and make a list of ports.



   http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="__asadmin" enabled="true" family="inet" id="admin-listener" port="14848" security-enabled="false" server-name="" xpowered-by="true" 

Then open command prompt to check the status of ports.
Command Prompt: searching port status and killing a process

All the ports were fine but one process was unable to stop. So I killed the process forcefully.
Command Prompt: searching port status and killing a process

Now started Glassfish again and WOW, Glassfish started working perfectly!!!

No comments:

Post a Comment