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.
Then open command prompt to check the status of ports.
All the ports were fine but one process was unable to stop. So I killed the process forcefully.
Now started Glassfish again and WOW, Glassfish started working perfectly!!!
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.
All the ports were fine but one process was unable to stop. So I killed the process forcefully.
Now started Glassfish again and WOW, Glassfish started working perfectly!!!
No comments:
Post a Comment