Can anyone tell me how to kill a Glassfish instance using the port 4848 and 8080.
I installed Glassfish, and found that the Glassfish installation isn't working properly, so deleted all the Glassfish files from my ubuntu machine with stopping the Glassfish server (./asadmin stop-domain).
Now I downloaded other Glassfish version (nightly build 5.0, because JDBC MySQL doesn't work) and tried to start the server (./asadmin start-domain). I get the following error.
There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server.
Right-click the GlassFish Server instance and select Start. To stop the GlassFish Server using NetBeans IDE, right-click the GlassFish Server instance and select Stop.
For Microsoft Windows, you can use an alternate method to stop a domain. From the Start menu, select the command for your distribution of GlassFish Server: If you are using the Full Platform, select Programs -> Oracle GlassFish Server -> Stop Admin Server.
In the Services window, expand the Servers node.If a green arrow icon appears on the GlassFish V2 node, the server is running.
Can anyone tell me how to kill a Glassfish instance using the port 4848 and 8080.
There is probably running only one instance of Glassfish on this ports, but you can kill it like this:
pkill -f glassfish
If you don't have a root shell you might have to use sudo
in front of the cmd.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With